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
Auto Trait Implementations§
impl Freeze for StatisticalGraph
impl RefUnwindSafe for StatisticalGraph
impl Send for StatisticalGraph
impl Sync for StatisticalGraph
impl Unpin for StatisticalGraph
impl UnwindSafe for StatisticalGraph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more