Enum rust_tdlib::types::StatisticalGraph
source · [−]pub enum StatisticalGraph {
GetStatisticalGraph(GetStatisticalGraph),
Async(StatisticalGraphAsync),
Data(StatisticalGraphData),
Error(StatisticalGraphError),
// some variants omitted
}Expand description
Describes a statistical graph
Variants
GetStatisticalGraph(GetStatisticalGraph)
Loads an asynchronous or a zoomed in statistical graph
Async(StatisticalGraphAsync)
The graph data to be asynchronously loaded through getStatisticalGraph
Data(StatisticalGraphData)
A graph data
Error(StatisticalGraphError)
An error message to be shown to the user instead of the graph
Implementations
Trait Implementations
sourceimpl AsRef<StatisticalGraph> for StatisticalGraph
impl AsRef<StatisticalGraph> for StatisticalGraph
sourcefn as_ref(&self) -> &StatisticalGraph
fn as_ref(&self) -> &StatisticalGraph
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for StatisticalGraph
impl Clone for StatisticalGraph
sourcefn clone(&self) -> StatisticalGraph
fn clone(&self) -> StatisticalGraph
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 StatisticalGraph
impl Debug for StatisticalGraph
sourceimpl Default for StatisticalGraph
impl Default for StatisticalGraph
sourceimpl<'de> Deserialize<'de> for StatisticalGraph
impl<'de> Deserialize<'de> for StatisticalGraph
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 StatisticalGraph
impl Serialize for StatisticalGraph
Auto Trait Implementations
impl RefUnwindSafe for StatisticalGraph
impl Send for StatisticalGraph
impl Sync for StatisticalGraph
impl Unpin for StatisticalGraph
impl UnwindSafe for StatisticalGraph
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