pub struct TimedSectionMeta {
pub elapsed_ms: u64,
pub data: Value,
}Expand description
Timed section metadata with data
Fields§
§elapsed_ms: u64Wall-clock time spent inside the section
data: ValueArbitrary JSON payload attached by the caller
Trait Implementations§
Source§impl Clone for TimedSectionMeta
impl Clone for TimedSectionMeta
Source§fn clone(&self) -> TimedSectionMeta
fn clone(&self) -> TimedSectionMeta
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 TimedSectionMeta
impl Debug for TimedSectionMeta
Source§impl<'de> Deserialize<'de> for TimedSectionMeta
impl<'de> Deserialize<'de> for TimedSectionMeta
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 TimedSectionMeta
impl RefUnwindSafe for TimedSectionMeta
impl Send for TimedSectionMeta
impl Sync for TimedSectionMeta
impl Unpin for TimedSectionMeta
impl UnsafeUnpin for TimedSectionMeta
impl UnwindSafe for TimedSectionMeta
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