#[non_exhaustive]pub enum DeploymentState {
Unspecified,
Validating,
Creating,
Deleting,
Failed,
Ready,
PartiallyDeployed,
PartiallyDeleted,
UnknownValue(UnknownValue),
}Expand description
The state of the deployment resource.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
Default value. This value is unused.
Validating
Validating the deployment.
Creating
Deployment is being created.
Deleting
Deployment is being deleted.
Failed
Deployment has failed. All the changes made by the deployment were successfully rolled back. You can retry or delete a deployment that’s in this state.
Ready
Deployment is successful and ready to use.
PartiallyDeployed
Deployment is partially deployed. All the cloud controls weren’t deployed successfully. Retrying the operation resumes from the first failed step.
PartiallyDeleted
Deployment is partially deleted. All the cloud control deployments weren’t deleted successfully. Retrying the operation resumes from the first failed step.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using DeploymentState::value or DeploymentState::name.
Implementations§
Trait Implementations§
Source§impl Clone for DeploymentState
impl Clone for DeploymentState
Source§fn clone(&self) -> DeploymentState
fn clone(&self) -> DeploymentState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeploymentState
impl Debug for DeploymentState
Source§impl Default for DeploymentState
impl Default for DeploymentState
Source§impl<'de> Deserialize<'de> for DeploymentState
impl<'de> Deserialize<'de> for DeploymentState
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for DeploymentState
impl Display for DeploymentState
Source§impl From<&str> for DeploymentState
impl From<&str> for DeploymentState
Source§impl From<i32> for DeploymentState
impl From<i32> for DeploymentState
Source§impl PartialEq for DeploymentState
impl PartialEq for DeploymentState
Source§impl Serialize for DeploymentState
impl Serialize for DeploymentState
impl StructuralPartialEq for DeploymentState
Auto Trait Implementations§
impl Freeze for DeploymentState
impl RefUnwindSafe for DeploymentState
impl Send for DeploymentState
impl Sync for DeploymentState
impl Unpin for DeploymentState
impl UnwindSafe for DeploymentState
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§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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.