pub struct GoogleFirebaseAppcheckV1betaAttestationTokenResponse {
pub attestation_token: Option<String>,
pub ttl: Option<Duration>,
}Expand description
Encapsulates an App Check token, which are used to access Firebase services protected by App Check.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attestation_token: Option<String>An App Check token. App Check tokens are signed JWTs containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check.
ttl: Option<Duration>The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.
Trait Implementations§
Source§impl Clone for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl Clone for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Source§fn clone(&self) -> GoogleFirebaseAppcheckV1betaAttestationTokenResponse
fn clone(&self) -> GoogleFirebaseAppcheckV1betaAttestationTokenResponse
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 Default for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl Default for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Source§fn default() -> GoogleFirebaseAppcheckV1betaAttestationTokenResponse
fn default() -> GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl<'de> Deserialize<'de> for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
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
impl Part for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Auto Trait Implementations§
impl Freeze for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl RefUnwindSafe for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl Send for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl Sync for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl Unpin for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
impl UnwindSafe for GoogleFirebaseAppcheckV1betaAttestationTokenResponse
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