pub struct ShapeViolation {
pub rule: String,
pub field: Option<String>,
pub expected: Option<String>,
pub found: Option<String>,
pub detail: String,
}Expand description
A violation found during shape checking (REQ-223).
Fields§
§rule: String§field: Option<String>§expected: Option<String>§found: Option<String>§detail: StringTrait Implementations§
Source§impl Clone for ShapeViolation
impl Clone for ShapeViolation
Source§impl Debug for ShapeViolation
impl Debug for ShapeViolation
Source§impl Display for ShapeViolation
impl Display for ShapeViolation
impl Eq for ShapeViolation
Source§impl PartialEq for ShapeViolation
impl PartialEq for ShapeViolation
impl StructuralPartialEq for ShapeViolation
Auto Trait Implementations§
impl Forget for ShapeViolation
impl Freeze for ShapeViolation
impl Move for ShapeViolation
impl RefUnwindSafe for ShapeViolation
impl Send for ShapeViolationwhere
RawVecInner: Send,
impl Sync for ShapeViolationwhere
RawVecInner: Sync,
impl Unpin for ShapeViolation
impl UnsafeUnpin for ShapeViolation
impl UnwindSafe for ShapeViolationwhere
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