pub struct ValueFunc {
pub this: Expression,
pub ignore_nulls: Option<bool>,
pub order_by: Vec<Ordered>,
}Expand description
FIRST_VALUE / LAST_VALUE function
Fields§
§this: Expression§ignore_nulls: Option<bool>None = not specified, Some(true) = IGNORE NULLS, Some(false) = RESPECT NULLS
order_by: Vec<Ordered>ORDER BY inside the function parens (e.g., DuckDB: LAST_VALUE(x ORDER BY x))
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValueFunc
impl<'de> Deserialize<'de> for ValueFunc
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
impl StructuralPartialEq for ValueFunc
Auto Trait Implementations§
impl Freeze for ValueFunc
impl RefUnwindSafe for ValueFunc
impl Send for ValueFunc
impl Sync for ValueFunc
impl Unpin for ValueFunc
impl UnsafeUnpin for ValueFunc
impl UnwindSafe for ValueFunc
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