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 · 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<'de> Deserialize<'de> for AggregateModifyKind
impl<'de> Deserialize<'de> for AggregateModifyKind
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 AggregateModifyKind
impl Display 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 · 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
Source§impl PartialEq for AggregateModifyKind
impl PartialEq for AggregateModifyKind
Source§impl PartialOrd for AggregateModifyKind
impl PartialOrd for AggregateModifyKind
Source§impl Serialize for AggregateModifyKind
impl Serialize for AggregateModifyKind
Source§impl Visit for AggregateModifyKind
impl Visit for AggregateModifyKind
Source§impl VisitMut for AggregateModifyKind
impl VisitMut for AggregateModifyKind
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq 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