Struct google_fusiontables2::StyleFunction [−][src]
pub struct StyleFunction { pub gradient: Option<StyleFunctionGradient>, pub column_name: Option<String>, pub buckets: Option<Vec<Bucket>>, pub kind: Option<String>, }
Represents a StyleFunction within a StyleSetting
This type is not used in any activity, and only used as part of another schema.
Fields
gradient: Option<StyleFunctionGradient>
Gradient function that interpolates a range of colors based on column value.
column_name: Option<String>
Name of the column whose value is used in the style.
buckets: Option<Vec<Bucket>>
Bucket function that assigns a style based on the range a column value falls into.
kind: Option<String>
Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls.
Trait Implementations
impl Default for StyleFunction
[src]
impl Default for StyleFunction
fn default() -> StyleFunction
[src]
fn default() -> StyleFunction
Returns the "default value" for a type. Read more
impl Clone for StyleFunction
[src]
impl Clone for StyleFunction
fn clone(&self) -> StyleFunction
[src]
fn clone(&self) -> StyleFunction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for StyleFunction
[src]
impl Debug for StyleFunction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for StyleFunction
[src]
impl Part for StyleFunction
Auto Trait Implementations
impl Send for StyleFunction
impl Send for StyleFunction
impl Sync for StyleFunction
impl Sync for StyleFunction