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
sourceimpl Debug for ArtifactLocation
impl Debug for ArtifactLocation
sourceimpl<'de> Deserialize<'de> for ArtifactLocation
impl<'de> Deserialize<'de> for ArtifactLocation
sourcefn 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
sourceimpl Serialize for ArtifactLocation
impl Serialize for ArtifactLocation
Auto Trait Implementations
impl RefUnwindSafe for ArtifactLocation
impl Send for ArtifactLocation
impl Sync for ArtifactLocation
impl Unpin for ArtifactLocation
impl UnwindSafe for ArtifactLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more