pub enum RoutineObjectKind {
Function,
Procedure,
Routine,
}Expand description
The SQL routine object kind forms represented by the AST.
Variants§
Trait Implementations§
Source§impl Clone for RoutineObjectKind
impl Clone for RoutineObjectKind
Source§fn clone(&self) -> RoutineObjectKind
fn clone(&self) -> RoutineObjectKind
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 moreimpl Copy for RoutineObjectKind
Source§impl Debug for RoutineObjectKind
impl Debug for RoutineObjectKind
Source§impl<'de> Deserialize<'de> for RoutineObjectKind
impl<'de> Deserialize<'de> for RoutineObjectKind
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
impl Eq for RoutineObjectKind
Source§impl Hash for RoutineObjectKind
impl Hash for RoutineObjectKind
Source§impl PartialEq for RoutineObjectKind
impl PartialEq for RoutineObjectKind
Source§impl Render for RoutineObjectKind
impl Render for RoutineObjectKind
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for RoutineObjectKind
impl Serialize for RoutineObjectKind
impl StructuralPartialEq for RoutineObjectKind
Auto Trait Implementations§
impl Freeze for RoutineObjectKind
impl RefUnwindSafe for RoutineObjectKind
impl Send for RoutineObjectKind
impl Sync for RoutineObjectKind
impl Unpin for RoutineObjectKind
impl UnsafeUnpin for RoutineObjectKind
impl UnwindSafe for RoutineObjectKind
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