pub struct ClickCount {
pub counted: Option<bool>,
}Fields§
§counted: Option<bool>Counted says the in-memory buffer took the ping. It does NOT say the code exists — this is deliberately not a code-existence oracle, and an unknown code simply no-ops at flush time. false means the buffer was full and the ping was dropped, which is harmless: clicks are vanity and move no money.
Implementations§
Source§impl ClickCount
impl ClickCount
pub fn new() -> ClickCount
Trait Implementations§
Source§impl Clone for ClickCount
impl Clone for ClickCount
Source§fn clone(&self) -> ClickCount
fn clone(&self) -> ClickCount
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 ClickCount
impl Debug for ClickCount
Source§impl Default for ClickCount
impl Default for ClickCount
Source§fn default() -> ClickCount
fn default() -> ClickCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickCount
impl<'de> Deserialize<'de> for ClickCount
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 PartialEq for ClickCount
impl PartialEq for ClickCount
Source§impl Serialize for ClickCount
impl Serialize for ClickCount
impl StructuralPartialEq for ClickCount
Auto Trait Implementations§
impl Freeze for ClickCount
impl RefUnwindSafe for ClickCount
impl Send for ClickCount
impl Sync for ClickCount
impl Unpin for ClickCount
impl UnsafeUnpin for ClickCount
impl UnwindSafe for ClickCount
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