#[non_exhaustive]pub enum SqlParam {
Value(Value),
Named(String),
}Expand description
A bound parameter of a translated query.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Value(Value)
A literal from the expression.
Named(String)
A criteria parameter (?Name) for the caller to supply.
Trait Implementations§
impl StructuralPartialEq for SqlParam
Auto Trait Implementations§
impl Freeze for SqlParam
impl RefUnwindSafe for SqlParam
impl Send for SqlParam
impl Sync for SqlParam
impl Unpin for SqlParam
impl UnsafeUnpin for SqlParam
impl UnwindSafe for SqlParam
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