#[non_exhaustive]pub struct Status {
pub current_steps: Vec<Step>,
/* private fields */
}Expand description
Represents the current status of this execution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.current_steps: Vec<Step>A list of currently executing or last executed step names for the
workflow execution currently running. If the workflow has succeeded or
failed, this is the last attempted or executed step. Presently, if the
current step is inside a subworkflow, the list only includes that step.
In the future, the list will contain items for each step in the call
stack, starting with the outermost step in the main subworkflow, and
ending with the most deeply nested step.
Implementations§
Source§impl Status
impl Status
pub fn new() -> Self
Sourcepub fn set_current_steps<T, V>(self, v: T) -> Self
pub fn set_current_steps<T, V>(self, v: T) -> Self
Sets the value of current_steps.
§Example
ⓘ
use google_cloud_workflows_executions_v1::model::execution::status::Step;
let x = Status::new()
.set_current_steps([
Step::default()/* use setters */,
Step::default()/* use (different) setters */,
]);Trait Implementations§
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
Mutably borrows from an owned value. Read more