pub enum StatisticalGraph {
Data(StatisticalGraphData),
Async(StatisticalGraphAsync),
Error(StatisticalGraphError),
}
Variants§
Data(StatisticalGraphData)
A graph data
Async(StatisticalGraphAsync)
The graph data to be asynchronously loaded through getStatisticalGraph
Error(StatisticalGraphError)
An error message to be shown to the user instead of the graph
Trait Implementations§
Source§impl Clone for StatisticalGraph
impl Clone for StatisticalGraph
Source§fn clone(&self) -> StatisticalGraph
fn clone(&self) -> StatisticalGraph
Returns a duplicate 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<'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
Source§impl PartialEq for StatisticalGraph
impl PartialEq for StatisticalGraph
Source§impl Serialize for StatisticalGraph
impl Serialize for StatisticalGraph
impl StructuralPartialEq for StatisticalGraph
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