pub struct ActivityQueryResponse {
pub entries: Vec<ActivityEntry>,
pub cursor: Option<u64>,
pub head: ActivityCursor,
}Expand description
A page plus the current incarnation’s head at scan capture, even on an empty page. Subscribe from head to move from the scan to live entries without a gap.
Fields§
§entries: Vec<ActivityEntry>§cursor: Option<u64>§head: ActivityCursorImplementations§
Trait Implementations§
Source§impl Clone for ActivityQueryResponse
impl Clone for ActivityQueryResponse
Source§impl Debug for ActivityQueryResponse
impl Debug for ActivityQueryResponse
Source§impl<'de> Deserialize<'de> for ActivityQueryResponse
impl<'de> Deserialize<'de> for ActivityQueryResponse
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
Source§impl PartialEq for ActivityQueryResponse
impl PartialEq for ActivityQueryResponse
Source§impl Serialize for ActivityQueryResponse
impl Serialize for ActivityQueryResponse
impl StructuralPartialEq for ActivityQueryResponse
Auto Trait Implementations§
impl Freeze for ActivityQueryResponse
impl RefUnwindSafe for ActivityQueryResponse
impl Send for ActivityQueryResponse
impl Sync for ActivityQueryResponse
impl Unpin for ActivityQueryResponse
impl UnsafeUnpin for ActivityQueryResponse
impl UnwindSafe for ActivityQueryResponse
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