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