pub struct PlacementUpdate {
pub row: Option<String>,
pub rack: Option<String>,
pub rack_offset_units: Option<RackUnits>,
pub rack_offset: Option<Int64>,
pub additional_info: Option<String>,
pub room: Option<String>,
pub facility_name: Option<String>,
}Expand description
Update struct corresponding to Placement
Fields§
§row: Option<String>§rack: Option<String>§rack_offset_units: Option<RackUnits>§rack_offset: Option<Int64>§additional_info: Option<String>§room: Option<String>§facility_name: Option<String>Implementations§
Source§impl PlacementUpdate
impl PlacementUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_row(self, v: String) -> Self
pub fn with_rack(self, v: String) -> Self
pub fn with_rack_offset_units(self, v: RackUnits) -> Self
pub fn with_rack_offset(self, v: Int64) -> Self
pub fn with_additional_info(self, v: String) -> Self
pub fn with_room(self, v: String) -> Self
pub fn with_facility_name(self, v: String) -> Self
Trait Implementations§
Source§impl Debug for PlacementUpdate
impl Debug for PlacementUpdate
Source§impl Default for PlacementUpdate
impl Default for PlacementUpdate
Source§fn default() -> PlacementUpdate
fn default() -> PlacementUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlacementUpdate
impl RefUnwindSafe for PlacementUpdate
impl Send for PlacementUpdate
impl Sync for PlacementUpdate
impl Unpin for PlacementUpdate
impl UnsafeUnpin for PlacementUpdate
impl UnwindSafe for PlacementUpdate
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