pub struct NodeStatusNodeNvram {Show 14 fields
pub batteries: Option<Vec<NodeStatusNodeNvramBattery>>,
pub battery_count: Option<i32>,
pub charge_status: Option<String>,
pub charge_status_number: Option<i32>,
pub device: Option<String>,
pub present: Option<bool>,
pub present_flash: Option<bool>,
pub present_size: Option<u64>,
pub present_type: Option<String>,
pub ship_mode: Option<i32>,
pub supported: Option<bool>,
pub supported_flash: Option<bool>,
pub supported_size: Option<u64>,
pub supported_type: Option<String>,
}Fields§
§batteries: Option<Vec<NodeStatusNodeNvramBattery>>This node’s NVRAM battery status information.
battery_count: Option<i32>This node’s NVRAM battery count.
charge_status: Option<String>This node’s NVRAM battery charge status, as a color.
charge_status_number: Option<i32>This node’s NVRAM battery charge status, as a number.
device: Option<String>This node’s NVRAM device name with path.
present: Option<bool>This node has NVRAM.
present_flash: Option<bool>This node has NVRAM with flash storage.
present_size: Option<u64>The size of the NVRAM, in bytes.
present_type: Option<String>This node’s NVRAM type.
ship_mode: Option<i32>This node’s current ship mode state for NVRAM batteries.
supported: Option<bool>This node supports NVRAM.
supported_flash: Option<bool>This node supports NVRAM with flash storage.
supported_size: Option<u64>The maximum size of the NVRAM, in bytes.
supported_type: Option<String>This node’s supported NVRAM type.
Trait Implementations§
Source§impl Debug for NodeStatusNodeNvram
impl Debug for NodeStatusNodeNvram
Source§impl<'de> Deserialize<'de> for NodeStatusNodeNvram
impl<'de> Deserialize<'de> for NodeStatusNodeNvram
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
Auto Trait Implementations§
impl Freeze for NodeStatusNodeNvram
impl RefUnwindSafe for NodeStatusNodeNvram
impl Send for NodeStatusNodeNvram
impl Sync for NodeStatusNodeNvram
impl Unpin for NodeStatusNodeNvram
impl UnwindSafe for NodeStatusNodeNvram
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more