pub struct BoxStatsSummary {Show 15 fields
pub id: String,
pub short_id: String,
pub name: String,
pub status: String,
pub pid: u32,
pub cpus: u32,
pub cpu_percent: f32,
pub cpu_percent_scaled: f64,
pub memory_bytes: u64,
pub memory_limit_bytes: u64,
pub memory_percent: f64,
pub network_rx_bytes: u64,
pub network_tx_bytes: u64,
pub block_read_bytes: u64,
pub block_write_bytes: u64,
}Expand description
Host-side resource usage snapshot for one active box.
Fields§
§id: String§short_id: String§name: String§status: String§pid: u32§cpus: u32§cpu_percent: f32§cpu_percent_scaled: f64§memory_bytes: u64§memory_limit_bytes: u64§memory_percent: f64§network_rx_bytes: u64§network_tx_bytes: u64§block_read_bytes: u64§block_write_bytes: u64Trait Implementations§
Source§impl Clone for BoxStatsSummary
impl Clone for BoxStatsSummary
Source§fn clone(&self) -> BoxStatsSummary
fn clone(&self) -> BoxStatsSummary
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 Debug for BoxStatsSummary
impl Debug for BoxStatsSummary
Source§impl<'de> Deserialize<'de> for BoxStatsSummary
impl<'de> Deserialize<'de> for BoxStatsSummary
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 BoxStatsSummary
impl PartialEq for BoxStatsSummary
Source§impl Serialize for BoxStatsSummary
impl Serialize for BoxStatsSummary
impl StructuralPartialEq for BoxStatsSummary
Auto Trait Implementations§
impl Freeze for BoxStatsSummary
impl RefUnwindSafe for BoxStatsSummary
impl Send for BoxStatsSummary
impl Sync for BoxStatsSummary
impl Unpin for BoxStatsSummary
impl UnsafeUnpin for BoxStatsSummary
impl UnwindSafe for BoxStatsSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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