pub struct PercentRank {
pub order_by: Option<Vec<Ordered>>,
pub args: Vec<Expression>,
}Expand description
PERCENT_RANK function (DuckDB allows ORDER BY inside, Oracle allows hypothetical args with WITHIN GROUP)
Fields§
§order_by: Option<Vec<Ordered>>DuckDB: PERCENT_RANK(ORDER BY col) - order by inside function
args: Vec<Expression>Oracle hypothetical rank: PERCENT_RANK(val1, val2, …) WITHIN GROUP (ORDER BY …)
Trait Implementations§
Source§impl Clone for PercentRank
impl Clone for PercentRank
Source§fn clone(&self) -> PercentRank
fn clone(&self) -> PercentRank
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PercentRank
impl Debug for PercentRank
Source§impl<'de> Deserialize<'de> for PercentRank
impl<'de> Deserialize<'de> for PercentRank
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
Source§impl PartialEq for PercentRank
impl PartialEq for PercentRank
Source§impl Serialize for PercentRank
impl Serialize for PercentRank
impl StructuralPartialEq for PercentRank
Auto Trait Implementations§
impl Freeze for PercentRank
impl RefUnwindSafe for PercentRank
impl Send for PercentRank
impl Sync for PercentRank
impl Unpin for PercentRank
impl UnwindSafe for PercentRank
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