Struct serde_sarif::sarif::Tool
source · pub struct Tool {
pub driver: ToolComponent,
pub extensions: Option<Vec<ToolComponent>>,
pub properties: Option<PropertyBag>,
}Expand description
The analysis tool that was run.
Fields§
§driver: ToolComponentThe analysis tool that was run.
extensions: Option<Vec<ToolComponent>>Tool extensions that contributed to or reconfigured the analysis tool that was run.
properties: Option<PropertyBag>Key/value pairs that provide additional information about the tool.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tool
impl<'de> Deserialize<'de> for Tool
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 From<ToolComponent> for Tool
impl From<ToolComponent> for Tool
source§fn from(tool_component: ToolComponent) -> Self
fn from(tool_component: ToolComponent) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)