pub struct QueryParams(pub Vec<(String, ParamValue)>);
Expand description
Represent parameters that can be passed to bind values during queries.
ClickHouse
has very specific syntax for how it manages query parameters. Refer to their docs
for more information.
Tuple Fields§
§0: Vec<(String, ParamValue)>
Trait Implementations§
Source§impl Clone for QueryParams
impl Clone for QueryParams
Source§fn clone(&self) -> QueryParams
fn clone(&self) -> QueryParams
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 QueryParams
impl Debug for QueryParams
Source§impl Default for QueryParams
impl Default for QueryParams
Source§fn default() -> QueryParams
fn default() -> QueryParams
Returns the “default value” for a type. Read more
Source§impl From<QueryParams> for Settings
impl From<QueryParams> for Settings
Source§fn from(value: QueryParams) -> Settings
fn from(value: QueryParams) -> Settings
Helpful to serialize params when dispatching a query
Source§impl<T, K, S> From<T> for QueryParams
impl<T, K, S> From<T> for QueryParams
Source§impl<K, S> FromIterator<(K, S)> for QueryParams
impl<K, S> FromIterator<(K, S)> for QueryParams
Source§impl PartialEq for QueryParams
impl PartialEq for QueryParams
impl StructuralPartialEq for QueryParams
Auto Trait Implementations§
impl Freeze for QueryParams
impl RefUnwindSafe for QueryParams
impl Send for QueryParams
impl Sync for QueryParams
impl Unpin for QueryParams
impl UnwindSafe for QueryParams
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