pub struct MemberEntry {
pub label: String,
pub role: Role,
pub sign_keys: Vec<PublicKey>,
pub age_recipients: Vec<String>,
}Expand description
One member of a roster: a label, a role, signing keys and age recipients.
Fields§
§label: String§role: Role§sign_keys: Vec<PublicKey>§age_recipients: Vec<String>Implementations§
Source§impl MemberEntry
impl MemberEntry
Sourcepub fn from_descriptor(
label: &str,
role: Role,
descriptor: &MemberDescriptor,
) -> Result<Self>
pub fn from_descriptor( label: &str, role: Role, descriptor: &MemberDescriptor, ) -> Result<Self>
A member with the one key pair that a descriptor carries.
Trait Implementations§
Source§impl Clone for MemberEntry
impl Clone for MemberEntry
Source§impl Debug for MemberEntry
impl Debug for MemberEntry
impl Eq for MemberEntry
Source§impl PartialEq for MemberEntry
impl PartialEq for MemberEntry
impl StructuralPartialEq for MemberEntry
Auto Trait Implementations§
impl Forget for MemberEntry
impl Freeze for MemberEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<[u8; 32]>: Freeze,
PhantomData<String>: Freeze,
impl Move for MemberEntry
impl RefUnwindSafe for MemberEntry
impl Send for MemberEntrywhere
RawVecInner: Send,
impl Sync for MemberEntrywhere
RawVecInner: Sync,
impl Unpin for MemberEntry
impl UnsafeUnpin for MemberEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<[u8; 32]>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MemberEntrywhere
RawVecInner: UnwindSafe,
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