pub struct MessageIteratorArgs {
pub start_time: Option<TimeNanos>,
pub end_time: Option<TimeNanos>,
pub channels: Vec<ChannelId>,
}
Expand description
Arguments to the create_iter method.
Fields§
§start_time: Option<TimeNanos>
The start time in nanoseconds to begin returning messages from.
If the start time is not supplied return messages from the beginning of the file.
end_time: Option<TimeNanos>
The end time in nanoseconds to return messages until.
If the end time is not supplied return messages until the end of the file.
channels: Vec<ChannelId>
The list of channels to return messages from.
Trait Implementations§
Source§impl Clone for MessageIteratorArgs
impl Clone for MessageIteratorArgs
Source§fn clone(&self) -> MessageIteratorArgs
fn clone(&self) -> MessageIteratorArgs
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 moreAuto Trait Implementations§
impl Freeze for MessageIteratorArgs
impl RefUnwindSafe for MessageIteratorArgs
impl Send for MessageIteratorArgs
impl Sync for MessageIteratorArgs
impl Unpin for MessageIteratorArgs
impl UnwindSafe for MessageIteratorArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> SaturatingInto<T> for Uwhere
T: SaturatingFrom<U>,
impl<T, U> SaturatingInto<T> for Uwhere
T: SaturatingFrom<U>,
Source§fn saturating_into(self) -> T
fn saturating_into(self) -> T
Performs the conversion.