Enum roadblk_attr::ConstraintType
source · 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 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