Struct aws_sdk_codepipeline::types::GitPullRequestFilter
source · #[non_exhaustive]pub struct GitPullRequestFilter {
pub events: Option<Vec<GitPullRequestEventType>>,
pub branches: Option<GitBranchFilterCriteria>,
pub file_paths: Option<GitFilePathFilterCriteria>,
}
Expand description
The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.
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.events: Option<Vec<GitPullRequestEventType>>
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
branches: Option<GitBranchFilterCriteria>
The field that specifies to filter on branches for the pull request trigger configuration.
file_paths: Option<GitFilePathFilterCriteria>
The field that specifies to filter on file paths for the pull request trigger configuration.
Implementations§
source§impl GitPullRequestFilter
impl GitPullRequestFilter
sourcepub fn events(&self) -> &[GitPullRequestEventType]
pub fn events(&self) -> &[GitPullRequestEventType]
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
sourcepub fn branches(&self) -> Option<&GitBranchFilterCriteria>
pub fn branches(&self) -> Option<&GitBranchFilterCriteria>
The field that specifies to filter on branches for the pull request trigger configuration.
sourcepub fn file_paths(&self) -> Option<&GitFilePathFilterCriteria>
pub fn file_paths(&self) -> Option<&GitFilePathFilterCriteria>
The field that specifies to filter on file paths for the pull request trigger configuration.
source§impl GitPullRequestFilter
impl GitPullRequestFilter
sourcepub fn builder() -> GitPullRequestFilterBuilder
pub fn builder() -> GitPullRequestFilterBuilder
Creates a new builder-style object to manufacture GitPullRequestFilter
.
Trait Implementations§
source§impl Clone for GitPullRequestFilter
impl Clone for GitPullRequestFilter
source§fn clone(&self) -> GitPullRequestFilter
fn clone(&self) -> GitPullRequestFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitPullRequestFilter
impl Debug for GitPullRequestFilter
source§impl PartialEq for GitPullRequestFilter
impl PartialEq for GitPullRequestFilter
source§fn eq(&self, other: &GitPullRequestFilter) -> bool
fn eq(&self, other: &GitPullRequestFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitPullRequestFilter
Auto Trait Implementations§
impl Freeze for GitPullRequestFilter
impl RefUnwindSafe for GitPullRequestFilter
impl Send for GitPullRequestFilter
impl Sync for GitPullRequestFilter
impl Unpin for GitPullRequestFilter
impl UnwindSafe for GitPullRequestFilter
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