pub enum LocationType {
Slot,
Bay,
Connector,
Socket,
Backplane,
Embedded,
}Expand description
The types of locations for a part within an enclosure.
Variants§
Slot
This value shall indicate the part is located in a slot.
Bay
This value shall indicate the part is located in a bay.
Connector
This value shall indicate the part is located in a connector or port.
Socket
This value shall indicate the part is located in a socket.
Backplane
This value shall indicate the part is a backplane in an enclosure. Added in version v1_12_0.
Embedded
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. Added in version v1_13_0.
Trait Implementations§
Source§impl Clone for LocationType
impl Clone for LocationType
Source§fn clone(&self) -> LocationType
fn clone(&self) -> LocationType
Returns a duplicate 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 LocationType
impl Debug for LocationType
Source§impl Default for LocationType
impl Default for LocationType
Source§fn default() -> LocationType
fn default() -> LocationType
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for LocationType
impl Metadata<'static> for LocationType
Source§const JSON_SCHEMA: &'static str = "Resource.v1_14_1.json"
const JSON_SCHEMA: &'static str = "Resource.v1_14_1.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 LocationType
impl RefUnwindSafe for LocationType
impl Send for LocationType
impl Sync for LocationType
impl Unpin for LocationType
impl UnwindSafe for LocationType
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