pub struct PostgresSqlRequest {
pub statement: String,
pub params: Vec<Value>,
}Expand description
SQL request sent through the host-owned Postgres transport.
Fields§
§statement: StringSQL statement or prepared statement name.
params: Vec<Value>Bound parameters as JSON for deterministic scripted tests.
Trait Implementations§
Source§impl Clone for PostgresSqlRequest
impl Clone for PostgresSqlRequest
Source§fn clone(&self) -> PostgresSqlRequest
fn clone(&self) -> PostgresSqlRequest
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 PostgresSqlRequest
impl Debug for PostgresSqlRequest
impl Eq for PostgresSqlRequest
Source§impl PartialEq for PostgresSqlRequest
impl PartialEq for PostgresSqlRequest
Source§fn eq(&self, other: &PostgresSqlRequest) -> bool
fn eq(&self, other: &PostgresSqlRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostgresSqlRequest
Auto Trait Implementations§
impl Freeze for PostgresSqlRequest
impl RefUnwindSafe for PostgresSqlRequest
impl Send for PostgresSqlRequest
impl Sync for PostgresSqlRequest
impl Unpin for PostgresSqlRequest
impl UnsafeUnpin for PostgresSqlRequest
impl UnwindSafe for PostgresSqlRequest
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