pub struct QueryMetadata {
pub columns: Vec<ColumnInfo>,
pub total_rows: Option<u64>,
pub plan_info: Option<PlanInfo>,
pub performance: PerformanceMetrics,
pub warnings: Vec<String>,
}Expand description
Metadata for query results
Fields§
§columns: Vec<ColumnInfo>Column information
total_rows: Option<u64>Total row count (may be different from returned rows due to LIMIT)
plan_info: Option<PlanInfo>Query execution plan information
performance: PerformanceMetricsPerformance metrics
warnings: Vec<String>Warnings generated during execution
Trait Implementations§
Source§impl Clone for QueryMetadata
impl Clone for QueryMetadata
Source§fn clone(&self) -> QueryMetadata
fn clone(&self) -> QueryMetadata
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 QueryMetadata
impl Debug for QueryMetadata
Source§impl Default for QueryMetadata
impl Default for QueryMetadata
Source§fn default() -> QueryMetadata
fn default() -> QueryMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryMetadata
impl<'de> Deserialize<'de> for QueryMetadata
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 QueryMetadata
impl RefUnwindSafe for QueryMetadata
impl Send for QueryMetadata
impl Sync for QueryMetadata
impl Unpin for QueryMetadata
impl UnsafeUnpin for QueryMetadata
impl UnwindSafe for QueryMetadata
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