Enum ruma_client_api::r0::session::login::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).
Third party identifier (as part of the ‘identifier’ field).
Show fields
Same as third-party identification with medium == msisdn, but with a non-canonicalised phone number.
Show fields
Trait Implementations
impl Debug for IncomingUserIdentifier
[src]
impl Debug for IncomingUserIdentifier
[src]impl<'de> Deserialize<'de> for IncomingUserIdentifier
[src]
impl<'de> Deserialize<'de> for IncomingUserIdentifier
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,