pub struct CountResult {
pub count: usize,
pub approximate: bool,
pub hll: Option<String>,
}
Expand description
The count results
Fields§
§count: usize
The count
approximate: bool
Whether the count is approximate
hll: Option<String>
Optional HyperLogLog data
Trait Implementations§
source§impl Clone for CountResult
impl Clone for CountResult
source§fn clone(&self) -> CountResult
fn clone(&self) -> CountResult
Returns a copy of the value. Read more
1.0.0 · 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 CountResult
impl Debug for CountResult
source§impl<'de> Deserialize<'de> for CountResult
impl<'de> Deserialize<'de> for CountResult
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 Hash for CountResult
impl Hash for CountResult
source§impl PartialEq for CountResult
impl PartialEq for CountResult
source§impl Serialize for CountResult
impl Serialize for CountResult
impl Eq for CountResult
impl StructuralPartialEq for CountResult
Auto Trait Implementations§
impl Freeze for CountResult
impl RefUnwindSafe for CountResult
impl Send for CountResult
impl Sync for CountResult
impl Unpin for CountResult
impl UnwindSafe for CountResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)