pub struct Member {
pub handle: String,
pub did: String,
pub tier: GroupTier,
pub key_id: String,
pub key: String,
}Fields§
§handle: String§did: StringFull DID — the identity anchor. Binding the member to its DID (not just the display handle) blocks a handle-spoof: two members can’t collide on a handle, and a roster entry is pinned to one keypair.
tier: GroupTier§key_id: StringEd25519 key id (<handle>:<fp>). Part of the creator-signed roster so a
member can introduce-pin this member’s key on the creator’s vouch.
key: StringBase64 Ed25519 public key. The creator vouches for this binding via
creator_sig; members pin it (at bilateral UNTRUSTED) to verify this
member’s group messages without a direct SAS handshake.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
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 Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.