pub struct EnvironmentStat {
pub time: DateTime<Utc>,
pub last_online: String,
pub container_status: ContainerStatus,
pub stat_error: String,
pub cpu_usage: f32,
pub memory_total: i64,
pub memory_usage: f32,
pub disk_total: i64,
pub disk_used: i64,
pub service_stat: Vec<ServiceStat>,
}
Fields§
§time: DateTime<Utc>
§last_online: String
§container_status: ContainerStatus
§stat_error: String
§cpu_usage: f32
§memory_total: i64
§memory_usage: f32
§disk_total: i64
§disk_used: i64
§service_stat: Vec<ServiceStat>
Trait Implementations§
Source§impl Clone for EnvironmentStat
impl Clone for EnvironmentStat
Source§fn clone(&self) -> EnvironmentStat
fn clone(&self) -> EnvironmentStat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EnvironmentStat
impl Debug for EnvironmentStat
Source§impl<'de> Deserialize<'de> for EnvironmentStat
impl<'de> Deserialize<'de> for EnvironmentStat
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 EnvironmentStat
impl PartialEq for EnvironmentStat
Source§impl Serialize for EnvironmentStat
impl Serialize for EnvironmentStat
impl StructuralPartialEq for EnvironmentStat
Auto Trait Implementations§
impl Freeze for EnvironmentStat
impl RefUnwindSafe for EnvironmentStat
impl Send for EnvironmentStat
impl Sync for EnvironmentStat
impl Unpin for EnvironmentStat
impl UnwindSafe for EnvironmentStat
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