pub enum NormalizedParam {
Literal(Value),
Variable {
name: String,
},
}Expand description
A parameter that may be a literal or a variable
Variants§
Trait Implementations§
Source§impl Clone for NormalizedParam
impl Clone for NormalizedParam
Source§fn clone(&self) -> NormalizedParam
fn clone(&self) -> NormalizedParam
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 NormalizedParam
impl Debug for NormalizedParam
Source§impl<'de> Deserialize<'de> for NormalizedParam
impl<'de> Deserialize<'de> for NormalizedParam
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 NormalizedParam
impl PartialEq for NormalizedParam
Source§impl Serialize for NormalizedParam
impl Serialize for NormalizedParam
impl StructuralPartialEq for NormalizedParam
Auto Trait Implementations§
impl Freeze for NormalizedParam
impl RefUnwindSafe for NormalizedParam
impl Send for NormalizedParam
impl Sync for NormalizedParam
impl Unpin for NormalizedParam
impl UnsafeUnpin for NormalizedParam
impl UnwindSafe for NormalizedParam
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