pub struct ExecutionStatus {
pub cancelled_count: Option<i32>,
pub completion_time: Option<DateTime<Utc>>,
pub conditions: Option<Vec<GoogleCloudRunV1Condition>>,
pub failed_count: Option<i32>,
pub log_uri: Option<String>,
pub observed_generation: Option<i32>,
pub retried_count: Option<i32>,
pub running_count: Option<i32>,
pub start_time: Option<DateTime<Utc>>,
pub succeeded_count: Option<i32>,
}
Expand description
ExecutionStatus represents the current state of an Execution.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cancelled_count: Option<i32>
Optional. The number of tasks which reached phase Cancelled.
completion_time: Option<DateTime<Utc>>
Optional. Represents the time that the execution was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
conditions: Option<Vec<GoogleCloudRunV1Condition>>
Optional. Conditions communicate information about ongoing/complete reconciliation processes that bring the “spec” inline with the observed state of the world. Execution-specific conditions include: * ResourcesAvailable
: True
when underlying resources have been provisioned. * Started
: True
when the execution has started to execute. * Completed
: True
when the execution has succeeded. False
when the execution has failed.
failed_count: Option<i32>
Optional. The number of tasks which reached phase Failed.
log_uri: Option<String>
Optional. URI where logs for this execution can be found in Cloud Console.
observed_generation: Option<i32>
Optional. The ‘generation’ of the execution that was last processed by the controller.
retried_count: Option<i32>
Optional. The number of tasks which have retried at least once.
running_count: Option<i32>
Optional. The number of actively running tasks.
start_time: Option<DateTime<Utc>>
Optional. Represents the time that the execution started to run. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
succeeded_count: Option<i32>
Optional. The number of tasks which reached phase Succeeded.
Trait Implementations§
Source§impl Clone for ExecutionStatus
impl Clone for ExecutionStatus
Source§fn clone(&self) -> ExecutionStatus
fn clone(&self) -> ExecutionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecutionStatus
impl Debug for ExecutionStatus
Source§impl Default for ExecutionStatus
impl Default for ExecutionStatus
Source§fn default() -> ExecutionStatus
fn default() -> ExecutionStatus
Source§impl<'de> Deserialize<'de> for ExecutionStatus
impl<'de> Deserialize<'de> for ExecutionStatus
Source§fn 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>,
Source§impl Serialize for ExecutionStatus
impl Serialize for ExecutionStatus
impl Part for ExecutionStatus
Auto Trait Implementations§
impl Freeze for ExecutionStatus
impl RefUnwindSafe for ExecutionStatus
impl Send for ExecutionStatus
impl Sync for ExecutionStatus
impl Unpin for ExecutionStatus
impl UnwindSafe for ExecutionStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more