pub struct ChartAnnotation {
pub id: String,
pub x: f64,
pub label: String,
}Expand description
One chart annotation marker.
Fields§
§id: String§x: f64§label: StringTrait Implementations§
Source§impl Clone for ChartAnnotation
impl Clone for ChartAnnotation
Source§fn clone(&self) -> ChartAnnotation
fn clone(&self) -> ChartAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChartAnnotation
impl Debug for ChartAnnotation
Source§impl<'de> Deserialize<'de> for ChartAnnotation
impl<'de> Deserialize<'de> for ChartAnnotation
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 ChartAnnotation
impl PartialEq for ChartAnnotation
Source§fn eq(&self, other: &ChartAnnotation) -> bool
fn eq(&self, other: &ChartAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChartAnnotation
impl Serialize for ChartAnnotation
impl StructuralPartialEq for ChartAnnotation
Auto Trait Implementations§
impl Freeze for ChartAnnotation
impl RefUnwindSafe for ChartAnnotation
impl Send for ChartAnnotation
impl Sync for ChartAnnotation
impl Unpin for ChartAnnotation
impl UnsafeUnpin for ChartAnnotation
impl UnwindSafe for ChartAnnotation
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