pub struct TokenLoginType {
pub get_login_token: bool,
}
Available on crate features
client
or server
only.Expand description
The payload for token-based login.
Fields§
§get_login_token: bool
Whether the homeserver supports the POST /login/get_token
endpoint.
Implementations§
Trait Implementations§
Source§impl Clone for TokenLoginType
impl Clone for TokenLoginType
Source§fn clone(&self) -> TokenLoginType
fn clone(&self) -> TokenLoginType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TokenLoginType
impl Debug for TokenLoginType
Source§impl Default for TokenLoginType
impl Default for TokenLoginType
Source§fn default() -> TokenLoginType
fn default() -> TokenLoginType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TokenLoginType
impl<'de> Deserialize<'de> for TokenLoginType
Source§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 Freeze for TokenLoginType
impl RefUnwindSafe for TokenLoginType
impl Send for TokenLoginType
impl Sync for TokenLoginType
impl Unpin for TokenLoginType
impl UnwindSafe for TokenLoginType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more