pub struct PrincipalRef {
pub did: String,
}Expand description
A reference to a rights-bearing principal by identifier — a DID, kept as an identifier and never treated as an identity (a DID identifies; identity is a probabilistic fabric that must not collapse onto one identifier). Abstract here — the identity/guardianship layer resolves it.
Fields§
§did: StringA pairwise/contextual DID identifier. Not an identity, not a legal name.
Implementations§
Trait Implementations§
Source§impl Clone for PrincipalRef
impl Clone for PrincipalRef
Source§impl Debug for PrincipalRef
impl Debug for PrincipalRef
Source§impl<'de> Deserialize<'de> for PrincipalRef
impl<'de> Deserialize<'de> for PrincipalRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrincipalRef
Source§impl PartialEq for PrincipalRef
impl PartialEq for PrincipalRef
Source§impl Serialize for PrincipalRef
impl Serialize for PrincipalRef
impl StructuralPartialEq for PrincipalRef
Auto Trait Implementations§
impl Freeze for PrincipalRef
impl RefUnwindSafe for PrincipalRef
impl Send for PrincipalRef
impl Sync for PrincipalRef
impl Unpin for PrincipalRef
impl UnsafeUnpin for PrincipalRef
impl UnwindSafe for PrincipalRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more