Struct aws_sdk_codepipeline::types::RuleState
source · #[non_exhaustive]pub struct RuleState {
pub rule_name: Option<String>,
pub current_revision: Option<RuleRevision>,
pub latest_execution: Option<RuleExecution>,
pub entity_url: Option<String>,
pub revision_url: Option<String>,
}
Expand description
Returns information about the state of a rule.
Values returned in the revisionId
field indicate the rule revision information, such as the commit ID, for the current state.
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_name: Option<String>
The name of the rule.
current_revision: Option<RuleRevision>
The ID of the current revision of the artifact successfully worked on by the job.
latest_execution: Option<RuleExecution>
Represents information about the latest run of an rule.
entity_url: Option<String>
A URL link for more information about the state of the action, such as a details page.
revision_url: Option<String>
A URL link for more information about the revision, such as a commit details page.
Implementations§
source§impl RuleState
impl RuleState
sourcepub fn current_revision(&self) -> Option<&RuleRevision>
pub fn current_revision(&self) -> Option<&RuleRevision>
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn latest_execution(&self) -> Option<&RuleExecution>
pub fn latest_execution(&self) -> Option<&RuleExecution>
Represents information about the latest run of an rule.
sourcepub fn entity_url(&self) -> Option<&str>
pub fn entity_url(&self) -> Option<&str>
A URL link for more information about the state of the action, such as a details page.
sourcepub fn revision_url(&self) -> Option<&str>
pub fn revision_url(&self) -> Option<&str>
A URL link for more information about the revision, such as a commit details page.
Trait Implementations§
impl StructuralPartialEq for RuleState
Auto Trait Implementations§
impl Freeze for RuleState
impl RefUnwindSafe for RuleState
impl Send for RuleState
impl Sync for RuleState
impl Unpin for RuleState
impl UnwindSafe for RuleState
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