Struct serde_valid::MaxLengthErrorParams
source · [−]pub struct MaxLengthErrorParams {
pub max_length: usize,
}
Fields
max_length: usize
Implementations
Trait Implementations
sourceimpl Clone for MaxLengthErrorParams
impl Clone for MaxLengthErrorParams
sourcefn clone(&self) -> MaxLengthErrorParams
fn clone(&self) -> MaxLengthErrorParams
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 MaxLengthErrorParams
impl Debug for MaxLengthErrorParams
sourceimpl IntoError<MaxLengthErrorParams> for Composited<MaxLengthErrorParams>
impl IntoError<MaxLengthErrorParams> for Composited<MaxLengthErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MaxLengthErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl ToDefaultMessage for MaxLengthErrorParams
impl ToDefaultMessage for MaxLengthErrorParams
fn to_default_message(&self) -> String
Auto Trait Implementations
impl RefUnwindSafe for MaxLengthErrorParams
impl Send for MaxLengthErrorParams
impl Sync for MaxLengthErrorParams
impl Unpin for MaxLengthErrorParams
impl UnwindSafe for MaxLengthErrorParams
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