pub struct CompiledFieldSecurity {
pub classification: CompiledPIIClassification,
pub opaque: bool,
pub immutable: bool,
pub audited: bool,
pub redact_in_logs: bool,
pub env_source: Option<String>,
}Expand description
Compiled field security configuration.
Fields§
§classification: CompiledPIIClassificationSensitivity classification
opaque: boolAgent can pass but not read content
immutable: boolCannot be modified after creation
audited: boolAll access is logged
redact_in_logs: boolRedact in logs and error messages
env_source: Option<String>Source from environment variable
Trait Implementations§
Source§impl Clone for CompiledFieldSecurity
impl Clone for CompiledFieldSecurity
Source§fn clone(&self) -> CompiledFieldSecurity
fn clone(&self) -> CompiledFieldSecurity
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 CompiledFieldSecurity
impl Debug for CompiledFieldSecurity
Source§impl<'de> Deserialize<'de> for CompiledFieldSecurity
impl<'de> Deserialize<'de> for CompiledFieldSecurity
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 CompiledFieldSecurity
impl PartialEq for CompiledFieldSecurity
Source§impl Serialize for CompiledFieldSecurity
impl Serialize for CompiledFieldSecurity
impl StructuralPartialEq for CompiledFieldSecurity
Auto Trait Implementations§
impl Freeze for CompiledFieldSecurity
impl RefUnwindSafe for CompiledFieldSecurity
impl Send for CompiledFieldSecurity
impl Sync for CompiledFieldSecurity
impl Unpin for CompiledFieldSecurity
impl UnwindSafe for CompiledFieldSecurity
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