pub enum PartyRef {
Commitment([u8; 32]),
Subject(SubjectId),
}Expand description
Party reference - supports both privacy-preserving commitments and explicit subjects
Variants§
Commitment([u8; 32])
Privacy-preserving: BLAKE3 commitment of party identity
Subject(SubjectId)
Explicit subject ID (SRC-801) - only when party consents
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartyRef
impl<'de> Deserialize<'de> for PartyRef
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 PartyRef
impl StructuralPartialEq for PartyRef
Auto Trait Implementations§
impl Freeze for PartyRef
impl RefUnwindSafe for PartyRef
impl Send for PartyRef
impl Sync for PartyRef
impl Unpin for PartyRef
impl UnsafeUnpin for PartyRef
impl UnwindSafe for PartyRef
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