pub struct FieldSpec {
pub field: String,
pub mark: Option<String>,
pub axis: Option<String>,
pub label: Option<String>,
pub color: Option<String>,
pub format: Option<String>,
pub data_labels: Option<DataLabelsSpec>,
pub line_style: Option<String>,
pub upper: Option<String>,
pub lower: Option<String>,
pub opacity: Option<f64>,
}Fields§
§field: String§mark: Option<String>§axis: Option<String>§label: Option<String>§color: Option<String>§format: Option<String>§data_labels: Option<DataLabelsSpec>§line_style: Option<String>Line style: “solid” (default), “dashed”, “dotted”
upper: Option<String>For range marks: upper bound field name
lower: Option<String>For range marks: lower bound field name
opacity: Option<f64>Fill opacity for range marks (default 0.15)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldSpec
impl<'de> Deserialize<'de> for FieldSpec
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 FieldSpec
impl RefUnwindSafe for FieldSpec
impl Send for FieldSpec
impl Sync for FieldSpec
impl Unpin for FieldSpec
impl UnsafeUnpin for FieldSpec
impl UnwindSafe for FieldSpec
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