pub struct Problem {
pub severity: Severity,
pub code: &'static str,
pub table: Option<String>,
pub file: Option<String>,
pub offset: Option<u64>,
pub message: String,
}Expand description
One finding of verify. code is a stable kebab-case identifier callers can match on;
message is for people.
Fields§
§severity: Severity§code: &'static str§table: Option<String>§file: Option<String>Path of the file concerned, relative to the database directory.
offset: Option<u64>Byte offset of the offending line in file.
message: StringTrait Implementations§
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
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