pub struct ArtifactLocation {
    pub description: Option<Message>,
    pub index: Option<i64>,
    pub properties: Option<PropertyBag>,
    pub uri: Option<String>,
    pub uri_base_id: Option<String>,
}
Expand description

The location of the artifact.

Specifies the location of an artifact.

An absolute URI specifying the location of the analysis tool’s executable.

A file containing the standard error stream from the process that was invoked.

A file containing the standard input stream to the process that was invoked.

A file containing the standard output stream from the process that was invoked.

A file containing the interleaved standard output and standard error stream from the process that was invoked.

The working directory for the analysis tool run.

Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred.

The location of the attachment.

The location of the artifact to change.

The location of the external property file.

Provides a suggestion to SARIF consumers to display file paths relative to the specified location.

The location in the local file system to which the root of the repository was mapped at the time of the analysis.

Fields

description: Option<Message>

A short description of the artifact location.

index: Option<i64>

The index within the run artifacts array of the artifact object associated with the artifact location.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the artifact location.

uri: Option<String>

A string containing a valid relative or absolute URI.

uri_base_id: Option<String>

A string which indirectly specifies the absolute URI with respect to which a relative URI in the “uri” property is interpreted.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more