pub struct RecordedEventWithTime {
pub timestamp: i64,
pub event: RecordedEvent,
}
Fields§
§timestamp: i64
§event: RecordedEvent
Implementations§
Source§impl RecordedEventWithTime
impl RecordedEventWithTime
pub fn new(event: RecordedEvent) -> RecordedEventWithTime
Trait Implementations§
Source§impl Debug for RecordedEventWithTime
impl Debug for RecordedEventWithTime
Source§impl<'de> Deserialize<'de> for RecordedEventWithTime
impl<'de> Deserialize<'de> for RecordedEventWithTime
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordedEventWithTime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecordedEventWithTime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RecordedEventWithTime
impl Serialize for RecordedEventWithTime
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RecordedEventWithTime
impl RefUnwindSafe for RecordedEventWithTime
impl Send for RecordedEventWithTime
impl Sync for RecordedEventWithTime
impl Unpin for RecordedEventWithTime
impl UnwindSafe for RecordedEventWithTime
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