Struct smbioslib::SMBiosSystemChassisInformation [−][src]
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
impl<'a> SMBiosSystemChassisInformation<'a>
[src]
pub fn manufacturer(&self) -> Option<String>
[src]
Manufacturer
pub fn chassis_type(&self) -> Option<ChassisTypeData>
[src]
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.
pub fn version(&self) -> Option<String>
[src]
Version
pub fn serial_number(&self) -> Option<String>
[src]
Serial number
pub fn asset_tag_number(&self) -> Option<String>
[src]
Asset tag number
pub fn bootup_state(&self) -> Option<ChassisStateData>
[src]
Boot-up State
State of the enclosure when it was last booted.
pub fn power_supply_state(&self) -> Option<ChassisStateData>
[src]
Power supply state
State of the enclosure’s power supply (or supplies) when last booted
pub fn thermal_state(&self) -> Option<ChassisStateData>
[src]
Thermal state
Thermal state of the enclosure when last booted.
pub fn security_status(&self) -> Option<ChassisSecurityStatusData>
[src]
Security status
Physical security status of the enclosure when last booted.
pub fn oem_defined(&self) -> Option<u32>
[src]
OEM-defined
OEM- or BIOS vendor-specific information
pub fn height(&self) -> Option<ChassisHeight>
[src]
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.
pub fn number_of_power_cords(&self) -> Option<PowerCords>
[src]
Number of power cords
Number of power cords associated with the enclosure or chassis
pub fn contained_element_count(&self) -> Option<u8>
[src]
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.
pub fn contained_element_record_length(&self) -> Option<u8>
[src]
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.
pub fn contained_elements(&self) -> Option<ContainedElements<'_>>
[src]
Contained Elements
pub fn sku_number(&self) -> Option<String>
[src]
SKU number
Chassis or enclosure SKU number
Trait Implementations
impl Debug for SMBiosSystemChassisInformation<'_>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosSystemChassisInformation<'a>
[src]
const STRUCT_TYPE: u8
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosSystemChassisInformation<'a>
impl<'a> Send for SMBiosSystemChassisInformation<'a>
impl<'a> Sync for SMBiosSystemChassisInformation<'a>
impl<'a> Unpin for SMBiosSystemChassisInformation<'a>
impl<'a> UnwindSafe for SMBiosSystemChassisInformation<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,