pub enum SizeKind {
Numeric,
String,
Array,
}Expand description
Which of the three readings of a size rule applies to a value.
min:3 means three characters, three items, or the number three depending
on what is being validated, and the message has to say the right one.
Variants§
Trait Implementations§
impl Copy for SizeKind
impl Eq for SizeKind
impl StructuralPartialEq for SizeKind
Auto Trait Implementations§
impl Freeze for SizeKind
impl RefUnwindSafe for SizeKind
impl Send for SizeKind
impl Sync for SizeKind
impl Unpin for SizeKind
impl UnsafeUnpin for SizeKind
impl UnwindSafe for SizeKind
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