pub struct ManagedRuntimeEventSnapshot {
pub count: Option<i32>,
pub details: Option<Value>,
pub event_id: Option<String>,
pub event_time: Option<DateTime<Utc>>,
pub first_timestamp: Option<DateTime<Utc>>,
pub involved_object: Option<ManagedRuntimeEventInvolvedObject>,
pub last_timestamp: Option<DateTime<Utc>>,
pub message: String,
pub raw: Option<Value>,
pub reason: String,
pub source: Option<ManagedRuntimeEventSource>,
pub type_: Option<String>,
}Expand description
ManagedRuntimeEventSnapshot
JSON schema
{
"type": "object",
"required": [
"message",
"reason"
],
"properties": {
"count": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"details": {
"$ref": "#/components/schemas/Value"
},
"eventId": {
"type": [
"string",
"null"
]
},
"eventTime": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"firstTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"involvedObject": {
"$ref": "#/components/schemas/ManagedRuntimeEventInvolvedObject"
},
"lastTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"message": {
"type": "string"
},
"raw": {
"$ref": "#/components/schemas/Value"
},
"reason": {
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ManagedRuntimeEventSource"
},
"type": {
"type": [
"string",
"null"
]
}
}
}Fields§
§count: Option<i32>§details: Option<Value>§event_id: Option<String>§event_time: Option<DateTime<Utc>>§first_timestamp: Option<DateTime<Utc>>§involved_object: Option<ManagedRuntimeEventInvolvedObject>§last_timestamp: Option<DateTime<Utc>>§message: String§raw: Option<Value>§reason: String§source: Option<ManagedRuntimeEventSource>§type_: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ManagedRuntimeEventSnapshot
impl Clone for ManagedRuntimeEventSnapshot
Source§fn clone(&self) -> ManagedRuntimeEventSnapshot
fn clone(&self) -> ManagedRuntimeEventSnapshot
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 ManagedRuntimeEventSnapshot
impl Debug for ManagedRuntimeEventSnapshot
Source§impl<'de> Deserialize<'de> for ManagedRuntimeEventSnapshot
impl<'de> Deserialize<'de> for ManagedRuntimeEventSnapshot
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<&ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
impl From<&ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
Source§fn from(value: &ManagedRuntimeEventSnapshot) -> Self
fn from(value: &ManagedRuntimeEventSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
impl From<ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
Source§fn from(value: ManagedRuntimeEventSnapshot) -> Self
fn from(value: ManagedRuntimeEventSnapshot) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
impl TryFrom<ManagedRuntimeEventSnapshot> for ManagedRuntimeEventSnapshot
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ManagedRuntimeEventSnapshot) -> Result<Self, ConversionError>
fn try_from(value: ManagedRuntimeEventSnapshot) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ManagedRuntimeEventSnapshot
impl RefUnwindSafe for ManagedRuntimeEventSnapshot
impl Send for ManagedRuntimeEventSnapshot
impl Sync for ManagedRuntimeEventSnapshot
impl Unpin for ManagedRuntimeEventSnapshot
impl UnsafeUnpin for ManagedRuntimeEventSnapshot
impl UnwindSafe for ManagedRuntimeEventSnapshot
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