Enum ruma_client_api::r0::uiaa::IncomingUserIdentifier [−][src]
pub enum IncomingUserIdentifier {
MatrixId(String),
ThirdPartyId {
address: String,
medium: Medium,
},
PhoneNumber {
country: String,
phone: String,
},
}Expand description
‘Incoming’ variant of UserIdentifier.
Variants
MatrixId(String)Either a fully qualified Matrix user ID, or just the localpart (as part of the ‘identifier’ field).
Tuple Fields of MatrixId
0: StringThird party identifier (as part of the ‘identifier’ field).
Fields of ThirdPartyId
Same as third-party identification with medium == msisdn, but with a non-canonicalised phone number.
Fields of PhoneNumber
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
Auto Trait Implementations
impl RefUnwindSafe for IncomingUserIdentifier
impl Send for IncomingUserIdentifier
impl Sync for IncomingUserIdentifier
impl Unpin for IncomingUserIdentifier
impl UnwindSafe for IncomingUserIdentifier
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more