pub struct ListAgg {
pub distinct: bool,
pub expr: Box<Expr>,
pub separator: Option<Box<Expr>>,
pub on_overflow: Option<ListAggOnOverflow>,
pub within_group: Vec<OrderByExpr>,
}
Expand description
A LISTAGG
invocation LISTAGG( [ DISTINCT ] <expr>[, <separator> ] [ON OVERFLOW <on_overflow>] ) ) [ WITHIN GROUP (ORDER BY <within_group1>[, ...] ) ]
Fields§
§distinct: bool
§expr: Box<Expr>
§separator: Option<Box<Expr>>
§on_overflow: Option<ListAggOnOverflow>
§within_group: Vec<OrderByExpr>
Trait Implementations§
source§impl<'de> Deserialize<'de> for ListAgg
impl<'de> Deserialize<'de> for ListAgg
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 Ord for ListAgg
impl Ord for ListAgg
source§impl PartialEq for ListAgg
impl PartialEq for ListAgg
source§impl PartialOrd for ListAgg
impl PartialOrd for ListAgg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl VisitMut for ListAgg
impl VisitMut for ListAgg
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for ListAgg
impl StructuralEq for ListAgg
impl StructuralPartialEq for ListAgg
Auto Trait Implementations§
impl RefUnwindSafe for ListAgg
impl Send for ListAgg
impl Sync for ListAgg
impl Unpin for ListAgg
impl UnwindSafe for ListAgg
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