pub struct BindNode {
pub name: String,
pub value: String,
}
Expand description
Represents a bind
or let
node in py_sql.
It’s used to assign a value to a variable within the SQL query.
§Examples
PySQL syntax:
let name = 'value'
bind name = 'value'
Fields§
§name: String
§value: String
Trait Implementations§
Source§impl DefaultName for BindNode
impl DefaultName for BindNode
fn default_name() -> &'static str
impl Eq for BindNode
impl StructuralPartialEq for BindNode
Auto Trait Implementations§
impl Freeze for BindNode
impl RefUnwindSafe for BindNode
impl Send for BindNode
impl Sync for BindNode
impl Unpin for BindNode
impl UnwindSafe for BindNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.