pub struct FieldConfig {
pub name: String,
pub field_type: FieldType,
pub nullable: bool,
pub security: Option<CompiledFieldSecurity>,
}Expand description
Compiled field configuration.
Fields§
§name: String§field_type: FieldTypeField type (uses cellstate_core::FieldType).
nullable: bool§security: Option<CompiledFieldSecurity>Security configuration for PII fields.
Trait Implementations§
Source§impl Clone for FieldConfig
impl Clone for FieldConfig
Source§fn clone(&self) -> FieldConfig
fn clone(&self) -> FieldConfig
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 FieldConfig
impl Debug for FieldConfig
Source§impl<'de> Deserialize<'de> for FieldConfig
impl<'de> Deserialize<'de> for FieldConfig
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 FieldConfig
impl PartialEq for FieldConfig
Source§impl Serialize for FieldConfig
impl Serialize for FieldConfig
impl StructuralPartialEq for FieldConfig
Auto Trait Implementations§
impl Freeze for FieldConfig
impl RefUnwindSafe for FieldConfig
impl Send for FieldConfig
impl Sync for FieldConfig
impl Unpin for FieldConfig
impl UnwindSafe for FieldConfig
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