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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.