pub struct ChassisCreate {Show 16 fields
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
Create struct corresponding to Chassis
Fields§
§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 ChassisCreate
impl ChassisCreate
pub fn builder() -> Self
pub fn build(self) -> 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 Creatable<ChassisCreate, Chassis> for ChassisCollection
impl Creatable<ChassisCreate, Chassis> for ChassisCollection
Source§impl Debug for ChassisCreate
impl Debug for ChassisCreate
Auto Trait Implementations§
impl Freeze for ChassisCreate
impl RefUnwindSafe for ChassisCreate
impl Send for ChassisCreate
impl Sync for ChassisCreate
impl Unpin for ChassisCreate
impl UnsafeUnpin for ChassisCreate
impl UnwindSafe for ChassisCreate
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