Struct rust_tdlib::types::ChatStatisticsChannel
source · 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