pub struct LoginOutput {
pub access_token: String,
pub expires_at: Option<Option<i64>>,
pub two_factor_enabled: Option<Option<bool>>,
}Fields§
§access_token: String§expires_at: Option<Option<i64>>§two_factor_enabled: Option<Option<bool>>Implementations§
Source§impl LoginOutput
impl LoginOutput
pub fn new(access_token: String) -> LoginOutput
Trait Implementations§
Source§impl Clone for LoginOutput
impl Clone for LoginOutput
Source§fn clone(&self) -> LoginOutput
fn clone(&self) -> LoginOutput
Returns a duplicate 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 LoginOutput
impl Debug for LoginOutput
Source§impl Default for LoginOutput
impl Default for LoginOutput
Source§fn default() -> LoginOutput
fn default() -> LoginOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginOutput
impl<'de> Deserialize<'de> for LoginOutput
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
Source§impl PartialEq for LoginOutput
impl PartialEq for LoginOutput
Source§impl Serialize for LoginOutput
impl Serialize for LoginOutput
impl StructuralPartialEq for LoginOutput
Auto Trait Implementations§
impl Freeze for LoginOutput
impl RefUnwindSafe for LoginOutput
impl Send for LoginOutput
impl Sync for LoginOutput
impl Unpin for LoginOutput
impl UnwindSafe for LoginOutput
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