pub struct ClientIdCounts {
pub total: u64,
pub client_ids: BTreeMap<String, u64>,
pub total_unidentified: u64,
pub clipped: bool,
}Expand description
Aggregated per-client counts for a multiple reaction.
Fields§
§total: u64Total count across all clients (sum of per-client counts).
client_ids: BTreeMap<String, u64>Map of client ID to that client’s reaction count.
total_unidentified: u64Total count contributed by unidentified clients.
clipped: boolWhether the client_ids map was truncated.
Trait Implementations§
Source§impl Clone for ClientIdCounts
impl Clone for ClientIdCounts
Source§fn clone(&self) -> ClientIdCounts
fn clone(&self) -> ClientIdCounts
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 ClientIdCounts
impl Debug for ClientIdCounts
Source§impl<'de> Deserialize<'de> for ClientIdCounts
impl<'de> Deserialize<'de> for ClientIdCounts
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
Auto Trait Implementations§
impl Freeze for ClientIdCounts
impl RefUnwindSafe for ClientIdCounts
impl Send for ClientIdCounts
impl Sync for ClientIdCounts
impl Unpin for ClientIdCounts
impl UnsafeUnpin for ClientIdCounts
impl UnwindSafe for ClientIdCounts
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