pub struct CreateAggregate {
pub or_replace: bool,
pub name: ObjectName,
pub args: CreateAggregateArgs,
pub options: Vec<CreateAggregateOption>,
}Expand description
CREATE AGGREGATE statement. See https://www.postgresql.org/docs/current/sql-createaggregate.html
Fields§
§or_replace: boolTrue if OR REPLACE was specified.
name: ObjectNameThe aggregate name (can be schema-qualified).
args: CreateAggregateArgsThe input arguments, without output modes or defaults.
options: Vec<CreateAggregateOption>The options listed inside the required parentheses after the argument
list (e.g. SFUNC, STYPE, FINALFUNC, PARALLEL, …).
Trait Implementations§
Source§impl Clone for CreateAggregate
impl Clone for CreateAggregate
Source§fn clone(&self) -> CreateAggregate
fn clone(&self) -> CreateAggregate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateAggregate
impl Debug for CreateAggregate
Source§impl Display for CreateAggregate
impl Display for CreateAggregate
impl Eq for CreateAggregate
Source§impl From<CreateAggregate> for Statement
impl From<CreateAggregate> for Statement
Source§fn from(v: CreateAggregate) -> Self
fn from(v: CreateAggregate) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateAggregate
impl Hash for CreateAggregate
Source§impl Ord for CreateAggregate
impl Ord for CreateAggregate
Source§fn cmp(&self, other: &CreateAggregate) -> Ordering
fn cmp(&self, other: &CreateAggregate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CreateAggregate
impl PartialEq for CreateAggregate
Source§impl PartialOrd for CreateAggregate
impl PartialOrd for CreateAggregate
Source§impl Spanned for CreateAggregate
impl Spanned for CreateAggregate
impl StructuralPartialEq for CreateAggregate
Auto Trait Implementations§
impl Freeze for CreateAggregate
impl RefUnwindSafe for CreateAggregate
impl Send for CreateAggregate
impl Sync for CreateAggregate
impl Unpin for CreateAggregate
impl UnsafeUnpin for CreateAggregate
impl UnwindSafe for CreateAggregate
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