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 function that interpolates a range of colors based on column value.

Name of the column whose value is used in the style.

Bucket function that assigns a style based on the range a column value falls into.

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]

Returns the "default value" for a type. Read more

impl Clone for StyleFunction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StyleFunction
[src]

Formats the value using the given formatter. Read more

impl Part for StyleFunction
[src]

Auto Trait Implementations