pub struct ChatStatisticsChannel { /* private fields */ }
Expand description
A detailed statistics about a channel chat
Implementations§
Source§impl ChatStatisticsChannel
impl ChatStatisticsChannel
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatStatisticsChannelBuilder
pub fn period(&self) -> &DateRange
pub fn member_count(&self) -> &StatisticalValue
pub fn mean_view_count(&self) -> &StatisticalValue
pub fn enabled_notifications_percentage(&self) -> f32
pub fn member_count_graph(&self) -> &StatisticalGraph
pub fn join_graph(&self) -> &StatisticalGraph
pub fn mute_graph(&self) -> &StatisticalGraph
pub fn view_count_by_hour_graph(&self) -> &StatisticalGraph
pub fn view_count_by_source_graph(&self) -> &StatisticalGraph
pub fn join_by_source_graph(&self) -> &StatisticalGraph
pub fn language_graph(&self) -> &StatisticalGraph
pub fn message_interaction_graph(&self) -> &StatisticalGraph
pub fn instant_view_interaction_graph(&self) -> &StatisticalGraph
pub fn recent_message_interactions( &self, ) -> &Vec<ChatStatisticsMessageInteractionInfo>
Trait Implementations§
Source§impl AsRef<ChatStatisticsChannel> for ChatStatisticsChannel
impl AsRef<ChatStatisticsChannel> for ChatStatisticsChannel
Source§fn as_ref(&self) -> &ChatStatisticsChannel
fn as_ref(&self) -> &ChatStatisticsChannel
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ChatStatisticsChannel
impl Clone for ChatStatisticsChannel
Source§fn clone(&self) -> ChatStatisticsChannel
fn clone(&self) -> ChatStatisticsChannel
Returns a copy of the value. Read more
1.0.0 · 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 ChatStatisticsChannel
impl Debug for ChatStatisticsChannel
Source§impl Default for ChatStatisticsChannel
impl Default for ChatStatisticsChannel
Source§fn default() -> ChatStatisticsChannel
fn default() -> ChatStatisticsChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatStatisticsChannel
impl<'de> Deserialize<'de> for ChatStatisticsChannel
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 Serialize for ChatStatisticsChannel
impl Serialize for ChatStatisticsChannel
impl TDChatStatistics for ChatStatisticsChannel
Auto Trait Implementations§
impl Freeze for ChatStatisticsChannel
impl RefUnwindSafe for ChatStatisticsChannel
impl Send for ChatStatisticsChannel
impl Sync for ChatStatisticsChannel
impl Unpin for ChatStatisticsChannel
impl UnwindSafe for ChatStatisticsChannel
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