pub enum StatisticColumn {
Column(Identifier),
Expression(NormalizedExpr),
}Expand description
A single entry in the statistic’s column list.
Variants§
Column(Identifier)
Plain column_name reference.
Expression(NormalizedExpr)
Expression statistic (PG 14+): (lower(name)). Canonicalized via
NormalizedExpr (same canon as CHECK / USING / WITH CHECK).
Trait Implementations§
Source§impl Clone for StatisticColumn
impl Clone for StatisticColumn
Source§fn clone(&self) -> StatisticColumn
fn clone(&self) -> StatisticColumn
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 StatisticColumn
impl Debug for StatisticColumn
Source§impl<'de> Deserialize<'de> for StatisticColumn
impl<'de> Deserialize<'de> for StatisticColumn
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 PartialEq for StatisticColumn
impl PartialEq for StatisticColumn
Source§fn eq(&self, other: &StatisticColumn) -> bool
fn eq(&self, other: &StatisticColumn) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatisticColumn
impl Serialize for StatisticColumn
impl Eq for StatisticColumn
impl StructuralPartialEq for StatisticColumn
Auto Trait Implementations§
impl Freeze for StatisticColumn
impl RefUnwindSafe for StatisticColumn
impl Send for StatisticColumn
impl Sync for StatisticColumn
impl Unpin for StatisticColumn
impl UnsafeUnpin for StatisticColumn
impl UnwindSafe for StatisticColumn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more