pub enum ConstraintType {
None,
Description(String),
SelfValidator,
Regex(String),
Value(Value),
Range(Number, Number),
Length(usize, usize),
Anyone(Vec<ConstraintType>),
Enumer(String),
}Variants§
None
Description(String)
SelfValidator
Regex(String)
Value(Value)
Range(Number, Number)
Length(usize, usize)
Anyone(Vec<ConstraintType>)
Enumer(String)
Auto Trait Implementations§
impl Freeze for ConstraintType
impl RefUnwindSafe for ConstraintType
impl Send for ConstraintType
impl Sync for ConstraintType
impl Unpin for ConstraintType
impl UnwindSafe for ConstraintType
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