pub struct Finding {
pub code: String,
pub message: String,
}Expand description
A finding emitted by a court instead of a silent coercion: a stable code and a human message.
Fields§
§code: StringA stable machine code, e.g. NUMERIC_NONDIGIT, VALUE_OVERFLOW, FIELD_OUT_OF_RANGE.
message: StringA human-readable message.
Implementations§
Trait Implementations§
impl Eq for Finding
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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