pub struct PostgresSqlResponse {
pub rows: Vec<Value>,
pub affected: u64,
}Expand description
SQL response returned by the host-owned Postgres transport.
Fields§
§rows: Vec<Value>Rows represented as JSON objects.
affected: u64Number of affected rows.
Implementations§
Trait Implementations§
Source§impl Clone for PostgresSqlResponse
impl Clone for PostgresSqlResponse
Source§fn clone(&self) -> PostgresSqlResponse
fn clone(&self) -> PostgresSqlResponse
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 PostgresSqlResponse
impl Debug for PostgresSqlResponse
Source§impl Default for PostgresSqlResponse
impl Default for PostgresSqlResponse
Source§fn default() -> PostgresSqlResponse
fn default() -> PostgresSqlResponse
Returns the “default value” for a type. Read more
impl Eq for PostgresSqlResponse
Source§impl PartialEq for PostgresSqlResponse
impl PartialEq for PostgresSqlResponse
Source§fn eq(&self, other: &PostgresSqlResponse) -> bool
fn eq(&self, other: &PostgresSqlResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostgresSqlResponse
Auto Trait Implementations§
impl Freeze for PostgresSqlResponse
impl RefUnwindSafe for PostgresSqlResponse
impl Send for PostgresSqlResponse
impl Sync for PostgresSqlResponse
impl Unpin for PostgresSqlResponse
impl UnsafeUnpin for PostgresSqlResponse
impl UnwindSafe for PostgresSqlResponse
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