Struct smart_config::validation::NotEmpty
source · pub struct NotEmpty;
Expand description
Validates that a string or a data collection (e.g., Vec
) is not empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NotEmpty
impl RefUnwindSafe for NotEmpty
impl Send for NotEmpty
impl Sync for NotEmpty
impl Unpin for NotEmpty
impl UnwindSafe for NotEmpty
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