pub struct NodesStatusStatusResponseDataBootInfo {
pub mode: PveNodesStatusModeEnum,
pub secureboot: Option<PveBoolean>,
}Expand description
NodesStatusStatusResponseDataBootInfo : Meta-information about the boot mode.
Fields§
§mode: PveNodesStatusModeEnumThrough which firmware the system got booted.
secureboot: Option<PveBoolean>System is booted in secure mode, only applicable for the "efi" mode.
Implementations§
Source§impl NodesStatusStatusResponseDataBootInfo
impl NodesStatusStatusResponseDataBootInfo
Sourcepub fn new(
mode: PveNodesStatusModeEnum,
) -> NodesStatusStatusResponseDataBootInfo
pub fn new( mode: PveNodesStatusModeEnum, ) -> NodesStatusStatusResponseDataBootInfo
Meta-information about the boot mode.
Trait Implementations§
Source§impl Clone for NodesStatusStatusResponseDataBootInfo
impl Clone for NodesStatusStatusResponseDataBootInfo
Source§fn clone(&self) -> NodesStatusStatusResponseDataBootInfo
fn clone(&self) -> NodesStatusStatusResponseDataBootInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for NodesStatusStatusResponseDataBootInfo
impl Default for NodesStatusStatusResponseDataBootInfo
Source§fn default() -> NodesStatusStatusResponseDataBootInfo
fn default() -> NodesStatusStatusResponseDataBootInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesStatusStatusResponseDataBootInfo
impl<'de> Deserialize<'de> for NodesStatusStatusResponseDataBootInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodesStatusStatusResponseDataBootInfo
impl PartialEq for NodesStatusStatusResponseDataBootInfo
Source§fn eq(&self, other: &NodesStatusStatusResponseDataBootInfo) -> bool
fn eq(&self, other: &NodesStatusStatusResponseDataBootInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesStatusStatusResponseDataBootInfo
Auto Trait Implementations§
impl Freeze for NodesStatusStatusResponseDataBootInfo
impl RefUnwindSafe for NodesStatusStatusResponseDataBootInfo
impl Send for NodesStatusStatusResponseDataBootInfo
impl Sync for NodesStatusStatusResponseDataBootInfo
impl Unpin for NodesStatusStatusResponseDataBootInfo
impl UnsafeUnpin for NodesStatusStatusResponseDataBootInfo
impl UnwindSafe for NodesStatusStatusResponseDataBootInfo
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