pub struct IdentityRecord {
pub user: PortableUserId,
pub genesis: Option<IdentityGenesis>,
pub state: Option<PortableIdentityState>,
}Expand description
What a device or server keeps of an identity to check it, and hands on so another can: its genesis, absent for a phrase identity (its one root is its id), and its newest state, if any. Recovery with a root needs it from anywhere that has it.
Fields§
§user: PortableUserId§genesis: Option<IdentityGenesis>§state: Option<PortableIdentityState>Trait Implementations§
Source§impl Clone for IdentityRecord
impl Clone for IdentityRecord
Source§impl Debug for IdentityRecord
impl Debug for IdentityRecord
Source§impl<'de> Deserialize<'de> for IdentityRecord
impl<'de> Deserialize<'de> for IdentityRecord
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 IdentityRecord
Source§impl PartialEq for IdentityRecord
impl PartialEq for IdentityRecord
Source§impl Serialize for IdentityRecord
impl Serialize for IdentityRecord
impl StructuralPartialEq for IdentityRecord
Auto Trait Implementations§
impl Freeze for IdentityRecord
impl RefUnwindSafe for IdentityRecord
impl Send for IdentityRecord
impl Sync for IdentityRecord
impl Unpin for IdentityRecord
impl UnsafeUnpin for IdentityRecord
impl UnwindSafe for IdentityRecord
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