pub struct Rank {
pub order_by: Option<Vec<Ordered>>,
pub args: Vec<Expression>,
}Expand description
RANK function (DuckDB allows ORDER BY inside, Oracle allows hypothetical args with WITHIN GROUP)
Fields§
§order_by: Option<Vec<Ordered>>DuckDB: RANK(ORDER BY col) - order by inside function
args: Vec<Expression>Oracle hypothetical rank: RANK(val1, val2, …) WITHIN GROUP (ORDER BY …)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rank
impl<'de> Deserialize<'de> for Rank
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 Rank
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnwindSafe for Rank
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