pub struct NodesStatusGetStatusResponseData {
pub boot_info: Box<NodesStatusGetStatusResponseDataBootInfo>,
pub cpu: f64,
pub cpuinfo: Box<NodesStatusGetStatusResponseDataCpuinfo>,
pub current_kernel: Box<NodesStatusGetStatusResponseDataCurrentKernel>,
pub info: Box<NodesStatusGetStatusResponseDataInfo>,
pub kversion: String,
pub loadavg: Vec<f64>,
pub memory: Box<NodesStatusGetStatusResponseDataMemory>,
pub root: Box<NodesStatusGetStatusResponseDataRoot>,
pub swap: Box<NodesStatusGetStatusResponseDataSwap>,
pub uptime: i64,
pub wait: f64,
}Fields§
§boot_info: Box<NodesStatusGetStatusResponseDataBootInfo>§cpu: f64Total CPU usage since last query.
cpuinfo: Box<NodesStatusGetStatusResponseDataCpuinfo>§current_kernel: Box<NodesStatusGetStatusResponseDataCurrentKernel>§info: Box<NodesStatusGetStatusResponseDataInfo>§kversion: StringThe current kernel version (LEGACY string type).
loadavg: Vec<f64>Load for 1, 5 and 15 minutes.
memory: Box<NodesStatusGetStatusResponseDataMemory>§root: Box<NodesStatusGetStatusResponseDataRoot>§swap: Box<NodesStatusGetStatusResponseDataSwap>§uptime: i64The current uptime of the server.
wait: f64Total IO wait since last query.
Implementations§
Source§impl NodesStatusGetStatusResponseData
impl NodesStatusGetStatusResponseData
pub fn new( boot_info: NodesStatusGetStatusResponseDataBootInfo, cpu: f64, cpuinfo: NodesStatusGetStatusResponseDataCpuinfo, current_kernel: NodesStatusGetStatusResponseDataCurrentKernel, info: NodesStatusGetStatusResponseDataInfo, kversion: String, loadavg: Vec<f64>, memory: NodesStatusGetStatusResponseDataMemory, root: NodesStatusGetStatusResponseDataRoot, swap: NodesStatusGetStatusResponseDataSwap, uptime: i64, wait: f64, ) -> NodesStatusGetStatusResponseData
Trait Implementations§
Source§impl Clone for NodesStatusGetStatusResponseData
impl Clone for NodesStatusGetStatusResponseData
Source§fn clone(&self) -> NodesStatusGetStatusResponseData
fn clone(&self) -> NodesStatusGetStatusResponseData
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 NodesStatusGetStatusResponseData
impl Default for NodesStatusGetStatusResponseData
Source§fn default() -> NodesStatusGetStatusResponseData
fn default() -> NodesStatusGetStatusResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesStatusGetStatusResponseData
impl<'de> Deserialize<'de> for NodesStatusGetStatusResponseData
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 NodesStatusGetStatusResponseData
impl PartialEq for NodesStatusGetStatusResponseData
Source§fn eq(&self, other: &NodesStatusGetStatusResponseData) -> bool
fn eq(&self, other: &NodesStatusGetStatusResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesStatusGetStatusResponseData
Auto Trait Implementations§
impl Freeze for NodesStatusGetStatusResponseData
impl RefUnwindSafe for NodesStatusGetStatusResponseData
impl Send for NodesStatusGetStatusResponseData
impl Sync for NodesStatusGetStatusResponseData
impl Unpin for NodesStatusGetStatusResponseData
impl UnsafeUnpin for NodesStatusGetStatusResponseData
impl UnwindSafe for NodesStatusGetStatusResponseData
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