pub struct LocalRuntimeEventSnapshot {
pub kind: String,
pub message: String,
pub raw: Option<Value>,
pub severity: HeartbeatIssueSeverity,
pub subject: Option<LocalRuntimeEventSubject>,
pub timestamp: DateTime<Utc>,
}Expand description
LocalRuntimeEventSnapshot
JSON schema
{
"type": "object",
"required": [
"kind",
"message",
"severity",
"timestamp"
],
"properties": {
"kind": {
"type": "string"
},
"message": {
"type": "string"
},
"raw": {
"$ref": "#/components/schemas/Value"
},
"severity": {
"$ref": "#/components/schemas/HeartbeatIssueSeverity"
},
"subject": {
"$ref": "#/components/schemas/LocalRuntimeEventSubject"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
}Fields§
§kind: String§message: String§raw: Option<Value>§severity: HeartbeatIssueSeverity§subject: Option<LocalRuntimeEventSubject>§timestamp: DateTime<Utc>Implementations§
Source§impl LocalRuntimeEventSnapshot
impl LocalRuntimeEventSnapshot
pub fn builder() -> LocalRuntimeEventSnapshot
Trait Implementations§
Source§impl Clone for LocalRuntimeEventSnapshot
impl Clone for LocalRuntimeEventSnapshot
Source§fn clone(&self) -> LocalRuntimeEventSnapshot
fn clone(&self) -> LocalRuntimeEventSnapshot
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 LocalRuntimeEventSnapshot
impl Debug for LocalRuntimeEventSnapshot
Source§impl<'de> Deserialize<'de> for LocalRuntimeEventSnapshot
impl<'de> Deserialize<'de> for LocalRuntimeEventSnapshot
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<&LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
impl From<&LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
Source§fn from(value: &LocalRuntimeEventSnapshot) -> Self
fn from(value: &LocalRuntimeEventSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
impl From<LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
Source§fn from(value: LocalRuntimeEventSnapshot) -> Self
fn from(value: LocalRuntimeEventSnapshot) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
impl TryFrom<LocalRuntimeEventSnapshot> for LocalRuntimeEventSnapshot
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalRuntimeEventSnapshot) -> Result<Self, ConversionError>
fn try_from(value: LocalRuntimeEventSnapshot) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LocalRuntimeEventSnapshot
impl RefUnwindSafe for LocalRuntimeEventSnapshot
impl Send for LocalRuntimeEventSnapshot
impl Sync for LocalRuntimeEventSnapshot
impl Unpin for LocalRuntimeEventSnapshot
impl UnsafeUnpin for LocalRuntimeEventSnapshot
impl UnwindSafe for LocalRuntimeEventSnapshot
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