pub struct NodesStatusGetStatusResponseDataBootInfo {
pub mode: PbsNodesStatusModeEnum,
pub secureboot: bool,
}Expand description
NodesStatusGetStatusResponseDataBootInfo : Holds the Bootmodes
Fields§
§mode: PbsNodesStatusModeEnumThe possible BootModes
secureboot: boolSecureBoot status
Implementations§
Source§impl NodesStatusGetStatusResponseDataBootInfo
impl NodesStatusGetStatusResponseDataBootInfo
Sourcepub fn new(
mode: PbsNodesStatusModeEnum,
secureboot: bool,
) -> NodesStatusGetStatusResponseDataBootInfo
pub fn new( mode: PbsNodesStatusModeEnum, secureboot: bool, ) -> NodesStatusGetStatusResponseDataBootInfo
Holds the Bootmodes
Trait Implementations§
Source§impl Clone for NodesStatusGetStatusResponseDataBootInfo
impl Clone for NodesStatusGetStatusResponseDataBootInfo
Source§fn clone(&self) -> NodesStatusGetStatusResponseDataBootInfo
fn clone(&self) -> NodesStatusGetStatusResponseDataBootInfo
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 NodesStatusGetStatusResponseDataBootInfo
impl Default for NodesStatusGetStatusResponseDataBootInfo
Source§fn default() -> NodesStatusGetStatusResponseDataBootInfo
fn default() -> NodesStatusGetStatusResponseDataBootInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesStatusGetStatusResponseDataBootInfo
impl<'de> Deserialize<'de> for NodesStatusGetStatusResponseDataBootInfo
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 NodesStatusGetStatusResponseDataBootInfo
impl PartialEq for NodesStatusGetStatusResponseDataBootInfo
Source§fn eq(&self, other: &NodesStatusGetStatusResponseDataBootInfo) -> bool
fn eq(&self, other: &NodesStatusGetStatusResponseDataBootInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesStatusGetStatusResponseDataBootInfo
Auto Trait Implementations§
impl Freeze for NodesStatusGetStatusResponseDataBootInfo
impl RefUnwindSafe for NodesStatusGetStatusResponseDataBootInfo
impl Send for NodesStatusGetStatusResponseDataBootInfo
impl Sync for NodesStatusGetStatusResponseDataBootInfo
impl Unpin for NodesStatusGetStatusResponseDataBootInfo
impl UnsafeUnpin for NodesStatusGetStatusResponseDataBootInfo
impl UnwindSafe for NodesStatusGetStatusResponseDataBootInfo
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