pub struct Violation {
pub path: String,
pub message: String,
}Expand description
One structural disagreement between response and schema.
Fields§
§path: StringDotted path into the response, [] for array elements.
message: StringTrait Implementations§
impl StructuralPartialEq for Violation
Auto Trait Implementations§
impl Forget for Violation
impl Freeze for Violation
impl Move for Violation
impl RefUnwindSafe for Violation
impl Send for Violationwhere
RawVecInner: Send,
impl Sync for Violationwhere
RawVecInner: Sync,
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violationwhere
RawVecInner: UnwindSafe,
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