pub struct SecurityConfig {
pub encryption_enabled: bool,
pub access_control_enabled: bool,
pub audit_logging_enabled: bool,
pub lineage_tracking_enabled: bool,
pub multitenancy_enabled: bool,
}Expand description
Security configuration.
Fields§
§encryption_enabled: boolEnable encryption.
access_control_enabled: boolEnable access control.
audit_logging_enabled: boolEnable audit logging.
lineage_tracking_enabled: boolEnable lineage tracking.
multitenancy_enabled: boolEnable multi-tenancy.
Implementations§
Source§impl SecurityConfig
impl SecurityConfig
Sourcepub fn with_encryption(self, enabled: bool) -> Self
pub fn with_encryption(self, enabled: bool) -> Self
Enable encryption.
Sourcepub fn with_access_control(self, enabled: bool) -> Self
pub fn with_access_control(self, enabled: bool) -> Self
Enable access control.
Sourcepub fn with_audit_logging(self, enabled: bool) -> Self
pub fn with_audit_logging(self, enabled: bool) -> Self
Enable audit logging.
Sourcepub fn with_lineage_tracking(self, enabled: bool) -> Self
pub fn with_lineage_tracking(self, enabled: bool) -> Self
Enable lineage tracking.
Sourcepub fn with_multitenancy(self, enabled: bool) -> Self
pub fn with_multitenancy(self, enabled: bool) -> Self
Enable multi-tenancy.
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
Auto Trait Implementations§
impl Freeze for SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more