pub struct ClientIdCounts {
pub total: i32,
pub client_ids: HashMap<String, i32>,
pub total_unidentified: i32,
pub clipped: Option<bool>,
pub total_client_ids: Option<i32>,
}Expand description
ClientIdCounts : Aggregated per-client counts for a multiple reaction.
Fields§
§total: i32Total count across all clients (sum of per-client counts).
client_ids: HashMap<String, i32>Map of client ID to that client’s reaction count.
total_unidentified: i32Total count contributed by unidentified clients.
clipped: Option<bool>Whether the clientIds map was truncated.
total_client_ids: Option<i32>Total number of distinct client IDs that reacted.
Implementations§
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 Default for ClientIdCounts
impl Default for ClientIdCounts
Source§fn default() -> ClientIdCounts
fn default() -> ClientIdCounts
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for ClientIdCounts
impl PartialEq for ClientIdCounts
Source§impl Serialize for ClientIdCounts
impl Serialize for ClientIdCounts
impl StructuralPartialEq for ClientIdCounts
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