pub enum OperationalState {
Online,
Offline,
}
Variants§
Online
Memory chunk can be used.
Offline
Memory chunk cannot be used. Consumers of this memory chunk should perform cleanup operations as needed to prepare for the removal of this memory chunk.
Trait Implementations§
Source§impl Clone for OperationalState
impl Clone for OperationalState
Source§fn clone(&self) -> OperationalState
fn clone(&self) -> OperationalState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperationalState
impl Debug for OperationalState
Source§impl Default for OperationalState
impl Default for OperationalState
Source§fn default() -> OperationalState
fn default() -> OperationalState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationalState
impl<'de> Deserialize<'de> for OperationalState
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 Metadata<'static> for OperationalState
impl Metadata<'static> for OperationalState
Source§const JSON_SCHEMA: &'static str = "MemoryChunks.v1_5_0.json"
const JSON_SCHEMA: &'static str = "MemoryChunks.v1_5_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for OperationalState
impl RefUnwindSafe for OperationalState
impl Send for OperationalState
impl Sync for OperationalState
impl Unpin for OperationalState
impl UnwindSafe for OperationalState
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