Enum sqlparser::ast::GeneratedAs  
source · pub enum GeneratedAs {
    Always,
    ByDefault,
    ExpStored,
}Expand description
GeneratedAss are modifiers that follow a column option in a generated.
‘ExpStored’ is PostgreSQL specific
Variants§
Trait Implementations§
source§impl Clone for GeneratedAs
 
impl Clone for GeneratedAs
source§fn clone(&self) -> GeneratedAs
 
fn clone(&self) -> GeneratedAs
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 GeneratedAs
 
impl Debug for GeneratedAs
source§impl<'de> Deserialize<'de> for GeneratedAs
 
impl<'de> Deserialize<'de> for GeneratedAs
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 Hash for GeneratedAs
 
impl Hash for GeneratedAs
source§impl Ord for GeneratedAs
 
impl Ord for GeneratedAs
source§fn cmp(&self, other: &GeneratedAs) -> Ordering
 
fn cmp(&self, other: &GeneratedAs) -> 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 GeneratedAs
 
impl PartialEq for GeneratedAs
source§fn eq(&self, other: &GeneratedAs) -> bool
 
fn eq(&self, other: &GeneratedAs) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GeneratedAs
 
impl PartialOrd for GeneratedAs
source§fn partial_cmp(&self, other: &GeneratedAs) -> Option<Ordering>
 
fn partial_cmp(&self, other: &GeneratedAs) -> 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 GeneratedAs
 
impl Serialize for GeneratedAs
source§impl Visit for GeneratedAs
 
impl Visit for GeneratedAs
source§impl VisitMut for GeneratedAs
 
impl VisitMut for GeneratedAs
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for GeneratedAs
impl StructuralEq for GeneratedAs
impl StructuralPartialEq for GeneratedAs
Auto Trait Implementations§
impl RefUnwindSafe for GeneratedAs
impl Send for GeneratedAs
impl Sync for GeneratedAs
impl Unpin for GeneratedAs
impl UnwindSafe for GeneratedAs
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