pub struct FixtureValidationError {
pub path: Vec<&'static str>,
pub message: &'static str,
pub code: &'static str,
pub expected: Option<&'static str>,
pub received: Option<&'static str>,
}Expand description
Sample validation error fixture.
Fields§
§path: Vec<&'static str>Path segments to the invalid field.
message: &'static strError message.
code: &'static strError code.
expected: Option<&'static str>Expected value description.
received: Option<&'static str>Received value description.
Trait Implementations§
Source§impl Clone for FixtureValidationError
impl Clone for FixtureValidationError
Source§fn clone(&self) -> FixtureValidationError
fn clone(&self) -> FixtureValidationError
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FixtureValidationError
impl RefUnwindSafe for FixtureValidationError
impl Send for FixtureValidationError
impl Sync for FixtureValidationError
impl Unpin for FixtureValidationError
impl UnsafeUnpin for FixtureValidationError
impl UnwindSafe for FixtureValidationError
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