Enum matrix_sdk_crypto::UserIdentities [−][src]
pub enum UserIdentities {
Own(OwnUserIdentity),
Other(UserIdentity),
}
Expand description
Enum over the different user identity types we can have.
Variants
Own(OwnUserIdentity)
Our own user identity.
Tuple Fields of Own
Other(UserIdentity)
An identity belonging to another user.
Tuple Fields of Other
0: UserIdentity
Implementations
Destructure the enum into an OwnUserIdentity
if it’s of the correct
type.
Destructure the enum into an UserIdentity
if it’s of the correct
type.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for UserIdentities
impl Send for UserIdentities
impl Sync for UserIdentities
impl Unpin for UserIdentities
impl !UnwindSafe for UserIdentities
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more