pub struct NamedParam {
pub name: String,
pub value: SqlValue,
}Expand description
A named query parameter.
Fields§
§name: StringParameter name (without @ prefix).
value: SqlValueParameter value.
Implementations§
Trait Implementations§
Source§impl Clone for NamedParam
impl Clone for NamedParam
Source§fn clone(&self) -> NamedParam
fn clone(&self) -> NamedParam
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 NamedParam
impl Debug for NamedParam
Source§impl FromIterator<NamedParam> for ParamList
impl FromIterator<NamedParam> for ParamList
Source§fn from_iter<I: IntoIterator<Item = NamedParam>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = NamedParam>>(iter: I) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl !Freeze for NamedParam
impl RefUnwindSafe for NamedParam
impl Send for NamedParam
impl Sync for NamedParam
impl Unpin for NamedParam
impl UnwindSafe for NamedParam
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