#[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 ==
.