pub struct SMBiosSystemChassisInformation<'a> { /* private fields */ }
Expand description
§System Enclosure or Chassis (Type 3)
The information in this structure (see Table 16) defines attributes of the system’s mechanical enclosure(s). For example, if a system included a separate enclosure for its peripheral devices, two structures would be returned: one for the main system enclosure and the second for the peripheral device enclosure. The additions to this structure in version 2.1 of this specification support the population of the CIM_Chassis class.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations§
Source§impl<'a> SMBiosSystemChassisInformation<'a>
impl<'a> SMBiosSystemChassisInformation<'a>
Sourcepub fn manufacturer(&self) -> SMBiosString
pub fn manufacturer(&self) -> SMBiosString
Manufacturer
Sourcepub fn chassis_type(&self) -> Option<ChassisTypeData>
pub fn chassis_type(&self) -> Option<ChassisTypeData>
Chassis type
Bit 7 Chassis lock is present if 1. Otherwise, either a lock is not present or it is unknown if the enclosure has a lock. Bits 6:0 Enumeration value.
Sourcepub fn version(&self) -> SMBiosString
pub fn version(&self) -> SMBiosString
Version
Sourcepub fn serial_number(&self) -> SMBiosString
pub fn serial_number(&self) -> SMBiosString
Serial number
Sourcepub fn asset_tag_number(&self) -> SMBiosString
pub fn asset_tag_number(&self) -> SMBiosString
Asset tag number
Sourcepub fn bootup_state(&self) -> Option<ChassisStateData>
pub fn bootup_state(&self) -> Option<ChassisStateData>
Boot-up State
State of the enclosure when it was last booted.
Sourcepub fn power_supply_state(&self) -> Option<ChassisStateData>
pub fn power_supply_state(&self) -> Option<ChassisStateData>
Power supply state
State of the enclosure’s power supply (or supplies) when last booted
Sourcepub fn thermal_state(&self) -> Option<ChassisStateData>
pub fn thermal_state(&self) -> Option<ChassisStateData>
Thermal state
Thermal state of the enclosure when last booted.
Sourcepub fn security_status(&self) -> Option<ChassisSecurityStatusData>
pub fn security_status(&self) -> Option<ChassisSecurityStatusData>
Security status
Physical security status of the enclosure when last booted.
Sourcepub fn oem_defined(&self) -> Option<u32>
pub fn oem_defined(&self) -> Option<u32>
OEM-defined
OEM- or BIOS vendor-specific information
Sourcepub fn height(&self) -> Option<ChassisHeight>
pub fn height(&self) -> Option<ChassisHeight>
Height
Height of the enclosure, in ’U’s
A U is a standard unit of measure for the height of a rack or rack-mountable component and is equal to 1.75 inches or 4.445 cm.
Sourcepub fn number_of_power_cords(&self) -> Option<PowerCords>
pub fn number_of_power_cords(&self) -> Option<PowerCords>
Number of power cords
Number of power cords associated with the enclosure or chassis
Sourcepub fn contained_element_count(&self) -> Option<u8>
pub fn contained_element_count(&self) -> Option<u8>
Contained element count (n)
Number of Contained Element records that follow, in the range 0 to 255 Each Contained Element group comprises m bytes, as specified by the Contained Element Record Length field that follows. If no Contained Elements are included, this field is set to 0.
Sourcepub fn contained_element_record_length(&self) -> Option<u8>
pub fn contained_element_record_length(&self) -> Option<u8>
Contained element record length (m)
Byte length of each Contained Element record that follows, in the range 0 to 255 If no Contained Elements are included, this field is set to 0. For version 2.3.2 and later of this specification, this field is set to at least 03h when Contained Elements are specified.
Sourcepub fn contained_elements(&self) -> Option<ContainedElements<'_>>
pub fn contained_elements(&self) -> Option<ContainedElements<'_>>
Contained Elements
Sourcepub fn sku_number(&self) -> SMBiosString
pub fn sku_number(&self) -> SMBiosString
SKU number
Chassis or enclosure SKU number