pub struct TimestampBatch {
pub ts: NaiveDateTime,
pub events: Vec<FeedEvent>,
}Expand description
A contiguous batch of events with the same timestamp.
Fields§
§ts: NaiveDateTime§events: Vec<FeedEvent>Implementations§
Trait Implementations§
Source§impl Clone for TimestampBatch
impl Clone for TimestampBatch
Source§fn clone(&self) -> TimestampBatch
fn clone(&self) -> TimestampBatch
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 TimestampBatch
impl Debug for TimestampBatch
Source§impl<'de> Deserialize<'de> for TimestampBatch
impl<'de> Deserialize<'de> for TimestampBatch
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 TimestampBatch
impl RefUnwindSafe for TimestampBatch
impl Send for TimestampBatch
impl Sync for TimestampBatch
impl Unpin for TimestampBatch
impl UnsafeUnpin for TimestampBatch
impl UnwindSafe for TimestampBatch
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