pub struct KubernetesEventSnapshot {
pub count: Option<i32>,
pub event_time: Option<DateTime<Utc>>,
pub first_timestamp: Option<DateTime<Utc>>,
pub involved_object: Option<KubernetesEventInvolvedObject>,
pub last_timestamp: Option<DateTime<Utc>>,
pub message: String,
pub raw: Option<Value>,
pub reason: String,
pub source: Option<KubernetesEventSource>,
pub type_: Option<String>,
}Expand description
KubernetesEventSnapshot
JSON schema
{
"type": "object",
"required": [
"message",
"reason"
],
"properties": {
"count": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"eventTime": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"firstTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"involvedObject": {
"$ref": "#/components/schemas/KubernetesEventInvolvedObject"
},
"lastTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"message": {
"type": "string"
},
"raw": {
"$ref": "#/components/schemas/Value"
},
"reason": {
"type": "string"
},
"source": {
"$ref": "#/components/schemas/KubernetesEventSource"
},
"type": {
"type": [
"string",
"null"
]
}
}
}Fields§
§count: Option<i32>§event_time: Option<DateTime<Utc>>§first_timestamp: Option<DateTime<Utc>>§involved_object: Option<KubernetesEventInvolvedObject>§last_timestamp: Option<DateTime<Utc>>§message: String§raw: Option<Value>§reason: String§source: Option<KubernetesEventSource>§type_: Option<String>Implementations§
Source§impl KubernetesEventSnapshot
impl KubernetesEventSnapshot
pub fn builder() -> KubernetesEventSnapshot
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 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 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 Serialize for KubernetesEventSnapshot
impl Serialize for KubernetesEventSnapshot
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