[][src]Struct vega_lite_3::WindowFieldDef

pub struct WindowFieldDef {
    pub window_field_def_as: Option<String>,
    pub field: Option<String>,
    pub op: Option<Op>,
    pub param: Option<f64>,
}

Fields

window_field_def_as: Option<String>

The output name for the window operation.

field: Option<String>

The data field for which to compute the aggregate or window function. This can be omitted for window functions that do not operate over a field such as count, rank, dense_rank.

op: Option<Op>

The window or aggregation operation to apply within a window (e.g.,rank, lead, sum, average or count). See the list of all supported operations here.

param: Option<f64>

Parameter values for the window functions. Parameter values can be omitted for operations that do not accept a parameter.

See the list of all supported operations and their parameters here.

Trait Implementations

impl Clone for WindowFieldDef[src]

impl Debug for WindowFieldDef[src]

impl Default for WindowFieldDef[src]

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

impl Serialize for WindowFieldDef[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: 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.