pub enum AggregateModifyKind {
ReadOnly,
Shareable,
ReadWrite,
}Expand description
Modifier kind for FINALFUNC_MODIFY / MFINALFUNC_MODIFY in CREATE AGGREGATE.
See https://www.postgresql.org/docs/current/sql-createaggregate.html
Variants§
ReadOnly
The final function does not modify the transition state.
The transition state may be shared between aggregate calls.
ReadWrite
The final function may modify the transition state.
Trait Implementations§
Source§impl Clone for AggregateModifyKind
impl Clone for AggregateModifyKind
Source§fn clone(&self) -> AggregateModifyKind
fn clone(&self) -> AggregateModifyKind
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 AggregateModifyKind
impl Debug for AggregateModifyKind
Source§impl Display for AggregateModifyKind
impl Display for AggregateModifyKind
impl Eq for AggregateModifyKind
Source§impl Hash for AggregateModifyKind
impl Hash for AggregateModifyKind
Source§impl Ord for AggregateModifyKind
impl Ord for AggregateModifyKind
Source§fn cmp(&self, other: &AggregateModifyKind) -> Ordering
fn cmp(&self, other: &AggregateModifyKind) -> 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 AggregateModifyKind
impl PartialEq for AggregateModifyKind
Source§impl PartialOrd for AggregateModifyKind
impl PartialOrd for AggregateModifyKind
impl StructuralPartialEq for AggregateModifyKind
Auto Trait Implementations§
impl Freeze for AggregateModifyKind
impl RefUnwindSafe for AggregateModifyKind
impl Send for AggregateModifyKind
impl Sync for AggregateModifyKind
impl Unpin for AggregateModifyKind
impl UnsafeUnpin for AggregateModifyKind
impl UnwindSafe for AggregateModifyKind
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