pub struct SecureFieldDef {
pub name: String,
pub field_type: FieldType,
pub security: Option<FieldSecurity>,
pub default: Option<String>,
}Expand description
Enhanced field definition with security modifiers.
Extends the basic FieldDef with optional security configuration.
Fields§
§name: StringField name
field_type: FieldTypeField type
security: Option<FieldSecurity>Security configuration (optional)
default: Option<String>Default value (if any)
Trait Implementations§
Source§impl Clone for SecureFieldDef
impl Clone for SecureFieldDef
Source§fn clone(&self) -> SecureFieldDef
fn clone(&self) -> SecureFieldDef
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 SecureFieldDef
impl Debug for SecureFieldDef
Source§impl<'de> Deserialize<'de> for SecureFieldDef
impl<'de> Deserialize<'de> for SecureFieldDef
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 SecureFieldDef
impl PartialEq for SecureFieldDef
Source§impl Serialize for SecureFieldDef
impl Serialize for SecureFieldDef
impl StructuralPartialEq for SecureFieldDef
Auto Trait Implementations§
impl Freeze for SecureFieldDef
impl RefUnwindSafe for SecureFieldDef
impl Send for SecureFieldDef
impl Sync for SecureFieldDef
impl Unpin for SecureFieldDef
impl UnwindSafe for SecureFieldDef
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