pub struct AuthConfigOauthConfig {
pub access_token: Option<String>,
pub service_account: Option<String>,
}Expand description
OAuth 认证配置。
Fields§
§access_token: Option<String>§service_account: Option<String>Trait Implementations§
Source§impl Clone for AuthConfigOauthConfig
impl Clone for AuthConfigOauthConfig
Source§fn clone(&self) -> AuthConfigOauthConfig
fn clone(&self) -> AuthConfigOauthConfig
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 AuthConfigOauthConfig
impl Debug for AuthConfigOauthConfig
Source§impl Default for AuthConfigOauthConfig
impl Default for AuthConfigOauthConfig
Source§fn default() -> AuthConfigOauthConfig
fn default() -> AuthConfigOauthConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthConfigOauthConfig
impl<'de> Deserialize<'de> for AuthConfigOauthConfig
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 AuthConfigOauthConfig
impl RefUnwindSafe for AuthConfigOauthConfig
impl Send for AuthConfigOauthConfig
impl Sync for AuthConfigOauthConfig
impl Unpin for AuthConfigOauthConfig
impl UnsafeUnpin for AuthConfigOauthConfig
impl UnwindSafe for AuthConfigOauthConfig
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