Struct smbioslib::SMBiosBiosLanguageInformation
source · [−]pub struct SMBiosBiosLanguageInformation<'a> { /* private fields */ }
Expand description
BIOS Language Information (Type 13)
The information in this structure defines the installable language attributes of the BIOS.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosBiosLanguageInformation<'a>
impl<'a> SMBiosBiosLanguageInformation<'a>
sourcepub fn number_of_installable_languages(&self) -> Option<u8>
pub fn number_of_installable_languages(&self) -> Option<u8>
Number of languages available Each available language has a description string. This field contains the number of strings that follow the formatted area of the structure.
sourcepub fn flags(&self) -> Option<BiosLanguageFlags>
pub fn flags(&self) -> Option<BiosLanguageFlags>
Bit field indicating the format of the languages.
sourcepub fn current_language(&self) -> Option<String>
pub fn current_language(&self) -> Option<String>
The currently installed language.
Trait Implementations
sourceimpl Debug for SMBiosBiosLanguageInformation<'_>
impl Debug for SMBiosBiosLanguageInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosBiosLanguageInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosBiosLanguageInformation<'a>
sourceconst STRUCT_TYPE: u8
const STRUCT_TYPE: u8
The SMBIOS structure type Read more
sourcefn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
sourcefn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
sourceimpl Serialize for SMBiosBiosLanguageInformation<'_>
impl Serialize for SMBiosBiosLanguageInformation<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosBiosLanguageInformation<'a>
impl<'a> Send for SMBiosBiosLanguageInformation<'a>
impl<'a> Sync for SMBiosBiosLanguageInformation<'a>
impl<'a> Unpin for SMBiosBiosLanguageInformation<'a>
impl<'a> UnwindSafe for SMBiosBiosLanguageInformation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more