pub enum LocationType {
Slot,
Bay,
Connector,
Socket,
Backplane,
Embedded,
UnsupportedValue,
}Expand description
The types of locations for a part within an enclosure.
This enumeration shall list the types of locations for a part within an enclosure.
Variants§
Slot
A slot.
This value shall indicate the part is located in a slot.
Bay
A bay.
This value shall indicate the part is located in a bay.
Connector
A connector or port.
This value shall indicate the part is located in a connector or port.
Socket
A socket.
This value shall indicate the part is located in a socket.
Backplane
A backplane.
This value shall indicate the part is a backplane in an enclosure.
Embedded
Embedded within a part.
This value shall indicate the part is embedded or otherwise permanently incorporated into a larger part or device. This value shall not be used for parts that can be removed by a user or are considered field-replaceable.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for LocationType
impl Clone for LocationType
Source§fn clone(&self) -> LocationType
fn clone(&self) -> LocationType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocationType
impl Debug for LocationType
Source§impl<'de> Deserialize<'de> for LocationType
impl<'de> Deserialize<'de> for LocationType
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>,
Source§impl PartialEq for LocationType
impl PartialEq for LocationType
Source§impl Serialize for LocationType
impl Serialize for LocationType
Source§impl ToSnakeCase for LocationType
impl ToSnakeCase for LocationType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string