pub struct QueryData {
pub cols: Vec<Column>,
pub rows: Vec<Vec<Value>>,
pub native_form: Option<Value>,
pub insights: Vec<Insight>,
}
Expand description
The actual data from a query result
Fields§
§cols: Vec<Column>
Column information
rows: Vec<Vec<Value>>
Row data
native_form: Option<Value>
Native form of the results
insights: Vec<Insight>
Insights from the query
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryData
impl<'de> Deserialize<'de> for QueryData
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
impl StructuralPartialEq for QueryData
Auto Trait Implementations§
impl Freeze for QueryData
impl RefUnwindSafe for QueryData
impl Send for QueryData
impl Sync for QueryData
impl Unpin for QueryData
impl UnwindSafe for QueryData
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