pub struct RawQueryParams {
pub protocol_version: u32,
pub sql: String,
pub transaction_id: Option<String>,
}Expand description
Raw SQL query request parameters.
Execute the SQL string as-is against the database and return the result rows
as generic JSON objects. No parameter binding is performed — embed literal
values directly in the SQL string or use RawStmtQueryParams instead.
Fields§
§protocol_version: u32Protocol version (required in all requests).
sql: StringRaw SQL string to execute.
transaction_id: Option<String>Optional transaction ID.
Trait Implementations§
Source§impl Clone for RawQueryParams
impl Clone for RawQueryParams
Source§fn clone(&self) -> RawQueryParams
fn clone(&self) -> RawQueryParams
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 RawQueryParams
impl Debug for RawQueryParams
Source§impl<'de> Deserialize<'de> for RawQueryParams
impl<'de> Deserialize<'de> for RawQueryParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawQueryParams
impl RefUnwindSafe for RawQueryParams
impl Send for RawQueryParams
impl Sync for RawQueryParams
impl Unpin for RawQueryParams
impl UnsafeUnpin for RawQueryParams
impl UnwindSafe for RawQueryParams
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