Struct defmt_json_schema::v1::JsonFrame
source · [−]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
sourceimpl<'de> Deserialize<'de> for JsonFrame
impl<'de> Deserialize<'de> for JsonFrame
sourcefn 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 RefUnwindSafe for JsonFrame
impl Send for JsonFrame
impl Sync for JsonFrame
impl Unpin for JsonFrame
impl UnwindSafe for JsonFrame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more