pub struct CardId { /* private fields */ }Expand description
An opaque card identifier.
Card identifiers support only equality and hashing. Compare
PermissionCard::id with PermissionCard::parents to follow the
derivation graph, or to find a card in the wallet. Formatting and serde
serialization show a redacted placeholder. A card identifier has no
constructor and no schema or wire codec, and it never grants authority.
Trait Implementations§
impl Eq for CardId
impl StructuralPartialEq for CardId
Auto Trait Implementations§
impl Freeze for CardId
impl RefUnwindSafe for CardId
impl Send for CardId
impl Sync for CardId
impl Unpin for CardId
impl UnsafeUnpin for CardId
impl UnwindSafe for CardId
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