pub enum AssignmentValue {
Excluded,
Expression(String),
Param(usize),
}Expand description
Value for an assignment.
Variants§
Excluded
Use the EXCLUDED/VALUES value.
Expression(String)
Use a literal expression.
Param(usize)
Use a parameter placeholder.
Trait Implementations§
Source§impl Clone for AssignmentValue
impl Clone for AssignmentValue
Source§fn clone(&self) -> AssignmentValue
fn clone(&self) -> AssignmentValue
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 AssignmentValue
impl Debug for AssignmentValue
Source§impl<'de> Deserialize<'de> for AssignmentValue
impl<'de> Deserialize<'de> for AssignmentValue
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 AssignmentValue
impl PartialEq for AssignmentValue
Source§impl Serialize for AssignmentValue
impl Serialize for AssignmentValue
impl StructuralPartialEq for AssignmentValue
Auto Trait Implementations§
impl Freeze for AssignmentValue
impl RefUnwindSafe for AssignmentValue
impl Send for AssignmentValue
impl Sync for AssignmentValue
impl Unpin for AssignmentValue
impl UnwindSafe for AssignmentValue
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