pub enum PartiqlValue {
Literal(AttributeValue),
Parameter(usize),
}Expand description
A value in a PartiQL expression — either a literal or a parameter placeholder.
Variants§
Literal(AttributeValue)
Parameter(usize)
Trait Implementations§
Source§impl Clone for PartiqlValue
impl Clone for PartiqlValue
Source§fn clone(&self) -> PartiqlValue
fn clone(&self) -> PartiqlValue
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 moreSource§impl Debug for PartiqlValue
impl Debug for PartiqlValue
Source§impl PartialEq for PartiqlValue
impl PartialEq for PartiqlValue
Source§fn eq(&self, other: &PartiqlValue) -> bool
fn eq(&self, other: &PartiqlValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PartiqlValue
Auto Trait Implementations§
impl Freeze for PartiqlValue
impl RefUnwindSafe for PartiqlValue
impl Send for PartiqlValue
impl Sync for PartiqlValue
impl Unpin for PartiqlValue
impl UnsafeUnpin for PartiqlValue
impl UnwindSafe for PartiqlValue
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