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§
source§impl AsRef<StatisticalGraph> for StatisticalGraph
impl AsRef<StatisticalGraph> for StatisticalGraph
source§fn as_ref(&self) -> &StatisticalGraph
fn as_ref(&self) -> &StatisticalGraph
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for StatisticalGraph
impl Clone for StatisticalGraph
source§fn clone(&self) -> StatisticalGraph
fn clone(&self) -> StatisticalGraph
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 StatisticalGraph
impl Debug for StatisticalGraph
source§impl Default for StatisticalGraph
impl Default for StatisticalGraph
source§fn default() -> StatisticalGraph
fn default() -> StatisticalGraph
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StatisticalGraph
impl<'de> Deserialize<'de> for StatisticalGraph
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