pub struct PublicAuthResponse {
pub access_token: String,
pub enabled_features: Option<Vec<String>>,
pub expires_in: i64,
pub google_login: Option<bool>,
pub mandatory_tfa_status: Option<String>,
pub refresh_token: String,
pub scope: String,
pub sid: Option<String>,
pub state: Option<String>,
pub token_type: PublicAuthResponseTokenType,
}Fields§
§access_token: String§enabled_features: Option<Vec<String>>§expires_in: i64§google_login: Option<bool>§mandatory_tfa_status: Option<String>§refresh_token: String§scope: String§sid: Option<String>§state: Option<String>§token_type: PublicAuthResponseTokenTypeTrait Implementations§
Source§impl Clone for PublicAuthResponse
impl Clone for PublicAuthResponse
Source§fn clone(&self) -> PublicAuthResponse
fn clone(&self) -> PublicAuthResponse
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 PublicAuthResponse
impl Debug for PublicAuthResponse
Source§impl Default for PublicAuthResponse
impl Default for PublicAuthResponse
Source§fn default() -> PublicAuthResponse
fn default() -> PublicAuthResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicAuthResponse
impl<'de> Deserialize<'de> for PublicAuthResponse
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 PublicAuthResponse
impl PartialEq for PublicAuthResponse
Source§impl Serialize for PublicAuthResponse
impl Serialize for PublicAuthResponse
impl StructuralPartialEq for PublicAuthResponse
Auto Trait Implementations§
impl Freeze for PublicAuthResponse
impl RefUnwindSafe for PublicAuthResponse
impl Send for PublicAuthResponse
impl Sync for PublicAuthResponse
impl Unpin for PublicAuthResponse
impl UnwindSafe for PublicAuthResponse
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