pub struct ResultProvenance {
pub conversion_sources: Option<Vec<PhysicalLocation>>,
pub first_detection_run_guid: Option<String>,
pub first_detection_time_utc: Option<String>,
pub invocation_index: Option<i64>,
pub last_detection_run_guid: Option<String>,
pub last_detection_time_utc: Option<String>,
pub properties: Option<PropertyBag>,
}
Expand description
Information about how and when the result was detected.
Contains information about how and when a result was detected.
Fields
conversion_sources: Option<Vec<PhysicalLocation>>
An array of physicalLocation objects which specify the portions of an analysis tool’s output that a converter transformed into the result.
first_detection_run_guid: Option<String>
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.
first_detection_time_utc: Option<String>
The Coordinated Universal Time (UTC) date and time at which the result was first detected. See “Date/time properties” in the SARIF spec for the required format.
invocation_index: Option<i64>
The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.
last_detection_run_guid: Option<String>
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.
last_detection_time_utc: Option<String>
The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See “Date/time properties” in the SARIF spec for the required format.
properties: Option<PropertyBag>
Key/value pairs that provide additional information about the result.
Trait Implementations
sourceimpl Debug for ResultProvenance
impl Debug for ResultProvenance
sourceimpl<'de> Deserialize<'de> for ResultProvenance
impl<'de> Deserialize<'de> for ResultProvenance
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 ResultProvenance
impl Serialize for ResultProvenance
Auto Trait Implementations
impl RefUnwindSafe for ResultProvenance
impl Send for ResultProvenance
impl Sync for ResultProvenance
impl Unpin for ResultProvenance
impl UnwindSafe for ResultProvenance
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