[−][src]Enum rtdlib::types::ChatStatisticsGraph
ChatStatisticsGraph
Variants
Async(ChatStatisticsGraphAsync)chatStatisticsGraphAsync
Error(ChatStatisticsGraphError)chatStatisticsGraphError
Data(ChatStatisticsGraphData)chatStatisticsGraphData
GetChatStatisticsGraph(GetChatStatisticsGraph)Load async stats
Methods
impl ChatStatisticsGraph[src]
pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]
pub fn is_async(&self) -> bool[src]
pub fn is_error(&self) -> bool[src]
pub fn is_data(&self) -> bool[src]
pub fn is_get_chat_statistics_graph(&self) -> bool[src]
pub fn on_async<F: FnOnce(&ChatStatisticsGraphAsync)>(&self, fnc: F) -> &Self[src]
pub fn on_error<F: FnOnce(&ChatStatisticsGraphError)>(&self, fnc: F) -> &Self[src]
pub fn on_data<F: FnOnce(&ChatStatisticsGraphData)>(&self, fnc: F) -> &Self[src]
pub fn on_get_chat_statistics_graph<F: FnOnce(&GetChatStatisticsGraph)>(
&self,
fnc: F
) -> &Self[src]
&self,
fnc: F
) -> &Self
pub fn as_async(&self) -> Option<&ChatStatisticsGraphAsync>[src]
pub fn as_error(&self) -> Option<&ChatStatisticsGraphError>[src]
pub fn as_data(&self) -> Option<&ChatStatisticsGraphData>[src]
pub fn as_get_chat_statistics_graph(&self) -> Option<&GetChatStatisticsGraph>[src]
pub fn async_<T: AsRef<ChatStatisticsGraphAsync>>(t: T) -> Self[src]
pub fn error<T: AsRef<ChatStatisticsGraphError>>(t: T) -> Self[src]
pub fn data<T: AsRef<ChatStatisticsGraphData>>(t: T) -> Self[src]
pub fn get_chat_statistics_graph<T: AsRef<GetChatStatisticsGraph>>(t: T) -> Self[src]
Trait Implementations
impl AsRef<ChatStatisticsGraph> for ChatStatisticsGraph[src]
fn as_ref(&self) -> &ChatStatisticsGraph[src]
impl Clone for ChatStatisticsGraph[src]
fn clone(&self) -> ChatStatisticsGraph[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ChatStatisticsGraph[src]
impl Default for ChatStatisticsGraph[src]
impl<'de> Deserialize<'de> for ChatStatisticsGraph[src]
fn deserialize<D>(deserializer: D) -> Result<ChatStatisticsGraph, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl RObject for ChatStatisticsGraph[src]
impl Serialize for ChatStatisticsGraph[src]
Auto Trait Implementations
impl RefUnwindSafe for ChatStatisticsGraph
impl Send for ChatStatisticsGraph
impl Sync for ChatStatisticsGraph
impl Unpin for ChatStatisticsGraph
impl UnwindSafe for ChatStatisticsGraph
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,