pub struct ShardPollResult {
pub events: Vec<StoredEvent>,
pub next_id: Option<String>,
pub has_more: bool,
}Expand description
Result of polling a single shard.
Fields§
§events: Vec<StoredEvent>Events retrieved from the shard.
next_id: Option<String>Cursor for the next poll (backend-specific). None if no events were returned.
has_more: boolTrue if there are more events available.
Implementations§
Trait Implementations§
Source§impl Clone for ShardPollResult
impl Clone for ShardPollResult
Source§fn clone(&self) -> ShardPollResult
fn clone(&self) -> ShardPollResult
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 moreAuto Trait Implementations§
impl Freeze for ShardPollResult
impl RefUnwindSafe for ShardPollResult
impl Send for ShardPollResult
impl Sync for ShardPollResult
impl Unpin for ShardPollResult
impl UnsafeUnpin for ShardPollResult
impl UnwindSafe for ShardPollResult
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