Enum sqlparser::ast::FunctionBehavior
source · pub enum FunctionBehavior {
Immutable,
Stable,
Volatile,
}
Expand description
These attributes inform the query optimizer about the behavior of the function.
Variants§
Trait Implementations§
source§impl Clone for FunctionBehavior
impl Clone for FunctionBehavior
source§fn clone(&self) -> FunctionBehavior
fn clone(&self) -> FunctionBehavior
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 FunctionBehavior
impl Debug for FunctionBehavior
source§impl Display for FunctionBehavior
impl Display for FunctionBehavior
source§impl Hash for FunctionBehavior
impl Hash for FunctionBehavior
source§impl Ord for FunctionBehavior
impl Ord for FunctionBehavior
source§fn cmp(&self, other: &FunctionBehavior) -> Ordering
fn cmp(&self, other: &FunctionBehavior) -> 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<FunctionBehavior> for FunctionBehavior
impl PartialEq<FunctionBehavior> for FunctionBehavior
source§fn eq(&self, other: &FunctionBehavior) -> bool
fn eq(&self, other: &FunctionBehavior) -> bool
source§impl PartialOrd<FunctionBehavior> for FunctionBehavior
impl PartialOrd<FunctionBehavior> for FunctionBehavior
source§fn partial_cmp(&self, other: &FunctionBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionBehavior) -> 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 more