pub struct DiscoveryReceipt {
pub requested_after_ms: Option<u64>,
pub requested_before_ms: Option<u64>,
pub requested_limit: Option<usize>,
pub oldest_returned_ms: Option<u64>,
pub newest_returned_ms: Option<u64>,
pub returned: usize,
pub total_matched: usize,
pub truncated: bool,
}Expand description
Coverage evidence for one discovery page.
Fields§
§requested_after_ms: Option<u64>The requested lower time bound (epoch ms), when one was given.
requested_before_ms: Option<u64>The requested upper time bound (epoch ms), when one was given.
requested_limit: Option<usize>The requested page limit, when one was given.
oldest_returned_ms: Option<u64>Oldest updated_at_ms among the RETURNED sessions.
newest_returned_ms: Option<u64>Newest updated_at_ms among the RETURNED sessions.
returned: usizeSessions in this page.
total_matched: usizeSessions matching the query across ALL pages.
truncated: boolTrue when matches beyond this page exist (next_cursor is the resume
point). Explicit so a consumer cannot mistake a capped page for the
complete result set.
Trait Implementations§
Source§impl Clone for DiscoveryReceipt
impl Clone for DiscoveryReceipt
Source§fn clone(&self) -> DiscoveryReceipt
fn clone(&self) -> DiscoveryReceipt
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 DiscoveryReceipt
impl Debug for DiscoveryReceipt
Source§impl Default for DiscoveryReceipt
impl Default for DiscoveryReceipt
Source§fn default() -> DiscoveryReceipt
fn default() -> DiscoveryReceipt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiscoveryReceiptwhere
DiscoveryReceipt: Default,
impl<'de> Deserialize<'de> for DiscoveryReceiptwhere
DiscoveryReceipt: Default,
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 DiscoveryReceipt
Source§impl PartialEq for DiscoveryReceipt
impl PartialEq for DiscoveryReceipt
Source§impl Serialize for DiscoveryReceipt
impl Serialize for DiscoveryReceipt
impl StructuralPartialEq for DiscoveryReceipt
Auto Trait Implementations§
impl Freeze for DiscoveryReceipt
impl RefUnwindSafe for DiscoveryReceipt
impl Send for DiscoveryReceipt
impl Sync for DiscoveryReceipt
impl Unpin for DiscoveryReceipt
impl UnsafeUnpin for DiscoveryReceipt
impl UnwindSafe for DiscoveryReceipt
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.