pub struct BaselineValueFormat {
pub comparison_type: Option<String>,
pub description: Option<String>,
pub negative_color: Option<Color>,
pub negative_color_style: Option<ColorStyle>,
pub position: Option<TextPosition>,
pub positive_color: Option<Color>,
pub positive_color_style: Option<ColorStyle>,
pub text_format: Option<TextFormat>,
}
Expand description
Formatting options for baseline value.
This type is not used in any activity, and only used as part of another schema.
Fields§
§comparison_type: Option<String>
The comparison type of key value with baseline value.
description: Option<String>
Description which is appended after the baseline value. This field is optional.
negative_color: Option<Color>
Color to be used, in case baseline value represents a negative change for key value. This field is optional. Deprecated: Use negative_color_style.
negative_color_style: Option<ColorStyle>
Color to be used, in case baseline value represents a negative change for key value. This field is optional. If negative_color is also set, this field takes precedence.
position: Option<TextPosition>
Specifies the horizontal text positioning of baseline value. This field is optional. If not specified, default positioning is used.
positive_color: Option<Color>
Color to be used, in case baseline value represents a positive change for key value. This field is optional. Deprecated: Use positive_color_style.
positive_color_style: Option<ColorStyle>
Color to be used, in case baseline value represents a positive change for key value. This field is optional. If positive_color is also set, this field takes precedence.
text_format: Option<TextFormat>
Text formatting options for baseline value. The link field is not supported.
Trait Implementations§
Source§impl Clone for BaselineValueFormat
impl Clone for BaselineValueFormat
Source§fn clone(&self) -> BaselineValueFormat
fn clone(&self) -> BaselineValueFormat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BaselineValueFormat
impl Debug for BaselineValueFormat
Source§impl Default for BaselineValueFormat
impl Default for BaselineValueFormat
Source§fn default() -> BaselineValueFormat
fn default() -> BaselineValueFormat
Source§impl<'de> Deserialize<'de> for BaselineValueFormat
impl<'de> Deserialize<'de> for BaselineValueFormat
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>,
Source§impl Serialize for BaselineValueFormat
impl Serialize for BaselineValueFormat
impl Part for BaselineValueFormat
Auto Trait Implementations§
impl Freeze for BaselineValueFormat
impl RefUnwindSafe for BaselineValueFormat
impl Send for BaselineValueFormat
impl Sync for BaselineValueFormat
impl Unpin for BaselineValueFormat
impl UnwindSafe for BaselineValueFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more