Enum ruma_client_api::r0::session::login::IncomingLoginInfo [−][src]
pub enum IncomingLoginInfo {
Password {
identifier: IncomingUserIdentifier,
password: String,
},
Token {
token: String,
},
}Expand description
‘Incoming’ variant of LoginInfo.
Variants
Expand description
An identifier and password are supplied to authenticate.
Show fields
Fields of Password
identifier: IncomingUserIdentifierExpand description
Identification information for the user.
password: StringExpand description
The password.
Expand description
Token-based login.
Show fields
Fields of Token
token: StringExpand description
The token.
Trait Implementations
impl Debug for IncomingLoginInfo[src]
impl Debug for IncomingLoginInfo[src]impl<'de> Deserialize<'de> for IncomingLoginInfo[src]
impl<'de> Deserialize<'de> for IncomingLoginInfo[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 IncomingLoginInfo
impl Send for IncomingLoginInfo
impl Sync for IncomingLoginInfo
impl Unpin for IncomingLoginInfo
impl UnwindSafe for IncomingLoginInfo
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>,