Struct aws_sdk_codepipeline::model::ActionTypeId
source · [−]#[non_exhaustive]pub struct ActionTypeId {
pub category: Option<ActionCategory>,
pub owner: Option<ActionOwner>,
pub provider: Option<String>,
pub version: Option<String>,
}
Expand description
Represents information about an action type.
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: Option<ActionCategory>
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.
-
Source
-
Build
-
Test
-
Deploy
-
Invoke
-
Approval
owner: Option<ActionOwner>
The creator of the action being called. There are three valid values for the Owner
field in the action category section within your pipeline structure: AWS
, ThirdParty
, and Custom
. For more information, see Valid Action Types and Providers in CodePipeline.
provider: Option<String>
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of AWS CodeDeploy, which would be specified as CodeDeploy. For more information, see Valid Action Types and Providers in CodePipeline.
version: Option<String>
A string that describes the action version.
Implementations
sourceimpl ActionTypeId
impl ActionTypeId
sourcepub fn category(&self) -> Option<&ActionCategory>
pub fn category(&self) -> Option<&ActionCategory>
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.
-
Source
-
Build
-
Test
-
Deploy
-
Invoke
-
Approval
sourcepub fn owner(&self) -> Option<&ActionOwner>
pub fn owner(&self) -> Option<&ActionOwner>
The creator of the action being called. There are three valid values for the Owner
field in the action category section within your pipeline structure: AWS
, ThirdParty
, and Custom
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn provider(&self) -> Option<&str>
pub fn provider(&self) -> Option<&str>
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of AWS CodeDeploy, which would be specified as CodeDeploy. For more information, see Valid Action Types and Providers in CodePipeline.
sourceimpl ActionTypeId
impl ActionTypeId
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActionTypeId
Trait Implementations
sourceimpl Clone for ActionTypeId
impl Clone for ActionTypeId
sourcefn clone(&self) -> ActionTypeId
fn clone(&self) -> ActionTypeId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ActionTypeId
impl Debug for ActionTypeId
sourceimpl PartialEq<ActionTypeId> for ActionTypeId
impl PartialEq<ActionTypeId> for ActionTypeId
sourcefn eq(&self, other: &ActionTypeId) -> bool
fn eq(&self, other: &ActionTypeId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ActionTypeId) -> bool
fn ne(&self, other: &ActionTypeId) -> bool
This method tests for !=
.
impl StructuralPartialEq for ActionTypeId
Auto Trait Implementations
impl RefUnwindSafe for ActionTypeId
impl Send for ActionTypeId
impl Sync for ActionTypeId
impl Unpin for ActionTypeId
impl UnwindSafe for ActionTypeId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more