pub enum ViewAlgorithm {
Undefined,
Merge,
TempTable,
}Expand description
The MySQL ALGORITHM = { UNDEFINED | MERGE | TEMPTABLE } view-processing algorithm, the
first of the ViewOptions definition-option prefix. A Copy tag whose span rides the
owning ViewOptions, like SqlSecurityContext.
Variants§
Undefined
ALGORITHM = UNDEFINED — the server chooses between MERGE and TEMPTABLE (the default).
Merge
ALGORITHM = MERGE — the view’s text is merged into the referencing statement.
TempTable
ALGORITHM = TEMPTABLE — the view result is materialized into a temporary table.
Trait Implementations§
Source§impl Clone for ViewAlgorithm
impl Clone for ViewAlgorithm
Source§fn clone(&self) -> ViewAlgorithm
fn clone(&self) -> ViewAlgorithm
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 ViewAlgorithm
Source§impl Debug for ViewAlgorithm
impl Debug for ViewAlgorithm
Source§impl<'de> Deserialize<'de> for ViewAlgorithm
impl<'de> Deserialize<'de> for ViewAlgorithm
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 ViewAlgorithm
Source§impl Hash for ViewAlgorithm
impl Hash for ViewAlgorithm
Source§impl PartialEq for ViewAlgorithm
impl PartialEq for ViewAlgorithm
Source§impl Render for ViewAlgorithm
impl Render for ViewAlgorithm
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 ViewAlgorithm
impl Serialize for ViewAlgorithm
impl StructuralPartialEq for ViewAlgorithm
Auto Trait Implementations§
impl Freeze for ViewAlgorithm
impl RefUnwindSafe for ViewAlgorithm
impl Send for ViewAlgorithm
impl Sync for ViewAlgorithm
impl Unpin for ViewAlgorithm
impl UnsafeUnpin for ViewAlgorithm
impl UnwindSafe for ViewAlgorithm
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