pub struct Violation {
pub field: FieldPath,
pub rule: FieldPath,
pub rule_id: Cow<'static, str>,
pub message: Cow<'static, str>,
pub for_key: bool,
}Fields§
§field: FieldPath§rule: FieldPath§rule_id: Cow<'static, str>§message: Cow<'static, str>§for_key: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violation
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