Struct gapi_grpc::google::cloud::workflows::executions::v1beta::Execution[][src]

pub struct Execution {
    pub name: String,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub state: i32,
    pub argument: String,
    pub result: String,
    pub error: Option<Error>,
    pub workflow_revision_id: String,
}

A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow].

Fields

name: String

Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

start_time: Option<Timestamp>

Output only. Marks the beginning of execution.

end_time: Option<Timestamp>

Output only. Marks the end of execution, successful or not.

state: i32

Output only. Current state of the execution.

argument: String

Input parameters of the execution represented as a JSON string. The size limit is 32KB.

result: String

Output only. Output of the execution represented as a JSON string. The value can only be present if the execution’s state is SUCCEEDED.

error: Option<Error>

Output only. The error which caused the execution to finish prematurely. The value is only present if the execution’s state is FAILED or CANCELLED.

workflow_revision_id: String

Output only. Revision of the workflow this execution is using.

Implementations

impl Execution[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Execution[src]

impl Debug for Execution[src]

impl Default for Execution[src]

impl Message for Execution[src]

impl PartialEq<Execution> for Execution[src]

impl StructuralPartialEq for Execution[src]

Auto Trait Implementations

impl RefUnwindSafe for Execution

impl Send for Execution

impl Sync for Execution

impl Unpin for Execution

impl UnwindSafe for Execution

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]