pub struct PollResponse {
pub events: Vec<StoredEvent>,
pub next_id: Option<String>,
pub has_more: bool,
}Expand description
Response from a poll request.
Fields§
§events: Vec<StoredEvent>Events returned.
next_id: Option<String>Cursor for the next poll.
has_more: boolWhether more events are available.
Trait Implementations§
Source§impl Clone for PollResponse
impl Clone for PollResponse
Source§fn clone(&self) -> PollResponse
fn clone(&self) -> PollResponse
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 PollResponse
impl RefUnwindSafe for PollResponse
impl Send for PollResponse
impl Sync for PollResponse
impl Unpin for PollResponse
impl UnsafeUnpin for PollResponse
impl UnwindSafe for PollResponse
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