pub enum ResourceStatus {
Pending,
Provisioning,
ProvisionFailed,
Running,
Updating,
UpdateFailed,
Deleting,
DeleteFailed,
Deleted,
RefreshFailed,
}Expand description
Represents the high-level status of a resource during its lifecycle.
JSON schema
{
"description": "Represents the high-level status of a resource during its lifecycle.",
"type": "string",
"enum": [
"pending",
"provisioning",
"provision-failed",
"running",
"updating",
"update-failed",
"deleting",
"delete-failed",
"deleted",
"refresh-failed"
]
}Variants§
Pending
Provisioning
ProvisionFailed
Running
Updating
UpdateFailed
Deleting
DeleteFailed
Deleted
RefreshFailed
Trait Implementations§
Source§impl Clone for ResourceStatus
impl Clone for ResourceStatus
Source§fn clone(&self) -> ResourceStatus
fn clone(&self) -> ResourceStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceStatus
impl Debug for ResourceStatus
Source§impl<'de> Deserialize<'de> for ResourceStatus
impl<'de> Deserialize<'de> for ResourceStatus
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ResourceStatus
impl Display for ResourceStatus
Source§impl From<&ResourceStatus> for ResourceStatus
impl From<&ResourceStatus> for ResourceStatus
Source§fn from(value: &ResourceStatus) -> Self
fn from(value: &ResourceStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for ResourceStatus
impl FromStr for ResourceStatus
Source§impl Hash for ResourceStatus
impl Hash for ResourceStatus
Source§impl Ord for ResourceStatus
impl Ord for ResourceStatus
Source§fn cmp(&self, other: &ResourceStatus) -> Ordering
fn cmp(&self, other: &ResourceStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResourceStatus
impl PartialEq for ResourceStatus
Source§impl PartialOrd for ResourceStatus
impl PartialOrd for ResourceStatus
Source§impl Serialize for ResourceStatus
impl Serialize for ResourceStatus
Source§impl TryFrom<&String> for ResourceStatus
impl TryFrom<&String> for ResourceStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResourceStatus
impl TryFrom<&str> for ResourceStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResourceStatus
impl TryFrom<String> for ResourceStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for ResourceStatus
impl Eq for ResourceStatus
impl StructuralPartialEq for ResourceStatus
Auto Trait Implementations§
impl Freeze for ResourceStatus
impl RefUnwindSafe for ResourceStatus
impl Send for ResourceStatus
impl Sync for ResourceStatus
impl Unpin for ResourceStatus
impl UnsafeUnpin for ResourceStatus
impl UnwindSafe for ResourceStatus
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
Mutably borrows from an owned value. Read more
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.