pub struct SqlResponse {
pub data: Vec<Value>,
pub max_rows: Option<u64>,
}Expand description
JSON envelope returned by POST /sql.
Fields§
§data: Vec<Value>One object per row.
max_rows: Option<u64>Effective row cap applied by the server.
Trait Implementations§
Source§impl Clone for SqlResponse
impl Clone for SqlResponse
Source§fn clone(&self) -> SqlResponse
fn clone(&self) -> SqlResponse
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 SqlResponse
impl Debug for SqlResponse
Source§impl<'de> Deserialize<'de> for SqlResponse
impl<'de> Deserialize<'de> for SqlResponse
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 SqlResponse
impl RefUnwindSafe for SqlResponse
impl Send for SqlResponse
impl Sync for SqlResponse
impl Unpin for SqlResponse
impl UnsafeUnpin for SqlResponse
impl UnwindSafe for SqlResponse
Blanket Implementations§
impl<T> Allocation for T
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