pub struct EventsPage {
pub events: Vec<Box<RawValue>>,
pub has_more: bool,
pub floor: Option<u64>,
}Expand description
sync.events response (§10.2), also the member part of sync.resume.
Fields§
§events: Vec<Box<RawValue>>Event envelopes in sequence order.
has_more: boolMore events follow.
floor: Option<u64>Channel stream only: the member’s floor (§10.6).
Trait Implementations§
Source§impl Clone for EventsPage
impl Clone for EventsPage
Source§fn clone(&self) -> EventsPage
fn clone(&self) -> EventsPage
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 EventsPage
impl Debug for EventsPage
Source§impl<'de> Deserialize<'de> for EventsPage
impl<'de> Deserialize<'de> for EventsPage
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 EventsPage
impl RefUnwindSafe for EventsPage
impl Send for EventsPage
impl Sync for EventsPage
impl Unpin for EventsPage
impl UnsafeUnpin for EventsPage
impl UnwindSafe for EventsPage
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