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
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.category: RuleCategoryA category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.
-
INVOKE
-
Approval
-
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: StringThe provider of the service being called by the rule. Valid providers are determined by the rulecategory. For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as AWS.
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. Valid categories are limited to one of the following values.
-
INVOKE
-
Approval
-
Rule
sourcepub fn owner(&self) -> Option<&RuleOwner>
pub fn owner(&self) -> Option<&RuleOwner>
The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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