Struct rust_tdlib::types::ChatStatisticsChannel
source · [−]pub struct ChatStatisticsChannel { /* private fields */ }
Expand description
A detailed statistics about a channel chat
Implementations
sourceimpl 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
sourceimpl AsRef<ChatStatisticsChannel> for ChatStatisticsChannel
impl AsRef<ChatStatisticsChannel> for ChatStatisticsChannel
sourcefn as_ref(&self) -> &ChatStatisticsChannel
fn as_ref(&self) -> &ChatStatisticsChannel
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatStatisticsChannel
impl Clone for ChatStatisticsChannel
sourcefn clone(&self) -> ChatStatisticsChannel
fn clone(&self) -> ChatStatisticsChannel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChatStatisticsChannel
impl Debug for ChatStatisticsChannel
sourceimpl Default for ChatStatisticsChannel
impl Default for ChatStatisticsChannel
sourcefn default() -> ChatStatisticsChannel
fn default() -> ChatStatisticsChannel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChatStatisticsChannel
impl<'de> Deserialize<'de> for ChatStatisticsChannel
sourcefn 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
sourceimpl Serialize for ChatStatisticsChannel
impl Serialize for ChatStatisticsChannel
impl TDChatStatistics for ChatStatisticsChannel
Auto Trait Implementations
impl RefUnwindSafe for ChatStatisticsChannel
impl Send for ChatStatisticsChannel
impl Sync for ChatStatisticsChannel
impl Unpin for ChatStatisticsChannel
impl UnwindSafe for ChatStatisticsChannel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more