pub struct StatsBreakdown {
pub value: String,
pub clicks: i64,
}Expand description
A single bucket in an analytics breakdown — one country, one device, etc.
Fields§
§value: StringBucket label (e.g. country code, device class, browser name).
clicks: i64Click count for this bucket.
Trait Implementations§
Source§impl Clone for StatsBreakdown
impl Clone for StatsBreakdown
Source§fn clone(&self) -> StatsBreakdown
fn clone(&self) -> StatsBreakdown
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 StatsBreakdown
impl Debug for StatsBreakdown
Source§impl<'de> Deserialize<'de> for StatsBreakdown
impl<'de> Deserialize<'de> for StatsBreakdown
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 StatsBreakdown
Source§impl PartialEq for StatsBreakdown
impl PartialEq for StatsBreakdown
Source§impl Serialize for StatsBreakdown
impl Serialize for StatsBreakdown
impl StructuralPartialEq for StatsBreakdown
Auto Trait Implementations§
impl Freeze for StatsBreakdown
impl RefUnwindSafe for StatsBreakdown
impl Send for StatsBreakdown
impl Sync for StatsBreakdown
impl Unpin for StatsBreakdown
impl UnsafeUnpin for StatsBreakdown
impl UnwindSafe for StatsBreakdown
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