pub enum ValidationType {
RequiredField {
field_path: String,
},
ValidEnum {
field_path: String,
allowed_values: Vec<String>,
},
RegexPattern {
field_path: String,
pattern: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ValidationType
impl Clone for ValidationType
Source§fn clone(&self) -> ValidationType
fn clone(&self) -> ValidationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValidationType
impl RefUnwindSafe for ValidationType
impl Send for ValidationType
impl Sync for ValidationType
impl Unpin for ValidationType
impl UnsafeUnpin for ValidationType
impl UnwindSafe for ValidationType
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