pub struct AuthenticationConfig {
pub password: Option<AuthConfigPassword>,
pub oauth: Option<AuthConfigOauth>,
pub cluster_auth_ref: Option<AuthConfigRef>,
}
Fields§
§password: Option<AuthConfigPassword>
§oauth: Option<AuthConfigOauth>
§cluster_auth_ref: Option<AuthConfigRef>
Implementations§
Source§impl AuthenticationConfig
impl AuthenticationConfig
pub fn new() -> AuthenticationConfig
Trait Implementations§
Source§impl Clone for AuthenticationConfig
impl Clone for AuthenticationConfig
Source§fn clone(&self) -> AuthenticationConfig
fn clone(&self) -> AuthenticationConfig
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 AuthenticationConfig
impl Debug for AuthenticationConfig
Source§impl<'de> Deserialize<'de> for AuthenticationConfig
impl<'de> Deserialize<'de> for AuthenticationConfig
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 AuthenticationConfig
impl PartialEq for AuthenticationConfig
Source§impl Serialize for AuthenticationConfig
impl Serialize for AuthenticationConfig
impl StructuralPartialEq for AuthenticationConfig
Auto Trait Implementations§
impl Freeze for AuthenticationConfig
impl RefUnwindSafe for AuthenticationConfig
impl Send for AuthenticationConfig
impl Sync for AuthenticationConfig
impl Unpin for AuthenticationConfig
impl UnwindSafe for AuthenticationConfig
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