pub enum AggregateFunc {
Count,
Sum,
Avg,
Min,
Max,
ArrayAgg,
StringAgg,
JsonAgg,
JsonbAgg,
BoolAnd,
BoolOr,
}Variants§
Count
Sum
Avg
Min
Max
ArrayAgg
ARRAY_AGG - collect values into array
StringAgg
STRING_AGG - concatenate strings with delimiter
JsonAgg
JSON_AGG - aggregate values as JSON array
JsonbAgg
JSONB_AGG - aggregate values as JSONB array
BoolAnd
BOOL_AND - logical AND of all values
BoolOr
BOOL_OR - logical OR of all values
Trait Implementations§
Source§impl Clone for AggregateFunc
impl Clone for AggregateFunc
Source§fn clone(&self) -> AggregateFunc
fn clone(&self) -> AggregateFunc
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 AggregateFunc
impl Debug for AggregateFunc
Source§impl<'de> Deserialize<'de> for AggregateFunc
impl<'de> Deserialize<'de> for AggregateFunc
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 Display for AggregateFunc
impl Display for AggregateFunc
Source§impl PartialEq for AggregateFunc
impl PartialEq for AggregateFunc
Source§impl Serialize for AggregateFunc
impl Serialize for AggregateFunc
impl Copy for AggregateFunc
impl Eq for AggregateFunc
impl StructuralPartialEq for AggregateFunc
Auto Trait Implementations§
impl Freeze for AggregateFunc
impl RefUnwindSafe for AggregateFunc
impl Send for AggregateFunc
impl Sync for AggregateFunc
impl Unpin for AggregateFunc
impl UnwindSafe for AggregateFunc
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