pub struct KeyCopyPrefix {
pub audience: Audience,
pub key: KeyId,
pub member: MemberId,
pub sealing: SealingKey,
}Expand description
Routing authenticated by the anonymous box and the enclosing slot signature.
Fields§
§audience: AudienceThe copied key’s audience.
key: KeyIdThe introduced key’s identity.
member: MemberIdThe recipient’s stable identity.
sealing: SealingKeyThe exact historical sealing credential used for this copy.
Implementations§
Source§impl KeyCopyPrefix
impl KeyCopyPrefix
Sourcepub fn held_by(&self, member: &MemberIdentity) -> bool
pub fn held_by(&self, member: &MemberIdentity) -> bool
Whether a held historical private credential can open the box.
Trait Implementations§
Source§impl Clone for KeyCopyPrefix
impl Clone for KeyCopyPrefix
Source§fn clone(&self) -> KeyCopyPrefix
fn clone(&self) -> KeyCopyPrefix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyCopyPrefix
impl Debug for KeyCopyPrefix
Source§impl PartialEq for KeyCopyPrefix
impl PartialEq for KeyCopyPrefix
impl Eq for KeyCopyPrefix
impl StructuralPartialEq for KeyCopyPrefix
Auto Trait Implementations§
impl Freeze for KeyCopyPrefix
impl RefUnwindSafe for KeyCopyPrefix
impl Send for KeyCopyPrefix
impl Sync for KeyCopyPrefix
impl Unpin for KeyCopyPrefix
impl UnsafeUnpin for KeyCopyPrefix
impl UnwindSafe for KeyCopyPrefix
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more