pub struct WindowFunc {
pub oid: u32,
pub args: Vec<Expr>,
pub winref: usize,
pub star: bool,
pub agg: bool,
pub filter: Option<Box<Expr>>,
pub nulls: NullTreatment,
}Expand description
A call of a window function, as WindowFunc.
Fields§
§oid: u32winfnoid: the OID of the function in pg_proc.
args: Vec<Expr>§winref: usizewinref: the number of the window in crate::Query::windows, from 1.
star: boolwinstar: true for f(*).
agg: boolwinagg: true for an aggregate function.
filter: Option<Box<Expr>>aggfilter: the condition of FILTER (WHERE ...) of an aggregate.
nulls: NullTreatmentignore_nulls: the clause RESPECT NULLS or IGNORE NULLS of the call.
Trait Implementations§
Source§impl Clone for WindowFunc
impl Clone for WindowFunc
Source§impl Debug for WindowFunc
impl Debug for WindowFunc
Source§impl PartialEq for WindowFunc
impl PartialEq for WindowFunc
impl StructuralPartialEq for WindowFunc
Auto Trait Implementations§
impl Freeze for WindowFunc
impl RefUnwindSafe for WindowFunc
impl Send for WindowFunc
impl Sync for WindowFunc
impl Unpin for WindowFunc
impl UnsafeUnpin for WindowFunc
impl UnwindSafe for WindowFunc
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