#[non_exhaustive]pub struct SecurityConfig {
pub kerberos_config: Option<KerberosConfig>,
pub identity_config: Option<IdentityConfig>,
/* private fields */
}Expand description
Security related configuration, including encryption, Kerberos, etc.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kerberos_config: Option<KerberosConfig>Optional. Kerberos related configuration.
identity_config: Option<IdentityConfig>Optional. Identity related configuration, including service account based secure multi-tenancy user mappings.
Implementations§
Source§impl SecurityConfig
impl SecurityConfig
pub fn new() -> Self
Sourcepub fn set_kerberos_config<T>(self, v: T) -> Selfwhere
T: Into<KerberosConfig>,
pub fn set_kerberos_config<T>(self, v: T) -> Selfwhere
T: Into<KerberosConfig>,
Sets the value of kerberos_config.
Sourcepub fn set_or_clear_kerberos_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<KerberosConfig>,
pub fn set_or_clear_kerberos_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<KerberosConfig>,
Sets or clears the value of kerberos_config.
Sourcepub fn set_identity_config<T>(self, v: T) -> Selfwhere
T: Into<IdentityConfig>,
pub fn set_identity_config<T>(self, v: T) -> Selfwhere
T: Into<IdentityConfig>,
Sets the value of identity_config.
Sourcepub fn set_or_clear_identity_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IdentityConfig>,
pub fn set_or_clear_identity_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IdentityConfig>,
Sets or clears the value of identity_config.
Trait Implementations§
Source§impl Clone for SecurityConfig
impl Clone for SecurityConfig
Source§fn clone(&self) -> SecurityConfig
fn clone(&self) -> SecurityConfig
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 SecurityConfig
impl Debug for SecurityConfig
Source§impl Default for SecurityConfig
impl Default for SecurityConfig
Source§fn default() -> SecurityConfig
fn default() -> SecurityConfig
Returns the “default value” for a type. Read more
Source§impl Message for SecurityConfig
impl Message for SecurityConfig
Source§impl PartialEq for SecurityConfig
impl PartialEq for SecurityConfig
impl StructuralPartialEq for SecurityConfig
Auto Trait Implementations§
impl Freeze for SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnwindSafe for SecurityConfig
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