pub enum ArgType {
String,
Path,
Command,
Query,
UidOrPath,
Integer,
Url,
IntegerBetween {
min: Option<i128>,
max: Option<i128>,
},
}Expand description
ArgType doesn’t do much. Only Integer and
IntegerBetween variants do extra checks. The
other variants are more like type signatures
which clarifies the intent of the code.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgType
impl RefUnwindSafe for ArgType
impl Send for ArgType
impl Sync for ArgType
impl Unpin for ArgType
impl UnwindSafe for ArgType
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