pub struct Placement {
pub additional_info: Option<String>,
pub rack: Option<String>,
pub rack_offset: Option<i64>,
pub rack_offset_units: Option<RackUnits>,
pub row: Option<String>,
}
Expand description
The placement within the addressed location.
Fields§
§additional_info: Option<String>
Area designation or other additional info.
rack: Option<String>
The name of a rack location within a row.
rack_offset: Option<i64>
The vertical location of the item, in terms of RackOffsetUnits.
rack_offset_units: Option<RackUnits>
§row: Option<String>
The name of the row.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Placement
impl<'de> Deserialize<'de> for Placement
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 Placement
impl Metadata<'static> for Placement
Source§const JSON_SCHEMA: &'static str = "Resource.v1_9_8.json"
const JSON_SCHEMA: &'static str = "Resource.v1_9_8.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 Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnwindSafe for Placement
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