pub struct Invocation {Show 26 fields
pub account: Option<String>,
pub arguments: Option<Vec<String>>,
pub command_line: Option<String>,
pub end_time_utc: Option<String>,
pub environment_variables: Option<HashMap<String, String>>,
pub executable_location: Option<ArtifactLocation>,
pub execution_successful: bool,
pub exit_code: Option<i64>,
pub exit_code_description: Option<String>,
pub exit_signal_name: Option<String>,
pub exit_signal_number: Option<i64>,
pub machine: Option<String>,
pub notification_configuration_overrides: Option<Vec<ConfigurationOverride>>,
pub process_id: Option<i64>,
pub process_start_failure_message: Option<String>,
pub properties: Option<PropertyBag>,
pub response_files: Option<Vec<ArtifactLocation>>,
pub rule_configuration_overrides: Option<Vec<ConfigurationOverride>>,
pub start_time_utc: Option<String>,
pub stderr: Option<ArtifactLocation>,
pub stdin: Option<ArtifactLocation>,
pub stdout: Option<ArtifactLocation>,
pub stdout_stderr: Option<ArtifactLocation>,
pub tool_configuration_notifications: Option<Vec<Notification>>,
pub tool_execution_notifications: Option<Vec<Notification>>,
pub working_directory: Option<ArtifactLocation>,
}
Expand description
An invocation object that describes the invocation of the converter.
The runtime environment of the analysis tool run.
Fields
account: Option<String>
The account that ran the analysis tool.
arguments: Option<Vec<String>>
An array of strings, containing in order the command line arguments passed to the tool from the operating system.
command_line: Option<String>
The command line used to invoke the tool.
end_time_utc: Option<String>
The Coordinated Universal Time (UTC) date and time at which the run ended. See “Date/time properties” in the SARIF spec for the required format.
environment_variables: Option<HashMap<String, String>>
The environment variables associated with the analysis tool process, expressed as key/value pairs.
executable_location: Option<ArtifactLocation>
An absolute URI specifying the location of the analysis tool’s executable.
execution_successful: bool
Specifies whether the tool’s execution completed successfully.
exit_code: Option<i64>
The process exit code.
exit_code_description: Option<String>
The reason for the process exit.
exit_signal_name: Option<String>
The name of the signal that caused the process to exit.
exit_signal_number: Option<i64>
The numeric value of the signal that caused the process to exit.
machine: Option<String>
The machine that hosted the analysis tool run.
notification_configuration_overrides: Option<Vec<ConfigurationOverride>>
An array of configurationOverride objects that describe notifications related runtime overrides.
process_id: Option<i64>
The process id for the analysis tool run.
process_start_failure_message: Option<String>
The reason given by the operating system that the process failed to start.
properties: Option<PropertyBag>
Key/value pairs that provide additional information about the invocation.
response_files: Option<Vec<ArtifactLocation>>
The locations of any response files specified on the tool’s command line.
rule_configuration_overrides: Option<Vec<ConfigurationOverride>>
An array of configurationOverride objects that describe rules related runtime overrides.
start_time_utc: Option<String>
The Coordinated Universal Time (UTC) date and time at which the run started. See “Date/time properties” in the SARIF spec for the required format.
stderr: Option<ArtifactLocation>
A file containing the standard error stream from the process that was invoked.
stdin: Option<ArtifactLocation>
A file containing the standard input stream to the process that was invoked.
stdout: Option<ArtifactLocation>
A file containing the standard output stream from the process that was invoked.
stdout_stderr: Option<ArtifactLocation>
A file containing the interleaved standard output and standard error stream from the process that was invoked.
tool_configuration_notifications: Option<Vec<Notification>>
A list of conditions detected by the tool that are relevant to the tool’s configuration.
tool_execution_notifications: Option<Vec<Notification>>
A list of runtime conditions detected by the tool during the analysis.
working_directory: Option<ArtifactLocation>
The working directory for the analysis tool run.
Trait Implementations
sourceimpl Debug for Invocation
impl Debug for Invocation
sourceimpl<'de> Deserialize<'de> for Invocation
impl<'de> Deserialize<'de> for Invocation
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 Invocation
impl Serialize for Invocation
Auto Trait Implementations
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnwindSafe for Invocation
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