Struct sqlparser::ast::ReplaceSelectElement  
source · pub struct ReplaceSelectElement {
    pub expr: Expr,
    pub column_name: Ident,
    pub as_keyword: bool,
}Expand description
Syntax
<expr> [AS] <column_name>
Fields§
§expr: Expr§column_name: Ident§as_keyword: boolTrait Implementations§
source§impl Clone for ReplaceSelectElement
 
impl Clone for ReplaceSelectElement
source§fn clone(&self) -> ReplaceSelectElement
 
fn clone(&self) -> ReplaceSelectElement
Returns a copy 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 ReplaceSelectElement
 
impl Debug for ReplaceSelectElement
source§impl<'de> Deserialize<'de> for ReplaceSelectElement
 
impl<'de> Deserialize<'de> for ReplaceSelectElement
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 ReplaceSelectElement
 
impl Display for ReplaceSelectElement
source§impl Hash for ReplaceSelectElement
 
impl Hash for ReplaceSelectElement
source§impl Ord for ReplaceSelectElement
 
impl Ord for ReplaceSelectElement
source§fn cmp(&self, other: &ReplaceSelectElement) -> Ordering
 
fn cmp(&self, other: &ReplaceSelectElement) -> 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 ReplaceSelectElement
 
impl PartialEq for ReplaceSelectElement
source§fn eq(&self, other: &ReplaceSelectElement) -> bool
 
fn eq(&self, other: &ReplaceSelectElement) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ReplaceSelectElement
 
impl PartialOrd for ReplaceSelectElement
source§fn partial_cmp(&self, other: &ReplaceSelectElement) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ReplaceSelectElement) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ReplaceSelectElement
 
impl Serialize for ReplaceSelectElement
source§impl Visit for ReplaceSelectElement
 
impl Visit for ReplaceSelectElement
source§impl VisitMut for ReplaceSelectElement
 
impl VisitMut for ReplaceSelectElement
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for ReplaceSelectElement
impl StructuralEq for ReplaceSelectElement
impl StructuralPartialEq for ReplaceSelectElement
Auto Trait Implementations§
impl RefUnwindSafe for ReplaceSelectElement
impl Send for ReplaceSelectElement
impl Sync for ReplaceSelectElement
impl Unpin for ReplaceSelectElement
impl UnwindSafe for ReplaceSelectElement
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