pub struct KubernetesContainerHeartbeatData { /* private fields */ }Implementations§
Source§impl KubernetesContainerHeartbeatData
impl KubernetesContainerHeartbeatData
pub fn cpu<T>(self, value: T) -> Self
pub fn events<T>(self, value: T) -> Self
pub fn memory<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn namespace<T>(self, value: T) -> Self
pub fn pods<T>(self, value: T) -> Self
pub fn replicas<T>(self, value: T) -> Self
pub fn restarts<T>(self, value: T) -> Self
pub fn status<T>(self, value: T) -> Self
pub fn workload<T>(self, value: T) -> Self
pub fn workload_kind<T>(self, value: T) -> Self
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 From<KubernetesContainerHeartbeatData> for KubernetesContainerHeartbeatData
impl From<KubernetesContainerHeartbeatData> for KubernetesContainerHeartbeatData
Source§fn from(value: KubernetesContainerHeartbeatData) -> Self
fn from(value: KubernetesContainerHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesContainerHeartbeatData> for KubernetesContainerHeartbeatData
impl TryFrom<KubernetesContainerHeartbeatData> for KubernetesContainerHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: KubernetesContainerHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: KubernetesContainerHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
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