pub struct KubernetesEventSnapshot {
pub reason: String,
pub type_: Option<String>,
pub message: String,
pub count: Option<i32>,
pub first_timestamp: Option<DateTime<Utc>>,
pub last_timestamp: Option<DateTime<Utc>>,
pub event_time: Option<DateTime<Utc>>,
pub source: Option<KubernetesEventSource>,
pub involved_object: Option<KubernetesEventInvolvedObject>,
pub raw: Option<Value>,
}Fields§
§reason: String§type_: Option<String>§message: String§count: Option<i32>§first_timestamp: Option<DateTime<Utc>>§last_timestamp: Option<DateTime<Utc>>§event_time: Option<DateTime<Utc>>§source: Option<KubernetesEventSource>§involved_object: Option<KubernetesEventInvolvedObject>§raw: Option<Value>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<'de> Deserialize<'de> for KubernetesEventSnapshot
impl<'de> Deserialize<'de> for KubernetesEventSnapshot
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 KubernetesEventSnapshot
impl PartialEq for KubernetesEventSnapshot
Source§fn eq(&self, other: &KubernetesEventSnapshot) -> bool
fn eq(&self, other: &KubernetesEventSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KubernetesEventSnapshot
impl Serialize for KubernetesEventSnapshot
impl StructuralPartialEq for KubernetesEventSnapshot
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