pub struct Required;Expand description
Fails if the value is an empty string. Auto-wired when .required() is called on a Field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Required
impl RefUnwindSafe for Required
impl Send for Required
impl Sync for Required
impl Unpin for Required
impl UnsafeUnpin for Required
impl UnwindSafe for Required
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