Struct aws_sdk_codebuild::types::BuildSummary
source · #[non_exhaustive]pub struct BuildSummary {
pub arn: Option<String>,
pub requested_on: Option<DateTime>,
pub build_status: Option<StatusType>,
pub primary_artifact: Option<ResolvedArtifact>,
pub secondary_artifacts: Option<Vec<ResolvedArtifact>>,
}
Expand description
Contains summary information about a batch build group.
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.arn: Option<String>
The batch build ARN.
requested_on: Option<DateTime>
When the build was started, expressed in Unix time format.
build_status: Option<StatusType>
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
primary_artifact: Option<ResolvedArtifact>
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
secondary_artifacts: Option<Vec<ResolvedArtifact>>
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build group.
Implementations§
source§impl BuildSummary
impl BuildSummary
sourcepub fn requested_on(&self) -> Option<&DateTime>
pub fn requested_on(&self) -> Option<&DateTime>
When the build was started, expressed in Unix time format.
sourcepub fn build_status(&self) -> Option<&StatusType>
pub fn build_status(&self) -> Option<&StatusType>
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
sourcepub fn primary_artifact(&self) -> Option<&ResolvedArtifact>
pub fn primary_artifact(&self) -> Option<&ResolvedArtifact>
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
sourcepub fn secondary_artifacts(&self) -> &[ResolvedArtifact]
pub fn secondary_artifacts(&self) -> &[ResolvedArtifact]
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .secondary_artifacts.is_none()
.
source§impl BuildSummary
impl BuildSummary
sourcepub fn builder() -> BuildSummaryBuilder
pub fn builder() -> BuildSummaryBuilder
Creates a new builder-style object to manufacture BuildSummary
.
Trait Implementations§
source§impl Clone for BuildSummary
impl Clone for BuildSummary
source§fn clone(&self) -> BuildSummary
fn clone(&self) -> BuildSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildSummary
impl Debug for BuildSummary
source§impl PartialEq for BuildSummary
impl PartialEq for BuildSummary
impl StructuralPartialEq for BuildSummary
Auto Trait Implementations§
impl Freeze for BuildSummary
impl RefUnwindSafe for BuildSummary
impl Send for BuildSummary
impl Sync for BuildSummary
impl Unpin for BuildSummary
impl UnwindSafe for BuildSummary
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