pub struct EventLine {
pub seq: u64,
pub event: Event,
}Expand description
One line of the stream: a sequence number and the event itself, flattened so a line is a single flat JSON object.
Fields§
§seq: u64§event: EventImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventLine
impl<'de> Deserialize<'de> for EventLine
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
impl StructuralPartialEq for EventLine
Auto Trait Implementations§
impl Freeze for EventLine
impl RefUnwindSafe for EventLine
impl Send for EventLine
impl Sync for EventLine
impl Unpin for EventLine
impl UnsafeUnpin for EventLine
impl UnwindSafe for EventLine
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