Enum openstack::compute::ServerStatus
source · #[non_exhaustive]
pub enum ServerStatus {
Show 19 variants
Active,
Building,
Deleted,
Error,
HardRebooting,
Migrating,
Paused,
Rebooting,
Resizing,
RevertingResize,
ShutOff,
Suspended,
Rescuing,
Shelved,
ShelvedOffloaded,
SoftDeleted,
Unknown,
UpdatingPassword,
VerifyingResize,
}
Expand description
Possible server statuses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Active
Building
Deleted
Error
HardRebooting
Migrating
Paused
Rebooting
Resizing
RevertingResize
ShutOff
Suspended
Rescuing
Shelved
ShelvedOffloaded
SoftDeleted
Unknown
UpdatingPassword
VerifyingResize
Trait Implementations§
source§impl Clone for ServerStatus
impl Clone for ServerStatus
source§fn clone(&self) -> ServerStatus
fn clone(&self) -> ServerStatus
Returns a copy 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 ServerStatus
impl Debug for ServerStatus
source§impl Default for ServerStatus
impl Default for ServerStatus
source§fn default() -> ServerStatus
fn default() -> ServerStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerStatus
impl<'de> Deserialize<'de> for ServerStatus
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 ServerStatus
impl Display for ServerStatus
source§impl From<ServerStatus> for String
impl From<ServerStatus> for String
source§fn from(value: ServerStatus) -> String
fn from(value: ServerStatus) -> String
Converts to this type from the input type.
source§impl PartialEq<ServerStatus> for ServerStatus
impl PartialEq<ServerStatus> for ServerStatus
source§fn eq(&self, other: &ServerStatus) -> bool
fn eq(&self, other: &ServerStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServerStatus
impl Serialize for ServerStatus
impl Copy for ServerStatus
impl Eq for ServerStatus
impl StructuralEq for ServerStatus
impl StructuralPartialEq for ServerStatus
Auto Trait Implementations§
impl RefUnwindSafe for ServerStatus
impl Send for ServerStatus
impl Sync for ServerStatus
impl Unpin for ServerStatus
impl UnwindSafe for ServerStatus
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.