pub struct CheckFinding {
pub line: usize,
pub module: Option<String>,
pub file: Option<String>,
pub fn_name: Option<String>,
pub message: String,
pub extra_spans: Vec<FindingSpan>,
}Fields§
§line: usize§module: Option<String>§file: Option<String>§fn_name: Option<String>§message: String§extra_spans: Vec<FindingSpan>Trait Implementations§
Source§impl Clone for CheckFinding
impl Clone for CheckFinding
Source§fn clone(&self) -> CheckFinding
fn clone(&self) -> CheckFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckFinding
impl Debug for CheckFinding
Source§impl PartialEq for CheckFinding
impl PartialEq for CheckFinding
Source§fn eq(&self, other: &CheckFinding) -> bool
fn eq(&self, other: &CheckFinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CheckFinding
impl StructuralPartialEq for CheckFinding
Auto Trait Implementations§
impl Freeze for CheckFinding
impl RefUnwindSafe for CheckFinding
impl Send for CheckFinding
impl Sync for CheckFinding
impl Unpin for CheckFinding
impl UnsafeUnpin for CheckFinding
impl UnwindSafe for CheckFinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.