pub struct CreateAuthTokenConfig {
pub http_options: Option<HttpOptions>,
pub expire_time: Option<String>,
pub new_session_expire_time: Option<String>,
pub uses: Option<i32>,
pub live_connect_constraints: Option<LiveConnectConstraints>,
pub lock_additional_fields: Option<Vec<String>>,
}Expand description
Create auth token config.
Fields§
§http_options: Option<HttpOptions>Optional. HTTP request overrides (SDK only, not sent to API).
expire_time: Option<String>Optional. Absolute expire time (RFC3339).
new_session_expire_time: Option<String>Optional. Reject new sessions after this time (RFC3339).
uses: Option<i32>Optional. Max usage count. Zero means unlimited.
live_connect_constraints: Option<LiveConnectConstraints>Optional. Live API constraints locked into the token.
lock_additional_fields: Option<Vec<String>>Optional. Additional fields to lock in field mask.
Trait Implementations§
Source§impl Clone for CreateAuthTokenConfig
impl Clone for CreateAuthTokenConfig
Source§fn clone(&self) -> CreateAuthTokenConfig
fn clone(&self) -> CreateAuthTokenConfig
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 CreateAuthTokenConfig
impl Debug for CreateAuthTokenConfig
Source§impl Default for CreateAuthTokenConfig
impl Default for CreateAuthTokenConfig
Source§fn default() -> CreateAuthTokenConfig
fn default() -> CreateAuthTokenConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateAuthTokenConfig
impl<'de> Deserialize<'de> for CreateAuthTokenConfig
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
Auto Trait Implementations§
impl Freeze for CreateAuthTokenConfig
impl RefUnwindSafe for CreateAuthTokenConfig
impl Send for CreateAuthTokenConfig
impl Sync for CreateAuthTokenConfig
impl Unpin for CreateAuthTokenConfig
impl UnsafeUnpin for CreateAuthTokenConfig
impl UnwindSafe for CreateAuthTokenConfig
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