pub struct PersesConfigSecurityAuthenticationProvidersOauthDeviceCode {
pub client_id: String,
pub client_secret: Option<String>,
pub client_secret_file: Option<String>,
pub scopes: Vec<String>,
}Fields§
§client_id: StringHidden special type for storing secrets.
client_secret: Option<String>Hidden special type for storing secrets.
client_secret_file: Option<String>§scopes: Vec<String>Trait Implementations§
Source§impl Clone for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl Clone for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
Source§fn clone(&self) -> PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
fn clone(&self) -> PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
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 Default for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl Default for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
Source§fn default() -> PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
fn default() -> PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl<'de> Deserialize<'de> for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
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 PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl PartialEq for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
Source§fn eq(
&self,
other: &PersesConfigSecurityAuthenticationProvidersOauthDeviceCode,
) -> bool
fn eq( &self, other: &PersesConfigSecurityAuthenticationProvidersOauthDeviceCode, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
Auto Trait Implementations§
impl Freeze for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl RefUnwindSafe for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl Send for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl Sync for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl Unpin for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl UnsafeUnpin for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
impl UnwindSafe for PersesConfigSecurityAuthenticationProvidersOauthDeviceCode
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