pub struct SMBiosStringProperty<'a> { /* private fields */ }
Expand description
§String Property (Type 46)
This structure defines a string property for another structure. This allows adding string properties that are common to several structures without having to modify the definitions of these structures. Multiple type 46 structures can add string properties to the same parent structure.
NOTE: This structure type was added in version 3.5 of this specification.
Compliant with: DMTF SMBIOS Reference Specification 3.5.0 (DSP0134) Document Date: 2021-09-15
Implementations§
Source§impl<'a> SMBiosStringProperty<'a>
impl<'a> SMBiosStringProperty<'a>
Sourcepub fn string_property_id(&self) -> Option<StringPropertyIdData>
pub fn string_property_id(&self) -> Option<StringPropertyIdData>
String Property Id
Sourcepub fn string_property_value(&self) -> SMBiosString
pub fn string_property_value(&self) -> SMBiosString
String Property Value
Sourcepub fn parent_handle(&self) -> Option<Handle>
pub fn parent_handle(&self) -> Option<Handle>
Parent Handle
Handle corresponding to the structure this string property applies to
Trait Implementations§
Source§impl Debug for SMBiosStringProperty<'_>
impl Debug for SMBiosStringProperty<'_>
Source§impl<'a> SMBiosStruct<'a> for SMBiosStringProperty<'a>
impl<'a> SMBiosStruct<'a> for SMBiosStringProperty<'a>
Source§const STRUCT_TYPE: u8 = 46u8
const STRUCT_TYPE: u8 = 46u8
The SMBIOS structure type Read more
Source§fn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
Source§fn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
Auto Trait Implementations§
impl<'a> Freeze for SMBiosStringProperty<'a>
impl<'a> RefUnwindSafe for SMBiosStringProperty<'a>
impl<'a> Send for SMBiosStringProperty<'a>
impl<'a> Sync for SMBiosStringProperty<'a>
impl<'a> Unpin for SMBiosStringProperty<'a>
impl<'a> UnwindSafe for SMBiosStringProperty<'a>
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