pub struct FindingContext {
pub workspace: Option<WorkspaceContext>,
pub analysis_depth: Option<AnalysisDepth>,
}Expand description
Context metadata for a finding.
Fields§
§workspace: Option<WorkspaceContext>Workspace-wide context for this finding
analysis_depth: Option<AnalysisDepth>Depth of analysis performed
Trait Implementations§
Source§impl Clone for FindingContext
impl Clone for FindingContext
Source§fn clone(&self) -> FindingContext
fn clone(&self) -> FindingContext
Returns a duplicate of the value. Read more
1.0.0 · 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 FindingContext
impl Debug for FindingContext
Source§impl Default for FindingContext
impl Default for FindingContext
Source§fn default() -> FindingContext
fn default() -> FindingContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FindingContext
impl<'de> Deserialize<'de> for FindingContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FindingContext
impl PartialEq for FindingContext
Source§impl Serialize for FindingContext
impl Serialize for FindingContext
impl StructuralPartialEq for FindingContext
Auto Trait Implementations§
impl Freeze for FindingContext
impl RefUnwindSafe for FindingContext
impl Send for FindingContext
impl Sync for FindingContext
impl Unpin for FindingContext
impl UnsafeUnpin for FindingContext
impl UnwindSafe for FindingContext
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