Struct aws_sdk_codecatalyst::types::WorkflowRunSummary
source · #[non_exhaustive]pub struct WorkflowRunSummary {
pub id: String,
pub workflow_id: String,
pub workflow_name: String,
pub status: WorkflowRunStatus,
pub status_reasons: Option<Vec<WorkflowRunStatusReason>>,
pub start_time: DateTime,
pub end_time: Option<DateTime>,
pub last_updated_time: DateTime,
}Expand description
Information about a workflow run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe system-generated unique ID of the workflow run.
workflow_id: StringThe system-generated unique ID of the workflow.
workflow_name: StringThe name of the workflow.
status: WorkflowRunStatusThe status of the workflow run.
status_reasons: Option<Vec<WorkflowRunStatusReason>>The reasons for the workflow run status.
start_time: DateTimeThe date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
end_time: Option<DateTime>The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
last_updated_time: DateTimeThe date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
Implementations§
source§impl WorkflowRunSummary
impl WorkflowRunSummary
sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The system-generated unique ID of the workflow.
sourcepub fn workflow_name(&self) -> &str
pub fn workflow_name(&self) -> &str
The name of the workflow.
sourcepub fn status(&self) -> &WorkflowRunStatus
pub fn status(&self) -> &WorkflowRunStatus
The status of the workflow run.
sourcepub fn status_reasons(&self) -> &[WorkflowRunStatusReason]
pub fn status_reasons(&self) -> &[WorkflowRunStatusReason]
The reasons for the workflow run status.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .status_reasons.is_none().
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn last_updated_time(&self) -> &DateTime
pub fn last_updated_time(&self) -> &DateTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
source§impl WorkflowRunSummary
impl WorkflowRunSummary
sourcepub fn builder() -> WorkflowRunSummaryBuilder
pub fn builder() -> WorkflowRunSummaryBuilder
Creates a new builder-style object to manufacture WorkflowRunSummary.
Trait Implementations§
source§impl Clone for WorkflowRunSummary
impl Clone for WorkflowRunSummary
source§fn clone(&self) -> WorkflowRunSummary
fn clone(&self) -> WorkflowRunSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorkflowRunSummary
impl Debug for WorkflowRunSummary
source§impl PartialEq for WorkflowRunSummary
impl PartialEq for WorkflowRunSummary
source§fn eq(&self, other: &WorkflowRunSummary) -> bool
fn eq(&self, other: &WorkflowRunSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WorkflowRunSummary
Auto Trait Implementations§
impl Freeze for WorkflowRunSummary
impl RefUnwindSafe for WorkflowRunSummary
impl Send for WorkflowRunSummary
impl Sync for WorkflowRunSummary
impl Unpin for WorkflowRunSummary
impl UnwindSafe for WorkflowRunSummary
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> 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