Struct google_workflowexecutions1::api::Execution[][src]

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

A running instance of a Workflow.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

argument: Option<String>

Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'

end_time: Option<String>

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

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.

name: Option<String>

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

result: Option<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.

start_time: Option<String>

Output only. Marks the beginning of execution.

state: Option<String>

Output only. Current state of the execution.

workflow_revision_id: Option<String>

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

Trait Implementations

impl Clone for Execution[src]

impl Debug for Execution[src]

impl Default for Execution[src]

impl<'de> Deserialize<'de> for Execution[src]

impl RequestValue for Execution[src]

impl ResponseResult for Execution[src]

impl Serialize for Execution[src]

Auto Trait Implementations

impl RefUnwindSafe for Execution[src]

impl Send for Execution[src]

impl Sync for Execution[src]

impl Unpin for Execution[src]

impl UnwindSafe for Execution[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.