Enum val_test::validate::Rules [−][src]
pub enum Rules {
Show 19 variants
Numeric,
Required,
Array,
Between {
min: i64,
max: i64,
},
Boolean,
Date,
Email,
InArray {
field: String,
},
GreaterThan {
field: String,
},
LessThan {
field: String,
},
In {
value: String,
},
NotIn {
value: String,
},
Equal {
field: String,
},
EqualString {
value: String,
},
Json,
Max {
value: i64,
},
Min {
value: i64,
},
String,
NoneExist {
field: String,
},
}Variants
Fields of InArray
field: StringFields of GreaterThan
field: StringFields of LessThan
field: StringFields of In
value: StringFields of NotIn
value: StringFields of Equal
field: StringFields of EqualString
value: StringFields of Max
value: i64Fields of Min
value: i64Fields of NoneExist
field: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rules
impl UnwindSafe for Rules
Blanket Implementations
Mutably borrows from an owned value. Read more