Struct aws_sdk_codepipeline::types::RuleExecution
source · #[non_exhaustive]pub struct RuleExecution {
pub rule_execution_id: Option<String>,
pub status: Option<RuleExecutionStatus>,
pub summary: Option<String>,
pub last_status_change: Option<DateTime>,
pub token: Option<String>,
pub last_updated_by: Option<String>,
pub external_execution_id: Option<String>,
pub external_execution_url: Option<String>,
pub error_details: Option<ErrorDetails>,
}
Expand description
Represents information about each time a rule is run as part of the pipeline execution for a pipeline configured with conditions.
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.rule_execution_id: Option<String>
The execution ID for the run of the rule.
status: Option<RuleExecutionStatus>
The status of the run of the rule, such as FAILED.
summary: Option<String>
A summary of the run of the rule.
last_status_change: Option<DateTime>
The last status change of the rule.
token: Option<String>
The system-generated token used to identify a unique request.
last_updated_by: Option<String>
The ARN of the user who last changed the rule.
external_execution_id: Option<String>
The external ID of the run of the rule.
external_execution_url: Option<String>
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
error_details: Option<ErrorDetails>
Represents information about an error in CodePipeline.
Implementations§
source§impl RuleExecution
impl RuleExecution
sourcepub fn rule_execution_id(&self) -> Option<&str>
pub fn rule_execution_id(&self) -> Option<&str>
The execution ID for the run of the rule.
sourcepub fn status(&self) -> Option<&RuleExecutionStatus>
pub fn status(&self) -> Option<&RuleExecutionStatus>
The status of the run of the rule, such as FAILED.
sourcepub fn last_status_change(&self) -> Option<&DateTime>
pub fn last_status_change(&self) -> Option<&DateTime>
The last status change of the rule.
sourcepub fn token(&self) -> Option<&str>
pub fn token(&self) -> Option<&str>
The system-generated token used to identify a unique request.
sourcepub fn last_updated_by(&self) -> Option<&str>
pub fn last_updated_by(&self) -> Option<&str>
The ARN of the user who last changed the rule.
sourcepub fn external_execution_id(&self) -> Option<&str>
pub fn external_execution_id(&self) -> Option<&str>
The external ID of the run of the rule.
sourcepub fn external_execution_url(&self) -> Option<&str>
pub fn external_execution_url(&self) -> Option<&str>
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
sourcepub fn error_details(&self) -> Option<&ErrorDetails>
pub fn error_details(&self) -> Option<&ErrorDetails>
Represents information about an error in CodePipeline.
source§impl RuleExecution
impl RuleExecution
sourcepub fn builder() -> RuleExecutionBuilder
pub fn builder() -> RuleExecutionBuilder
Creates a new builder-style object to manufacture RuleExecution
.
Trait Implementations§
source§impl Clone for RuleExecution
impl Clone for RuleExecution
source§fn clone(&self) -> RuleExecution
fn clone(&self) -> RuleExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleExecution
impl Debug for RuleExecution
source§impl PartialEq for RuleExecution
impl PartialEq for RuleExecution
impl StructuralPartialEq for RuleExecution
Auto Trait Implementations§
impl Freeze for RuleExecution
impl RefUnwindSafe for RuleExecution
impl Send for RuleExecution
impl Sync for RuleExecution
impl Unpin for RuleExecution
impl UnwindSafe for RuleExecution
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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