pub struct Finding {
pub rule: &'static str,
pub severity: &'static str,
pub column: Option<String>,
pub message: String,
pub numbers: Option<Value>,
}Expand description
One thing worth knowing about the file.
Fields§
§rule: &'static strThe name of the rule.
severity: &'static strwarning or info.
column: Option<String>The column it is about, when it is about one.
message: StringWhat is worth doing, in one sentence.
numbers: Option<Value>The numbers behind it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Finding
impl Freeze for Finding
impl Move for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Findingwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Finding
Blanket Implementations§
impl<T> Allocation for T
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