pub enum HintExpression {
Function {
name: String,
args: Vec<Expression>,
},
Identifier(String),
Raw(String),
}Expand description
Individual hint expression
Variants§
Function
Function-style hint: USE_HASH(table)
Identifier(String)
Simple identifier hint: PARALLEL
Raw(String)
Raw hint text (unparsed)
Trait Implementations§
Source§impl Clone for HintExpression
impl Clone for HintExpression
Source§fn clone(&self) -> HintExpression
fn clone(&self) -> HintExpression
Returns a duplicate 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 HintExpression
impl Debug for HintExpression
Source§impl<'de> Deserialize<'de> for HintExpression
impl<'de> Deserialize<'de> for HintExpression
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 PartialEq for HintExpression
impl PartialEq for HintExpression
Source§impl Serialize for HintExpression
impl Serialize for HintExpression
impl StructuralPartialEq for HintExpression
Auto Trait Implementations§
impl Freeze for HintExpression
impl RefUnwindSafe for HintExpression
impl Send for HintExpression
impl Sync for HintExpression
impl Unpin for HintExpression
impl UnwindSafe for HintExpression
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