pub struct CountOut {
pub approximated: bool,
pub count: i32,
}
Fields§
§approximated: bool
There’s a ceiling to how many attempts we count. When the limit is reached, this will be true
to indicate the actual count is higher than given.
count: i32
The count of attempts matching the query.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CountOut
impl<'de> Deserialize<'de> for CountOut
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 StructuralPartialEq for CountOut
Auto Trait Implementations§
impl Freeze for CountOut
impl RefUnwindSafe for CountOut
impl Send for CountOut
impl Sync for CountOut
impl Unpin for CountOut
impl UnwindSafe for CountOut
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