Struct aws_sdk_codecatalyst::types::WorkflowSummary
source · #[non_exhaustive]pub struct WorkflowSummary {
pub id: String,
pub name: String,
pub source_repository_name: String,
pub source_branch_name: String,
pub definition: Option<WorkflowDefinitionSummary>,
pub created_time: DateTime,
pub last_updated_time: DateTime,
pub run_mode: WorkflowRunMode,
pub status: WorkflowStatus,
}Expand description
Information about a workflow.
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 a workflow.
name: StringThe name of the workflow.
source_repository_name: StringThe name of the source repository where the workflow definition file is stored.
source_branch_name: StringThe name of the branch of the source repository where the workflow definition file is stored.
definition: Option<WorkflowDefinitionSummary>Information about the workflow definition file.
created_time: DateTimeThe date and time the workflow was created, 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
run_mode: WorkflowRunModeThe run mode of the workflow.
status: WorkflowStatusThe status of the workflow.
Implementations§
source§impl WorkflowSummary
impl WorkflowSummary
sourcepub fn source_repository_name(&self) -> &str
pub fn source_repository_name(&self) -> &str
The name of the source repository where the workflow definition file is stored.
sourcepub fn source_branch_name(&self) -> &str
pub fn source_branch_name(&self) -> &str
The name of the branch of the source repository where the workflow definition file is stored.
sourcepub fn definition(&self) -> Option<&WorkflowDefinitionSummary>
pub fn definition(&self) -> Option<&WorkflowDefinitionSummary>
Information about the workflow definition file.
sourcepub fn created_time(&self) -> &DateTime
pub fn created_time(&self) -> &DateTime
The date and time the workflow was created, 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
sourcepub fn run_mode(&self) -> &WorkflowRunMode
pub fn run_mode(&self) -> &WorkflowRunMode
The run mode of the workflow.
sourcepub fn status(&self) -> &WorkflowStatus
pub fn status(&self) -> &WorkflowStatus
The status of the workflow.
source§impl WorkflowSummary
impl WorkflowSummary
sourcepub fn builder() -> WorkflowSummaryBuilder
pub fn builder() -> WorkflowSummaryBuilder
Creates a new builder-style object to manufacture WorkflowSummary.
Trait Implementations§
source§impl Clone for WorkflowSummary
impl Clone for WorkflowSummary
source§fn clone(&self) -> WorkflowSummary
fn clone(&self) -> WorkflowSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorkflowSummary
impl Debug for WorkflowSummary
source§impl PartialEq for WorkflowSummary
impl PartialEq for WorkflowSummary
source§fn eq(&self, other: &WorkflowSummary) -> bool
fn eq(&self, other: &WorkflowSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WorkflowSummary
Auto Trait Implementations§
impl Freeze for WorkflowSummary
impl RefUnwindSafe for WorkflowSummary
impl Send for WorkflowSummary
impl Sync for WorkflowSummary
impl Unpin for WorkflowSummary
impl UnwindSafe for WorkflowSummary
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