Struct aws_sdk_codepipeline::types::ExecutionTrigger
source · #[non_exhaustive]pub struct ExecutionTrigger {
pub trigger_type: Option<TriggerType>,
pub trigger_detail: Option<String>,
}
Expand description
The interaction or event that started a pipeline execution.
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.trigger_type: Option<TriggerType>
The type of change-detection method, command, or user interaction that started a pipeline execution.
trigger_detail: Option<String>
Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution
CLI command.
Implementations§
source§impl ExecutionTrigger
impl ExecutionTrigger
sourcepub fn trigger_type(&self) -> Option<&TriggerType>
pub fn trigger_type(&self) -> Option<&TriggerType>
The type of change-detection method, command, or user interaction that started a pipeline execution.
sourcepub fn trigger_detail(&self) -> Option<&str>
pub fn trigger_detail(&self) -> Option<&str>
Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution
CLI command.
source§impl ExecutionTrigger
impl ExecutionTrigger
sourcepub fn builder() -> ExecutionTriggerBuilder
pub fn builder() -> ExecutionTriggerBuilder
Creates a new builder-style object to manufacture ExecutionTrigger
.
Trait Implementations§
source§impl Clone for ExecutionTrigger
impl Clone for ExecutionTrigger
source§fn clone(&self) -> ExecutionTrigger
fn clone(&self) -> ExecutionTrigger
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionTrigger
impl Debug for ExecutionTrigger
source§impl PartialEq for ExecutionTrigger
impl PartialEq for ExecutionTrigger
source§fn eq(&self, other: &ExecutionTrigger) -> bool
fn eq(&self, other: &ExecutionTrigger) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutionTrigger
Auto Trait Implementations§
impl Freeze for ExecutionTrigger
impl RefUnwindSafe for ExecutionTrigger
impl Send for ExecutionTrigger
impl Sync for ExecutionTrigger
impl Unpin for ExecutionTrigger
impl UnwindSafe for ExecutionTrigger
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> 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