pub struct PodStatsReport {
pub block_io: Option<String>,
pub cid: Option<String>,
pub cpu: Option<String>,
pub mem: Option<String>,
pub mem_usage: Option<String>,
pub mem_usage_bytes: Option<String>,
pub name: Option<String>,
pub net_io: Option<String>,
pub pids: Option<String>,
pub pod: Option<String>,
}
Fields§
§block_io: Option<String>
Humanized disk usage read + write
cid: Option<String>
Container ID
cpu: Option<String>
Percentage of CPU utilized by pod
mem: Option<String>
Percentage of Memory utilized by pod
mem_usage: Option<String>
Humanized Memory usage and maximum
mem_usage_bytes: Option<String>
Memory usage and maximum in bytes
name: Option<String>
Pod Name
net_io: Option<String>
Network usage inbound + outbound
pids: Option<String>
Container PID
pod: Option<String>
Pod ID
Implementations§
Source§impl PodStatsReport
impl PodStatsReport
pub fn new() -> PodStatsReport
Trait Implementations§
Source§impl Clone for PodStatsReport
impl Clone for PodStatsReport
Source§fn clone(&self) -> PodStatsReport
fn clone(&self) -> PodStatsReport
Returns a duplicate 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 PodStatsReport
impl Debug for PodStatsReport
Source§impl Default for PodStatsReport
impl Default for PodStatsReport
Source§fn default() -> PodStatsReport
fn default() -> PodStatsReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodStatsReport
impl<'de> Deserialize<'de> for PodStatsReport
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 PodStatsReport
impl PartialEq for PodStatsReport
Source§impl Serialize for PodStatsReport
impl Serialize for PodStatsReport
impl StructuralPartialEq for PodStatsReport
Auto Trait Implementations§
impl Freeze for PodStatsReport
impl RefUnwindSafe for PodStatsReport
impl Send for PodStatsReport
impl Sync for PodStatsReport
impl Unpin for PodStatsReport
impl UnwindSafe for PodStatsReport
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