Struct google_sheets4::TreemapChartColorScale
source · pub struct TreemapChartColorScale {
pub no_data_color: Option<Color>,
pub mid_value_color: Option<Color>,
pub min_value_color: Option<Color>,
pub max_value_color: Option<Color>,
}Expand description
A color scale for a treemap chart.
This type is not used in any activity, and only used as part of another schema.
Fields§
§no_data_color: Option<Color>The background color for cells that have no color data associated with them. Defaults to #000000 if not specified.
mid_value_color: Option<Color>The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to #efe6dc if not specified.
min_value_color: Option<Color>The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not specified.
max_value_color: Option<Color>The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if not specified.
Trait Implementations§
source§impl Clone for TreemapChartColorScale
impl Clone for TreemapChartColorScale
source§fn clone(&self) -> TreemapChartColorScale
fn clone(&self) -> TreemapChartColorScale
Returns a copy 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 TreemapChartColorScale
impl Debug for TreemapChartColorScale
source§impl Default for TreemapChartColorScale
impl Default for TreemapChartColorScale
source§fn default() -> TreemapChartColorScale
fn default() -> TreemapChartColorScale
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TreemapChartColorScale
impl<'de> Deserialize<'de> for TreemapChartColorScale
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 Serialize for TreemapChartColorScale
impl Serialize for TreemapChartColorScale
impl Part for TreemapChartColorScale
Auto Trait Implementations§
impl Freeze for TreemapChartColorScale
impl RefUnwindSafe for TreemapChartColorScale
impl Send for TreemapChartColorScale
impl Sync for TreemapChartColorScale
impl Unpin for TreemapChartColorScale
impl UnwindSafe for TreemapChartColorScale
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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