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