pub struct FixedDatabaseSecurity {
pub default_user_enabled: Option<bool>,
pub ssl_client_authentication: Option<bool>,
pub tls_client_authentication: Option<bool>,
pub enable_tls: Option<bool>,
pub source_ips: Option<Vec<String>>,
pub password: Option<String>,
}Expand description
Security configuration returned within a FixedDatabase read response
(nested security object).
Fields§
§default_user_enabled: Option<bool>Whether the default Redis user is enabled.
ssl_client_authentication: Option<bool>Whether SSL client authentication is enabled.
tls_client_authentication: Option<bool>Whether TLS client authentication is enabled.
enable_tls: Option<bool>Whether TLS is enabled for connections.
source_ips: Option<Vec<String>>Source IP addresses / CIDR blocks allowed to connect.
password: Option<String>Database password (masked in responses).
Trait Implementations§
Source§impl Clone for FixedDatabaseSecurity
impl Clone for FixedDatabaseSecurity
Source§fn clone(&self) -> FixedDatabaseSecurity
fn clone(&self) -> FixedDatabaseSecurity
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 Debug for FixedDatabaseSecurity
impl Debug for FixedDatabaseSecurity
Source§impl<'de> Deserialize<'de> for FixedDatabaseSecurity
impl<'de> Deserialize<'de> for FixedDatabaseSecurity
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
Auto Trait Implementations§
impl Freeze for FixedDatabaseSecurity
impl RefUnwindSafe for FixedDatabaseSecurity
impl Send for FixedDatabaseSecurity
impl Sync for FixedDatabaseSecurity
impl Unpin for FixedDatabaseSecurity
impl UnsafeUnpin for FixedDatabaseSecurity
impl UnwindSafe for FixedDatabaseSecurity
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