logo
pub struct BuildPhase {
    pub contexts: Option<Vec<PhaseContext>>,
    pub duration_in_seconds: Option<i64>,
    pub end_time: Option<f64>,
    pub phase_status: Option<String>,
    pub phase_type: Option<String>,
    pub start_time: Option<f64>,
}
Expand description

Information about a stage for a build.

Fields

contexts: Option<Vec<PhaseContext>>

Additional information about a build phase, especially to help troubleshoot a failed build.

duration_in_seconds: Option<i64>

How long, in seconds, between the starting and ending times of the build's phase.

end_time: Option<f64>

When the build phase ended, expressed in Unix time format.

phase_status: Option<String>

The current status of the build phase. Valid values include:

FAILED

The build phase failed.

FAULT

The build phase faulted.

INPROGRESS

The build phase is still in progress.

QUEUED

The build has been submitted and is queued behind other submitted builds.

STOPPED

The build phase stopped.

SUCCEEDED

The build phase succeeded.

TIMEDOUT

The build phase timed out.

phase_type: Option<String>

The name of the build phase. Valid values include:

  • BUILD: Core build activities typically occur in this build phase.

  • COMPLETED: The build has been completed.

  • DOWNLOADSOURCE: Source code is being downloaded in this build phase.

  • FINALIZING: The build process is completing in this build phase.

  • INSTALL: Installation activities typically occur in this build phase.

  • POSTBUILD: Post-build activities typically occur in this build phase.

  • PREBUILD: Pre-build activities typically occur in this build phase.

  • PROVISIONING: The build environment is being set up.

  • QUEUED: The build has been submitted and is queued behind other submitted builds.

  • SUBMITTED: The build has been submitted.

  • UPLOADARTIFACTS: Build output artifacts are being uploaded to the output location.

start_time: Option<f64>

When the build phase started, expressed in Unix time format.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more