pub struct InterpolateExpr {
pub column: Ident,
pub expr: Option<Expr>,
}Expand description
ClickHouse INTERPOLATE clause for use in ORDER BY clause when using WITH FILL modifier.
Supported by ClickHouse syntax
An expression used by WITH FILL/INTERPOLATE to specify interpolation for a column.
Fields§
§column: IdentThe column to interpolate.
expr: Option<Expr>Optional AS <expr> expression specifying how to compute interpolated values.
Trait Implementations§
Source§impl Clone for InterpolateExpr
impl Clone for InterpolateExpr
Source§fn clone(&self) -> InterpolateExpr
fn clone(&self) -> InterpolateExpr
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 InterpolateExpr
impl Debug for InterpolateExpr
Source§impl Display for InterpolateExpr
impl Display for InterpolateExpr
Source§impl Hash for InterpolateExpr
impl Hash for InterpolateExpr
Source§impl Ord for InterpolateExpr
impl Ord for InterpolateExpr
Source§fn cmp(&self, other: &InterpolateExpr) -> Ordering
fn cmp(&self, other: &InterpolateExpr) -> 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 InterpolateExpr
impl PartialEq for InterpolateExpr
Source§impl PartialOrd for InterpolateExpr
impl PartialOrd for InterpolateExpr
Source§impl Spanned for InterpolateExpr
impl Spanned for InterpolateExpr
Source§impl Visit for InterpolateExpr
impl Visit for InterpolateExpr
Source§impl VisitMut for InterpolateExpr
impl VisitMut for InterpolateExpr
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 InterpolateExpr
impl StructuralPartialEq for InterpolateExpr
Auto Trait Implementations§
impl Freeze for InterpolateExpr
impl RefUnwindSafe for InterpolateExpr
impl Send for InterpolateExpr
impl Sync for InterpolateExpr
impl Unpin for InterpolateExpr
impl UnsafeUnpin for InterpolateExpr
impl UnwindSafe for InterpolateExpr
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