[][src]Struct vega_lite_4::TimeUnitParams

pub struct TimeUnitParams {
    pub maxbins: Option<f64>,
    pub step: Option<f64>,
    pub unit: Option<TimeUnit>,
    pub utc: Option<bool>,
}

Fields

maxbins: Option<f64>

If no unit is specified, maxbins is used to infer time units.

step: Option<f64>

The number of steps between bins, in terms of the least significant unit provided.

unit: Option<TimeUnit>

Defines how date-time values should be binned.

utc: Option<bool>

True to use UTC timezone. Equivalent to using a utc prefixed TimeUnit.

Trait Implementations

impl Clone for TimeUnitParams[src]

impl Debug for TimeUnitParams[src]

impl Default for TimeUnitParams[src]

impl<'de> Deserialize<'de> for TimeUnitParams[src]

impl From<TimeUnitParams> for TimeUnitUnion[src]

impl Serialize for TimeUnitParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.