#[non_exhaustive]pub struct PipelineTriggerDeclaration {
pub provider_type: PipelineTriggerProviderType,
pub git_configuration: Option<GitConfiguration>,
}
Expand description
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.
This is only supported for the CodeStarSourceConnection
action type.
When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
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.provider_type: PipelineTriggerProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
git_configuration: Option<GitConfiguration>
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
Implementations§
source§impl PipelineTriggerDeclaration
impl PipelineTriggerDeclaration
sourcepub fn provider_type(&self) -> &PipelineTriggerProviderType
pub fn provider_type(&self) -> &PipelineTriggerProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
sourcepub fn git_configuration(&self) -> Option<&GitConfiguration>
pub fn git_configuration(&self) -> Option<&GitConfiguration>
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
source§impl PipelineTriggerDeclaration
impl PipelineTriggerDeclaration
sourcepub fn builder() -> PipelineTriggerDeclarationBuilder
pub fn builder() -> PipelineTriggerDeclarationBuilder
Creates a new builder-style object to manufacture PipelineTriggerDeclaration
.
Trait Implementations§
source§impl Clone for PipelineTriggerDeclaration
impl Clone for PipelineTriggerDeclaration
source§fn clone(&self) -> PipelineTriggerDeclaration
fn clone(&self) -> PipelineTriggerDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineTriggerDeclaration
impl Debug for PipelineTriggerDeclaration
source§impl PartialEq for PipelineTriggerDeclaration
impl PartialEq for PipelineTriggerDeclaration
source§fn eq(&self, other: &PipelineTriggerDeclaration) -> bool
fn eq(&self, other: &PipelineTriggerDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PipelineTriggerDeclaration
Auto Trait Implementations§
impl Freeze for PipelineTriggerDeclaration
impl RefUnwindSafe for PipelineTriggerDeclaration
impl Send for PipelineTriggerDeclaration
impl Sync for PipelineTriggerDeclaration
impl Unpin for PipelineTriggerDeclaration
impl UnwindSafe for PipelineTriggerDeclaration
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