pub struct DurationEvent {
pub duration_ms: f64,
}Expand description
Structured duration payload.
Fields§
§duration_ms: f64Trait Implementations§
Source§impl Clone for DurationEvent
impl Clone for DurationEvent
Source§fn clone(&self) -> DurationEvent
fn clone(&self) -> DurationEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 DurationEvent
impl Debug for DurationEvent
Source§impl<'de> Deserialize<'de> for DurationEvent
impl<'de> Deserialize<'de> for DurationEvent
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 PartialEq for DurationEvent
impl PartialEq for DurationEvent
Source§impl Serialize for DurationEvent
impl Serialize for DurationEvent
impl Copy for DurationEvent
impl StructuralPartialEq for DurationEvent
Auto Trait Implementations§
impl Freeze for DurationEvent
impl RefUnwindSafe for DurationEvent
impl Send for DurationEvent
impl Sync for DurationEvent
impl Unpin for DurationEvent
impl UnsafeUnpin for DurationEvent
impl UnwindSafe for DurationEvent
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