pub struct UpstreamSystemInfo {
pub v: Option<String>,
pub u: Option<u64>,
pub cpu: Option<f64>,
pub mp: Option<f64>,
}Expand description
Summary fields carried on system records and rt_metrics.info.
Fields§
§v: Option<String>Agent semantic version (e.g. "0.21.2").
u: Option<u64>System uptime in seconds.
cpu: Option<f64>CPU percent summary.
mp: Option<f64>Memory percent summary.
Trait Implementations§
Source§impl Clone for UpstreamSystemInfo
impl Clone for UpstreamSystemInfo
Source§impl Debug for UpstreamSystemInfo
impl Debug for UpstreamSystemInfo
Source§impl Default for UpstreamSystemInfo
impl Default for UpstreamSystemInfo
Source§impl<'de> Deserialize<'de> for UpstreamSystemInfo
impl<'de> Deserialize<'de> for UpstreamSystemInfo
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 Forget for UpstreamSystemInfo
impl Freeze for UpstreamSystemInfo
impl Move for UpstreamSystemInfo
impl RefUnwindSafe for UpstreamSystemInfo
impl Send for UpstreamSystemInfo
impl Sync for UpstreamSystemInfo
impl Unpin for UpstreamSystemInfo
impl UnsafeUnpin for UpstreamSystemInfo
impl UnwindSafe for UpstreamSystemInfo
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