pub struct FormFieldValidator {
pub expression: Option<String>,
pub enabled: Option<bool>,
}
Expand description
FormFieldValidator :
Fields§
§expression: Option<String>
§enabled: Option<bool>
Implementations§
source§impl FormFieldValidator
impl FormFieldValidator
sourcepub fn new() -> FormFieldValidator
pub fn new() -> FormFieldValidator
Trait Implementations§
source§impl Clone for FormFieldValidator
impl Clone for FormFieldValidator
source§fn clone(&self) -> FormFieldValidator
fn clone(&self) -> FormFieldValidator
Returns a copy 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 FormFieldValidator
impl Debug for FormFieldValidator
source§impl Default for FormFieldValidator
impl Default for FormFieldValidator
source§fn default() -> FormFieldValidator
fn default() -> FormFieldValidator
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FormFieldValidator
impl<'de> Deserialize<'de> for FormFieldValidator
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 FormFieldValidator
impl PartialEq for FormFieldValidator
source§fn eq(&self, other: &FormFieldValidator) -> bool
fn eq(&self, other: &FormFieldValidator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FormFieldValidator
impl Serialize for FormFieldValidator
impl StructuralPartialEq for FormFieldValidator
Auto Trait Implementations§
impl RefUnwindSafe for FormFieldValidator
impl Send for FormFieldValidator
impl Sync for FormFieldValidator
impl Unpin for FormFieldValidator
impl UnwindSafe for FormFieldValidator
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