pub struct KubernetesEventSnapshot { /* private fields */ }Implementations§
Source§impl KubernetesEventSnapshot
impl KubernetesEventSnapshot
pub fn count<T>(self, value: T) -> Self
pub fn event_time<T>(self, value: T) -> Self
pub fn first_timestamp<T>(self, value: T) -> Self
pub fn involved_object<T>(self, value: T) -> Self
pub fn last_timestamp<T>(self, value: T) -> Self
pub fn message<T>(self, value: T) -> Self
pub fn raw<T>(self, value: T) -> Self
pub fn reason<T>(self, value: T) -> Self
pub fn source<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for KubernetesEventSnapshot
impl Clone for KubernetesEventSnapshot
Source§fn clone(&self) -> KubernetesEventSnapshot
fn clone(&self) -> KubernetesEventSnapshot
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 Debug for KubernetesEventSnapshot
impl Debug for KubernetesEventSnapshot
Source§impl Default for KubernetesEventSnapshot
impl Default for KubernetesEventSnapshot
Source§impl From<KubernetesEventSnapshot> for KubernetesEventSnapshot
impl From<KubernetesEventSnapshot> for KubernetesEventSnapshot
Source§fn from(value: KubernetesEventSnapshot) -> Self
fn from(value: KubernetesEventSnapshot) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesEventSnapshot> for KubernetesEventSnapshot
impl TryFrom<KubernetesEventSnapshot> for KubernetesEventSnapshot
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesEventSnapshot) -> Result<Self, ConversionError>
fn try_from(value: KubernetesEventSnapshot) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesEventSnapshot
impl RefUnwindSafe for KubernetesEventSnapshot
impl Send for KubernetesEventSnapshot
impl Sync for KubernetesEventSnapshot
impl Unpin for KubernetesEventSnapshot
impl UnsafeUnpin for KubernetesEventSnapshot
impl UnwindSafe for KubernetesEventSnapshot
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