#[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: Into<Option<KerberosConfig>>>(self, v: T) -> Self
pub fn set_kerberos_config<T: Into<Option<KerberosConfig>>>(self, v: T) -> Self
Sets the value of kerberos_config.
Sourcepub fn set_identity_config<T: Into<Option<IdentityConfig>>>(self, v: T) -> Self
pub fn set_identity_config<T: Into<Option<IdentityConfig>>>(self, v: T) -> Self
Sets 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 copy 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<'de> Deserialize<'de> for SecurityConfigwhere
SecurityConfig: Default,
impl<'de> Deserialize<'de> for SecurityConfigwhere
SecurityConfig: Default,
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 Message for SecurityConfig
impl Message for SecurityConfig
Source§impl PartialEq for SecurityConfig
impl PartialEq for SecurityConfig
Source§impl Serialize for SecurityConfig
impl Serialize 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