Struct serde_valid::MinLengthErrorParams
source · [−]pub struct MinLengthErrorParams {
pub min_length: usize,
}
Fields
min_length: usize
Implementations
Trait Implementations
sourceimpl Clone for MinLengthErrorParams
impl Clone for MinLengthErrorParams
sourcefn clone(&self) -> MinLengthErrorParams
fn clone(&self) -> MinLengthErrorParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MinLengthErrorParams
impl Debug for MinLengthErrorParams
sourceimpl IntoError<MinLengthErrorParams> for Composited<MinLengthErrorParams>
impl IntoError<MinLengthErrorParams> for Composited<MinLengthErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MinLengthErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl ToDefaultMessage for MinLengthErrorParams
impl ToDefaultMessage for MinLengthErrorParams
fn to_default_message(&self) -> String
Auto Trait Implementations
impl RefUnwindSafe for MinLengthErrorParams
impl Send for MinLengthErrorParams
impl Sync for MinLengthErrorParams
impl Unpin for MinLengthErrorParams
impl UnwindSafe for MinLengthErrorParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more