pub struct KubernetesDaemonHeartbeatData {
pub status: WorkloadHeartbeatStatus,
pub namespace: String,
pub name: String,
pub replicas: WorkloadReplicaStatus,
pub restarts: Option<u32>,
pub command_supported: bool,
pub cpu: Option<MetricSample>,
pub memory: Option<MetricSample>,
pub workload: Option<KubernetesWorkloadStatus>,
pub pods: Vec<KubernetesPodRuntimeUnitStatus>,
pub events: Vec<KubernetesEventSnapshot>,
}Fields§
§status: WorkloadHeartbeatStatus§namespace: String§name: String§replicas: WorkloadReplicaStatus§restarts: Option<u32>§command_supported: bool§cpu: Option<MetricSample>§memory: Option<MetricSample>§workload: Option<KubernetesWorkloadStatus>§pods: Vec<KubernetesPodRuntimeUnitStatus>§events: Vec<KubernetesEventSnapshot>Trait Implementations§
Source§impl Clone for KubernetesDaemonHeartbeatData
impl Clone for KubernetesDaemonHeartbeatData
Source§fn clone(&self) -> KubernetesDaemonHeartbeatData
fn clone(&self) -> KubernetesDaemonHeartbeatData
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<'de> Deserialize<'de> for KubernetesDaemonHeartbeatData
impl<'de> Deserialize<'de> for KubernetesDaemonHeartbeatData
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 KubernetesDaemonHeartbeatData
impl PartialEq for KubernetesDaemonHeartbeatData
Source§fn eq(&self, other: &KubernetesDaemonHeartbeatData) -> bool
fn eq(&self, other: &KubernetesDaemonHeartbeatData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KubernetesDaemonHeartbeatData
Auto Trait Implementations§
impl Freeze for KubernetesDaemonHeartbeatData
impl RefUnwindSafe for KubernetesDaemonHeartbeatData
impl Send for KubernetesDaemonHeartbeatData
impl Sync for KubernetesDaemonHeartbeatData
impl Unpin for KubernetesDaemonHeartbeatData
impl UnsafeUnpin for KubernetesDaemonHeartbeatData
impl UnwindSafe for KubernetesDaemonHeartbeatData
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