pub struct Finding {
pub rule: &'static str,
pub severity: &'static str,
pub chunk_id: String,
pub chunk_name: String,
pub chunk_type: String,
pub field: String,
pub message: String,
pub related: Vec<String>,
}Expand description
One finding. severity is "error" (the generated config is wrong) or
"warning" (probably wrong; could be satisfied somewhere this cannot see).
Fields§
§rule: &'static str§severity: &'static str§chunk_id: String§chunk_name: String§chunk_type: String§field: String§message: StringOther chunks involved, by name.
Implementations§
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