Enum openstack::compute::ServerPowerState
source · pub enum ServerPowerState {
NoState,
Running,
Paused,
Shutdown,
Crashed,
Suspended,
// some variants omitted
}
Expand description
Possible power states.
Variants
NoState
Running
Paused
Shutdown
Crashed
Suspended
Trait Implementations
sourceimpl Clone for ServerPowerState
impl Clone for ServerPowerState
sourcefn clone(&self) -> ServerPowerState
fn clone(&self) -> ServerPowerState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServerPowerState
impl Debug for ServerPowerState
sourceimpl Default for ServerPowerState
impl Default for ServerPowerState
sourcefn default() -> ServerPowerState
fn default() -> ServerPowerState
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServerPowerState
impl<'de> Deserialize<'de> for ServerPowerState
sourcefn 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
sourceimpl From<ServerPowerState> for u8
impl From<ServerPowerState> for u8
sourcefn from(value: ServerPowerState) -> u8
fn from(value: ServerPowerState) -> u8
Converts to this type from the input type.
sourceimpl PartialEq<ServerPowerState> for ServerPowerState
impl PartialEq<ServerPowerState> for ServerPowerState
sourcefn eq(&self, other: &ServerPowerState) -> bool
fn eq(&self, other: &ServerPowerState) -> bool
sourceimpl Serialize for ServerPowerState
impl Serialize for ServerPowerState
impl Copy for ServerPowerState
impl Eq for ServerPowerState
impl StructuralEq for ServerPowerState
impl StructuralPartialEq for ServerPowerState
Auto Trait Implementations
impl RefUnwindSafe for ServerPowerState
impl Send for ServerPowerState
impl Sync for ServerPowerState
impl Unpin for ServerPowerState
impl UnwindSafe for ServerPowerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.