pub struct WindowFieldDef {
pub window_field_def_as: String,
pub field: Option<String>,
pub op: Op,
pub param: Option<f64>,
}Fields§
§window_field_def_as: StringThe 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: OpThe window or aggregation operations to apply within a window, including 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§
Source§impl Debug for WindowFieldDef
impl Debug for WindowFieldDef
Source§impl<'de> Deserialize<'de> for WindowFieldDef
impl<'de> Deserialize<'de> for WindowFieldDef
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
Auto Trait Implementations§
impl Freeze for WindowFieldDef
impl RefUnwindSafe for WindowFieldDef
impl Send for WindowFieldDef
impl Sync for WindowFieldDef
impl Unpin for WindowFieldDef
impl UnwindSafe for WindowFieldDef
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