pub struct ChassisUpdate {Show 17 fields
pub base: Option<ResourceUpdate>,
pub asset_tag: Option<String>,
pub indicator_led: Option<IndicatorLed>,
pub physical_security: Option<PhysicalSecurityUpdate>,
pub location: Option<LocationUpdate>,
pub environmental_class: Option<EnvironmentalClass>,
pub location_indicator_active: Option<Boolean>,
pub electrical_source_manager_uris: Option<Vec<String>>,
pub electrical_source_names: Option<Vec<String>>,
pub doors: Option<DoorsUpdate>,
pub heating_cooling_manager_uris: Option<Vec<String>>,
pub heating_cooling_equipment_names: Option<Vec<String>>,
pub ready_to_remove: Option<Boolean>,
pub rack_mount_capacity_units: Option<Decimal>,
pub rack_units: Option<RackUnits>,
pub rack_mount_width: Option<RackMountWidth>,
pub rack_mount_depth_mm: Option<Decimal>,
}Expand description
Update struct corresponding to Chassis
Fields§
§base: Option<ResourceUpdate>§asset_tag: Option<String>§indicator_led: Option<IndicatorLed>§physical_security: Option<PhysicalSecurityUpdate>§location: Option<LocationUpdate>§environmental_class: Option<EnvironmentalClass>§location_indicator_active: Option<Boolean>§electrical_source_manager_uris: Option<Vec<String>>§electrical_source_names: Option<Vec<String>>§doors: Option<DoorsUpdate>§heating_cooling_manager_uris: Option<Vec<String>>§heating_cooling_equipment_names: Option<Vec<String>>§ready_to_remove: Option<Boolean>§rack_mount_capacity_units: Option<Decimal>§rack_units: Option<RackUnits>§rack_mount_width: Option<RackMountWidth>§rack_mount_depth_mm: Option<Decimal>Implementations§
Source§impl ChassisUpdate
impl ChassisUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_asset_tag(self, v: String) -> Self
pub fn with_indicator_led(self, v: IndicatorLed) -> Self
pub fn with_physical_security(self, v: PhysicalSecurityUpdate) -> Self
pub fn with_location(self, v: LocationUpdate) -> Self
pub fn with_environmental_class(self, v: EnvironmentalClass) -> Self
pub fn with_location_indicator_active(self, v: Boolean) -> Self
pub fn with_electrical_source_manager_uris(self, v: Vec<String>) -> Self
pub fn with_electrical_source_names(self, v: Vec<String>) -> Self
pub fn with_doors(self, v: DoorsUpdate) -> Self
pub fn with_heating_cooling_manager_uris(self, v: Vec<String>) -> Self
pub fn with_heating_cooling_equipment_names(self, v: Vec<String>) -> Self
pub fn with_ready_to_remove(self, v: Boolean) -> Self
pub fn with_rack_mount_capacity_units(self, v: Decimal) -> Self
pub fn with_rack_units(self, v: RackUnits) -> Self
pub fn with_rack_mount_width(self, v: RackMountWidth) -> Self
pub fn with_rack_mount_depth_mm(self, v: Decimal) -> Self
Trait Implementations§
Source§impl Debug for ChassisUpdate
impl Debug for ChassisUpdate
Source§impl Default for ChassisUpdate
impl Default for ChassisUpdate
Source§fn default() -> ChassisUpdate
fn default() -> ChassisUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for ChassisUpdate
impl Serialize for ChassisUpdate
Auto Trait Implementations§
impl Freeze for ChassisUpdate
impl RefUnwindSafe for ChassisUpdate
impl Send for ChassisUpdate
impl Sync for ChassisUpdate
impl Unpin for ChassisUpdate
impl UnsafeUnpin for ChassisUpdate
impl UnwindSafe for ChassisUpdate
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