pub struct BootOption<B: Bmc> { /* private fields */ }Expand description
Boot option.
Provides functions to access boot option.
Implementations§
Source§impl<B: Bmc> BootOption<B>
impl<B: Bmc> BootOption<B>
Sourcepub fn boot_reference(&self) -> BootOptionReference<&str>
pub fn boot_reference(&self) -> BootOptionReference<&str>
Boot option reference.
Sourcepub fn display_name(&self) -> Option<DisplayName<&str>>
pub fn display_name(&self) -> Option<DisplayName<&str>>
The user-readable display name of the boot option that appears in the boot order list in the user interface.
Sourcepub fn uefi_device_path(&self) -> Option<UefiDevicePath<&str>>
pub fn uefi_device_path(&self) -> Option<UefiDevicePath<&str>>
The UEFI device path to access this UEFI boot option.
Trait Implementations§
Source§impl<B: Bmc> Resource for BootOption<B>
impl<B: Bmc> Resource for BootOption<B>
Source§fn resource_ref(&self) -> &ResourceSchema
fn resource_ref(&self) -> &ResourceSchema
Required function. Must be implemented for Redfish resources.
Source§fn id(&self) -> ResourceIdRef<'_>
fn id(&self) -> ResourceIdRef<'_>
Identifier of the resource.
Source§fn name(&self) -> ResourceNameRef<'_>
fn name(&self) -> ResourceNameRef<'_>
Name of the resource.
Source§fn description(&self) -> Option<ResourceDescriptionRef<'_>>
fn description(&self) -> Option<ResourceDescriptionRef<'_>>
Description of the resource.
Auto Trait Implementations§
impl<B> Freeze for BootOption<B>
impl<B> RefUnwindSafe for BootOption<B>where
B: RefUnwindSafe,
impl<B> Send for BootOption<B>
impl<B> Sync for BootOption<B>
impl<B> Unpin for BootOption<B>where
B: Unpin,
impl<B> UnsafeUnpin for BootOption<B>
impl<B> UnwindSafe for BootOption<B>where
B: UnwindSafe,
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