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: String
The system-generated unique ID of a workflow.
name: String
The name of the workflow.
source_repository_name: String
The name of the source repository where the workflow definition file is stored.
source_branch_name: String
The 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: DateTime
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
last_updated_time: DateTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
run_mode: WorkflowRunMode
The run mode of the workflow.
status: WorkflowStatus
The 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 ==
.