pub struct StatusOverview {
pub java: Option<JavaInfo>,
pub os: Option<OsInfo>,
pub uptime_ms: i64,
pub memory: Vec<i64>,
pub cpu_fraction: f64,
pub disk: Option<DiskInfo>,
pub license: Option<StatusLicense>,
}Expand description
Runtime half of StatusResult — the overview fields agents and
humans actually read, under unit-explicit names.
Fields§
§java: Option<JavaInfo>JVM block {version, vendor, name}, when reported.
os: Option<OsInfo>OS block {name, arch, version}, when reported.
uptime_ms: i64Uptime in epoch MILLISECONDS (gateway key: uptime).
memory: Vec<i64>[used, max] heap bytes.
cpu_fraction: f64CPU utilization as a 0–1 FRACTION (gateway key: cpu; the
systemPerformance/currentGauges endpoint reports PERCENT —
ign metrics is that one’s home).
disk: Option<DiskInfo>Disk block {total, used} bytes, when reported.
license: Option<StatusLicense>License state incl. the trial countdown, when reported.
Trait Implementations§
Source§impl Debug for StatusOverview
impl Debug for StatusOverview
Auto Trait Implementations§
impl Freeze for StatusOverview
impl RefUnwindSafe for StatusOverview
impl Send for StatusOverview
impl Sync for StatusOverview
impl Unpin for StatusOverview
impl UnsafeUnpin for StatusOverview
impl UnwindSafe for StatusOverview
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