pub struct GoogleOneTapAuthRequest {
pub credential: String,
pub device_label: Option<String>,
}Expand description
GoogleOneTapAuthRequest model.
Fields§
§credential: StringGoogle-signed JWT delivered by google.accounts.id to the GSI callback.
device_label: Option<String>Optional device name surfaced on the minted api_key for /me/sessions.
Trait Implementations§
Source§impl Clone for GoogleOneTapAuthRequest
impl Clone for GoogleOneTapAuthRequest
Source§fn clone(&self) -> GoogleOneTapAuthRequest
fn clone(&self) -> GoogleOneTapAuthRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoogleOneTapAuthRequest
impl Debug for GoogleOneTapAuthRequest
Source§impl Default for GoogleOneTapAuthRequest
impl Default for GoogleOneTapAuthRequest
Source§fn default() -> GoogleOneTapAuthRequest
fn default() -> GoogleOneTapAuthRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleOneTapAuthRequest
impl<'de> Deserialize<'de> for GoogleOneTapAuthRequest
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 GoogleOneTapAuthRequest
impl PartialEq for GoogleOneTapAuthRequest
Source§impl Serialize for GoogleOneTapAuthRequest
impl Serialize for GoogleOneTapAuthRequest
impl StructuralPartialEq for GoogleOneTapAuthRequest
Auto Trait Implementations§
impl Freeze for GoogleOneTapAuthRequest
impl RefUnwindSafe for GoogleOneTapAuthRequest
impl Send for GoogleOneTapAuthRequest
impl Sync for GoogleOneTapAuthRequest
impl Unpin for GoogleOneTapAuthRequest
impl UnsafeUnpin for GoogleOneTapAuthRequest
impl UnwindSafe for GoogleOneTapAuthRequest
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