Struct aws_sdk_codebuild::types::BuildGroup
source · #[non_exhaustive]pub struct BuildGroup {
pub identifier: Option<String>,
pub depends_on: Option<Vec<String>>,
pub ignore_failure: bool,
pub current_build_summary: Option<BuildSummary>,
pub prior_build_summary_list: Option<Vec<BuildSummary>>,
}
Expand description
Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups.
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.identifier: Option<String>
Contains the identifier of the build group.
depends_on: Option<Vec<String>>
An array of strings that contain the identifiers of the build groups that this build group depends on.
ignore_failure: bool
Specifies if failures in this build group can be ignored.
current_build_summary: Option<BuildSummary>
A BuildSummary
object that contains a summary of the current build group.
prior_build_summary_list: Option<Vec<BuildSummary>>
An array of BuildSummary
objects that contain summaries of previous build groups.
Implementations§
source§impl BuildGroup
impl BuildGroup
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
Contains the identifier of the build group.
sourcepub fn depends_on(&self) -> &[String]
pub fn depends_on(&self) -> &[String]
An array of strings that contain the identifiers of the build groups that this build group depends on.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .depends_on.is_none()
.
sourcepub fn ignore_failure(&self) -> bool
pub fn ignore_failure(&self) -> bool
Specifies if failures in this build group can be ignored.
sourcepub fn current_build_summary(&self) -> Option<&BuildSummary>
pub fn current_build_summary(&self) -> Option<&BuildSummary>
A BuildSummary
object that contains a summary of the current build group.
sourcepub fn prior_build_summary_list(&self) -> &[BuildSummary]
pub fn prior_build_summary_list(&self) -> &[BuildSummary]
An array of BuildSummary
objects that contain summaries of previous build groups.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .prior_build_summary_list.is_none()
.
source§impl BuildGroup
impl BuildGroup
sourcepub fn builder() -> BuildGroupBuilder
pub fn builder() -> BuildGroupBuilder
Creates a new builder-style object to manufacture BuildGroup
.
Trait Implementations§
source§impl Clone for BuildGroup
impl Clone for BuildGroup
source§fn clone(&self) -> BuildGroup
fn clone(&self) -> BuildGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildGroup
impl Debug for BuildGroup
source§impl PartialEq for BuildGroup
impl PartialEq for BuildGroup
impl StructuralPartialEq for BuildGroup
Auto Trait Implementations§
impl Freeze for BuildGroup
impl RefUnwindSafe for BuildGroup
impl Send for BuildGroup
impl Sync for BuildGroup
impl Unpin for BuildGroup
impl UnwindSafe for BuildGroup
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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