Struct serde_sarif::sarif::Sarif
source · pub struct Sarif {
pub schema: Option<String>,
pub inline_external_properties: Option<Vec<ExternalProperties>>,
pub properties: Option<PropertyBag>,
pub runs: Vec<Run>,
pub version: Value,
}
Fields§
§schema: Option<String>
The URI of the JSON schema corresponding to the version.
inline_external_properties: Option<Vec<ExternalProperties>>
References to external property files that share data between runs.
properties: Option<PropertyBag>
Key/value pairs that provide additional information about the log file.
runs: Vec<Run>
The set of runs contained in this log file.
version: Value
The SARIF format version of this log file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sarif
impl<'de> Deserialize<'de> for Sarif
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<Sarif> for Sarif
impl PartialEq<Sarif> for Sarif
impl StructuralPartialEq for Sarif
Auto Trait Implementations§
impl RefUnwindSafe for Sarif
impl Send for Sarif
impl Sync for Sarif
impl Unpin for Sarif
impl UnwindSafe for Sarif
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