Struct matrix_sdk_crypto::ReadOnlyOwnUserIdentity [−][src]
pub struct ReadOnlyOwnUserIdentity { /* fields omitted */ }
Expand description
Struct representing a cross signing identity of our own user.
This is the user identity of our own user. This user identity will contain a master key, self signing key as well as a user signing key.
This identity can verify other identities as well as devices belonging to the identity.
Implementations
Get the public master key of the identity.
Get the public self-signing key of the identity.
Get the public user-signing key of the identity.
Mark our identity as verified.
Check if our identity is verified.
Trait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ReadOnlyOwnUserIdentity
impl Send for ReadOnlyOwnUserIdentity
impl Sync for ReadOnlyOwnUserIdentity
impl Unpin for ReadOnlyOwnUserIdentity
impl UnwindSafe for ReadOnlyOwnUserIdentity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more