pub struct JsonFrame {
pub data: String,
pub host_timestamp: i64,
pub level: Option<Level>,
pub location: Location,
pub target_timestamp: String,
}
Fields§
§data: String
§host_timestamp: i64
Unix timestamp in nanoseconds
level: Option<Level>
§location: Location
§target_timestamp: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonFrame
impl<'de> Deserialize<'de> for JsonFrame
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
Auto Trait Implementations§
impl Freeze for JsonFrame
impl RefUnwindSafe for JsonFrame
impl Send for JsonFrame
impl Sync for JsonFrame
impl Unpin for JsonFrame
impl UnwindSafe for JsonFrame
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