pub struct CountOutcome {
pub status: u16,
pub count: u64,
pub pool_reuse: bool,
}Expand description
The outcome of a count: the upstream status and the matched document count.
Fields§
§status: u16The upstream HTTP status.
count: u64The number of matching documents.
pool_reuse: boolWhether this count rode a reused pooled connection (NFR-P telemetry).
Implementations§
Source§impl CountOutcome
impl CountOutcome
Trait Implementations§
Source§impl Clone for CountOutcome
impl Clone for CountOutcome
Source§fn clone(&self) -> CountOutcome
fn clone(&self) -> CountOutcome
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 moreimpl Copy for CountOutcome
Source§impl Debug for CountOutcome
impl Debug for CountOutcome
impl Eq for CountOutcome
Source§impl PartialEq for CountOutcome
impl PartialEq for CountOutcome
Source§fn eq(&self, other: &CountOutcome) -> bool
fn eq(&self, other: &CountOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CountOutcome
Auto Trait Implementations§
impl Freeze for CountOutcome
impl RefUnwindSafe for CountOutcome
impl Send for CountOutcome
impl Sync for CountOutcome
impl Unpin for CountOutcome
impl UnsafeUnpin for CountOutcome
impl UnwindSafe for CountOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.