pub struct StringLengthMismatch {
pub required: usize,
pub provided: usize,
}
Expand description
Struct used to describe invalid length errors
Fields§
§required: usize
§provided: usize
Trait Implementations§
Source§impl Clone for StringLengthMismatch
impl Clone for StringLengthMismatch
Source§fn clone(&self) -> StringLengthMismatch
fn clone(&self) -> StringLengthMismatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StringLengthMismatch
impl Debug for StringLengthMismatch
Source§impl PartialEq for StringLengthMismatch
impl PartialEq for StringLengthMismatch
impl Eq for StringLengthMismatch
impl StructuralPartialEq for StringLengthMismatch
Auto Trait Implementations§
impl Freeze for StringLengthMismatch
impl RefUnwindSafe for StringLengthMismatch
impl Send for StringLengthMismatch
impl Sync for StringLengthMismatch
impl Unpin for StringLengthMismatch
impl UnwindSafe for StringLengthMismatch
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