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§fn clone(&self) -> ActivityQueryResponse
fn clone(&self) -> ActivityQueryResponse
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 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<ActivityQueryResponse, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ActivityQueryResponse, <D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ActivityQueryResponse
Auto Trait Implementations§
impl Forget for ActivityQueryResponse
impl Freeze for ActivityQueryResponse
impl Move 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