pub struct GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest {
pub custom_token: Option<String>,
pub limited_use: Option<bool>,
}Expand description
Request message for the ExchangeCustomToken method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- apps exchange custom token projects (request)
Fields§
§custom_token: Option<String>Required. A custom token signed using your project’s Admin SDK service account credentials.
limited_use: Option<bool>Specifies whether this attestation is for use in a limited use (true) or session based (false) context. To enable this attestation to be used with the replay protection feature, set this to true. The default value is false.
Trait Implementations§
Source§impl Clone for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl Clone for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
Source§fn clone(&self) -> GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
fn clone(&self) -> GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
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 GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl Default for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
Source§fn default() -> GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
fn default() -> GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl<'de> Deserialize<'de> for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
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 RequestValue for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
Auto Trait Implementations§
impl Freeze for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl RefUnwindSafe for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl Send for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl Sync for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl Unpin for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
impl UnwindSafe for GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
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