Struct gapi_grpc::google::devtools::resultstore::v2::Invocation[][src]

pub struct Invocation {
    pub name: String,
    pub id: Option<Id>,
    pub status_attributes: Option<StatusAttributes>,
    pub timing: Option<Timing>,
    pub invocation_attributes: Option<InvocationAttributes>,
    pub workspace_info: Option<WorkspaceInfo>,
    pub properties: Vec<Property>,
    pub files: Vec<File>,
    pub coverage_summaries: Vec<LanguageCoverageSummary>,
    pub aggregate_coverage: Option<AggregateCoverage>,
    pub file_processing_errors: Vec<FileProcessingErrors>,
}

An Invocation typically represents the result of running a tool. Each has a unique ID, typically generated by the server. Target resources under each Invocation contain the bulk of the data.

Fields

name: String

The resource name. Its format must be: invocations/${INVOCATION_ID}

id: Option<Id>

The resource ID components that identify the Invocation. They must match the resource name after proper encoding.

status_attributes: Option<StatusAttributes>

The aggregate status of the invocation.

timing: Option<Timing>

When this invocation started and its duration.

invocation_attributes: Option<InvocationAttributes>

Attributes of this invocation.

workspace_info: Option<WorkspaceInfo>

The workspace the tool was run in.

properties: Vec<Property>

Arbitrary name-value pairs. This is implemented as a multi-map. Multiple properties are allowed with the same key. Properties will be returned in lexicographical order by key.

files: Vec<File>

A list of file references for invocation level files. The file IDs must be unique within this list. Duplicate file IDs will result in an error. Files will be returned in lexicographical order by ID. Use this field to specify build logs, and other invocation level logs.

Files with the following reserved file IDs cause specific post-processing or have special handling. These files must be immediately available to ResultStore for processing when the reference is uploaded.

build.log: The primary log for the Invocation. coverage_report.lcov: Aggregate coverage report for the invocation.

coverage_summaries: Vec<LanguageCoverageSummary>

Summary of aggregate coverage across all Actions in this Invocation. If missing, this data will be populated by the server from the coverage_report.lcov file or the union of all ActionCoverages under this invocation (in that order).

aggregate_coverage: Option<AggregateCoverage>

Aggregate code coverage for all build and test Actions within this Invocation. If missing, this data will be populated by the server from the coverage_report.lcov file or the union of all ActionCoverages under this invocation (in that order).

file_processing_errors: Vec<FileProcessingErrors>

NOT IMPLEMENTED. ResultStore will read and parse Files with reserved IDs listed above. Read and parse errors for all these Files are reported here. This is implemented as a map, with one FileProcessingErrors for each file. Typically produced when parsing Files, but may also be provided directly by clients.

Trait Implementations

impl Clone for Invocation[src]

impl Debug for Invocation[src]

impl Default for Invocation[src]

impl Message for Invocation[src]

impl PartialEq<Invocation> for Invocation[src]

impl StructuralPartialEq for Invocation[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]