Struct aws_sdk_codepipeline::types::RuleTypeId
source · #[non_exhaustive]pub struct RuleTypeId {
pub category: RuleCategory,
pub owner: Option<RuleOwner>,
pub provider: String,
pub version: Option<String>,
}
Expand description
The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.category: RuleCategory
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule
.
owner: Option<RuleOwner>
The creator of the rule being called. The valid value for the Owner
field in the rule category is AWS
.
provider: String
The rule provider, such as the DeploymentWindow
rule.
version: Option<String>
A string that describes the rule version.
Implementations§
source§impl RuleTypeId
impl RuleTypeId
sourcepub fn category(&self) -> &RuleCategory
pub fn category(&self) -> &RuleCategory
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule
.
source§impl RuleTypeId
impl RuleTypeId
sourcepub fn builder() -> RuleTypeIdBuilder
pub fn builder() -> RuleTypeIdBuilder
Creates a new builder-style object to manufacture RuleTypeId
.
Trait Implementations§
source§impl Clone for RuleTypeId
impl Clone for RuleTypeId
source§fn clone(&self) -> RuleTypeId
fn clone(&self) -> RuleTypeId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuleTypeId
impl Debug for RuleTypeId
source§impl PartialEq for RuleTypeId
impl PartialEq for RuleTypeId
impl StructuralPartialEq for RuleTypeId
Auto Trait Implementations§
impl Freeze for RuleTypeId
impl RefUnwindSafe for RuleTypeId
impl Send for RuleTypeId
impl Sync for RuleTypeId
impl Unpin for RuleTypeId
impl UnwindSafe for RuleTypeId
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.