pub struct ActivityPage {
pub entries: Vec<ActivityEntry>,
pub next_after_sequence: u64,
pub head_sequence: u64,
pub gap: Option<ActivityGap>,
}Expand description
A bounded page of the activity feed.
Fields§
§entries: Vec<ActivityEntry>Records in ascending feed order.
next_after_sequence: u64Cursor for the next request; unchanged for an empty page without a gap.
head_sequence: u64Newest sequence ever assigned, so a client can tell it is caught up or was reset.
gap: Option<ActivityGap>Present when the requested cursor precedes what retention kept; the client must treat the feed as discontinuous rather than as complete.
Trait Implementations§
Source§impl Clone for ActivityPage
impl Clone for ActivityPage
Source§impl Debug for ActivityPage
impl Debug for ActivityPage
Source§impl<'de> Deserialize<'de> for ActivityPage
impl<'de> Deserialize<'de> for ActivityPage
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
impl Eq for ActivityPage
Source§impl PartialEq for ActivityPage
impl PartialEq for ActivityPage
Source§impl Serialize for ActivityPage
impl Serialize for ActivityPage
impl StructuralPartialEq for ActivityPage
Auto Trait Implementations§
impl Freeze for ActivityPage
impl RefUnwindSafe for ActivityPage
impl Send for ActivityPage
impl Sync for ActivityPage
impl Unpin for ActivityPage
impl UnsafeUnpin for ActivityPage
impl UnwindSafe for ActivityPage
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