Struct aws_sdk_codepipeline::types::GitConfiguration
source · #[non_exhaustive]pub struct GitConfiguration {
pub source_action_name: String,
pub push: Option<Vec<GitPushFilter>>,
pub pull_request: Option<Vec<GitPullRequestFilter>>,
}
Expand description
A type of trigger configuration for Git-based source actions.
You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the CodeStarSourceConnection
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.source_action_name: String
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
push: Option<Vec<GitPushFilter>>
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
pull_request: Option<Vec<GitPullRequestFilter>>
The field where the repository event that will start the pipeline is specified as pull requests.
Implementations§
source§impl GitConfiguration
impl GitConfiguration
sourcepub fn source_action_name(&self) -> &str
pub fn source_action_name(&self) -> &str
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
sourcepub fn push(&self) -> &[GitPushFilter]
pub fn push(&self) -> &[GitPushFilter]
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .push.is_none()
.
sourcepub fn pull_request(&self) -> &[GitPullRequestFilter]
pub fn pull_request(&self) -> &[GitPullRequestFilter]
The field where the repository event that will start the pipeline is specified as pull requests.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pull_request.is_none()
.
source§impl GitConfiguration
impl GitConfiguration
sourcepub fn builder() -> GitConfigurationBuilder
pub fn builder() -> GitConfigurationBuilder
Creates a new builder-style object to manufacture GitConfiguration
.
Trait Implementations§
source§impl Clone for GitConfiguration
impl Clone for GitConfiguration
source§fn clone(&self) -> GitConfiguration
fn clone(&self) -> GitConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitConfiguration
impl Debug for GitConfiguration
source§impl PartialEq for GitConfiguration
impl PartialEq for GitConfiguration
source§fn eq(&self, other: &GitConfiguration) -> bool
fn eq(&self, other: &GitConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitConfiguration
Auto Trait Implementations§
impl Freeze for GitConfiguration
impl RefUnwindSafe for GitConfiguration
impl Send for GitConfiguration
impl Sync for GitConfiguration
impl Unpin for GitConfiguration
impl UnwindSafe for GitConfiguration
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