Struct ruma_client_api::session::get_login_types::v3::TokenLoginType
source · [−]pub struct TokenLoginType {}
Available on crate features
client
or server
only.Expand description
The payload for token-based login.
Implementations
sourceimpl TokenLoginType
impl TokenLoginType
Trait Implementations
sourceimpl Clone for TokenLoginType
impl Clone for TokenLoginType
sourcefn clone(&self) -> TokenLoginType
fn clone(&self) -> TokenLoginType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TokenLoginType
impl Debug for TokenLoginType
sourceimpl Default for TokenLoginType
impl Default for TokenLoginType
sourcefn default() -> TokenLoginType
fn default() -> TokenLoginType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TokenLoginType
impl<'de> Deserialize<'de> for TokenLoginType
sourcefn 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
sourceimpl Serialize for TokenLoginType
impl Serialize for TokenLoginType
Auto Trait Implementations
impl RefUnwindSafe for TokenLoginType
impl Send for TokenLoginType
impl Sync for TokenLoginType
impl Unpin for TokenLoginType
impl UnwindSafe for TokenLoginType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more