pub struct KubernetesPodRuntimeUnitStatus {
pub name: String,
pub uid: Option<String>,
pub phase: Option<String>,
pub ready: bool,
pub restart_count: u32,
pub waiting_reason: Option<String>,
pub terminated_reason: Option<String>,
pub node_name: Option<String>,
pub pod_ip: Option<String>,
pub owner_references: Vec<KubernetesOwnerReference>,
pub cpu: Option<MetricSample>,
pub memory: Option<MetricSample>,
}Fields§
§name: String§uid: Option<String>§phase: Option<String>§ready: bool§restart_count: u32§waiting_reason: Option<String>§terminated_reason: Option<String>§node_name: Option<String>§pod_ip: Option<String>§owner_references: Vec<KubernetesOwnerReference>§cpu: Option<MetricSample>§memory: Option<MetricSample>Trait Implementations§
Source§impl Clone for KubernetesPodRuntimeUnitStatus
impl Clone for KubernetesPodRuntimeUnitStatus
Source§fn clone(&self) -> KubernetesPodRuntimeUnitStatus
fn clone(&self) -> KubernetesPodRuntimeUnitStatus
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 KubernetesPodRuntimeUnitStatus
impl<'de> Deserialize<'de> for KubernetesPodRuntimeUnitStatus
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 KubernetesPodRuntimeUnitStatus
impl PartialEq for KubernetesPodRuntimeUnitStatus
Source§fn eq(&self, other: &KubernetesPodRuntimeUnitStatus) -> bool
fn eq(&self, other: &KubernetesPodRuntimeUnitStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KubernetesPodRuntimeUnitStatus
Auto Trait Implementations§
impl Freeze for KubernetesPodRuntimeUnitStatus
impl RefUnwindSafe for KubernetesPodRuntimeUnitStatus
impl Send for KubernetesPodRuntimeUnitStatus
impl Sync for KubernetesPodRuntimeUnitStatus
impl Unpin for KubernetesPodRuntimeUnitStatus
impl UnsafeUnpin for KubernetesPodRuntimeUnitStatus
impl UnwindSafe for KubernetesPodRuntimeUnitStatus
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