pub struct AnnotationSpec {Show 14 fields
pub annotation_type: String,
pub axis: Option<String>,
pub value: Option<Value>,
pub from: Option<Value>,
pub to: Option<Value>,
pub orientation: Option<String>,
pub label: Option<String>,
pub label_position: Option<String>,
pub color: Option<String>,
pub stroke_width: Option<f64>,
pub dash_array: Option<String>,
pub opacity: Option<f64>,
pub stroke_color: Option<String>,
pub style: Option<String>,
}Fields§
§annotation_type: String§axis: Option<String>§value: Option<Value>§from: Option<Value>§to: Option<Value>§orientation: Option<String>§label: Option<String>§label_position: Option<String>§color: Option<String>§stroke_width: Option<f64>§dash_array: Option<String>§opacity: Option<f64>§stroke_color: Option<String>§style: Option<String>Line style shorthand: “solid” (default), “dashed”, “dotted”
Trait Implementations§
Source§impl Clone for AnnotationSpec
impl Clone for AnnotationSpec
Source§fn clone(&self) -> AnnotationSpec
fn clone(&self) -> AnnotationSpec
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 AnnotationSpec
impl Debug for AnnotationSpec
Source§impl<'de> Deserialize<'de> for AnnotationSpec
impl<'de> Deserialize<'de> for AnnotationSpec
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 AnnotationSpec
impl RefUnwindSafe for AnnotationSpec
impl Send for AnnotationSpec
impl Sync for AnnotationSpec
impl Unpin for AnnotationSpec
impl UnsafeUnpin for AnnotationSpec
impl UnwindSafe for AnnotationSpec
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