pub enum NamespaceType {
Block,
KeyValue,
Zns,
Computational,
UnsupportedValue,
}Variants§
Block
The namespace is configured for use with a block storage interface.
KeyValue
The namespace is configured for use with a KeyValue interface.
Zns
The namespace is configured for use with a zoned storage interface.
Computational
The namespace is configured for use with a computational storage interface.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for NamespaceType
impl Clone for NamespaceType
Source§fn clone(&self) -> NamespaceType
fn clone(&self) -> NamespaceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NamespaceType
Source§impl Debug for NamespaceType
impl Debug for NamespaceType
Source§impl<'de> Deserialize<'de> for NamespaceType
impl<'de> Deserialize<'de> for NamespaceType
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
impl Eq for NamespaceType
Source§impl PartialEq for NamespaceType
impl PartialEq for NamespaceType
Source§fn eq(&self, other: &NamespaceType) -> bool
fn eq(&self, other: &NamespaceType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NamespaceType
impl Serialize for NamespaceType
impl StructuralPartialEq for NamespaceType
Source§impl ToSnakeCase for NamespaceType
impl ToSnakeCase for NamespaceType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringAuto Trait Implementations§
impl Freeze for NamespaceType
impl RefUnwindSafe for NamespaceType
impl Send for NamespaceType
impl Sync for NamespaceType
impl Unpin for NamespaceType
impl UnsafeUnpin for NamespaceType
impl UnwindSafe for NamespaceType
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