pub struct MarkLabels {
pub show: bool,
pub column: Option<String>,
pub format: Option<String>,
pub currency: Option<String>,
pub unit_label: Option<String>,
pub percent: bool,
}Expand description
Mark label display and formatting declaration.
Fields§
§show: boolWhether labels are shown.
column: Option<String>Optional label source column. Defaults to the chart y column when absent.
format: Option<String>Optional value format.
currency: Option<String>Currency code for currency-formatted numeric values.
unit_label: Option<String>Free-form display unit label.
percent: boolWhether the value is a percentage.
Trait Implementations§
Source§impl Clone for MarkLabels
impl Clone for MarkLabels
Source§impl Debug for MarkLabels
impl Debug for MarkLabels
Source§impl<'de> Deserialize<'de> for MarkLabels
impl<'de> Deserialize<'de> for MarkLabels
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
impl Eq for MarkLabels
Source§impl PartialEq for MarkLabels
impl PartialEq for MarkLabels
Source§impl Serialize for MarkLabels
impl Serialize for MarkLabels
impl StructuralPartialEq for MarkLabels
Auto Trait Implementations§
impl Freeze for MarkLabels
impl RefUnwindSafe for MarkLabels
impl Send for MarkLabels
impl Sync for MarkLabels
impl Unpin for MarkLabels
impl UnsafeUnpin for MarkLabels
impl UnwindSafe for MarkLabels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.