pub struct QueryExecutionResult {
pub dataview: DataView,
pub stats: QueryStats,
pub hidden_columns: Vec<String>,
pub query: String,
}Expand description
Result of executing a query
Fields§
§dataview: DataViewThe resulting DataView to display
stats: QueryStatsExecution statistics
Columns that were auto-hidden (if any)
query: StringThe query that was executed
Implementations§
Source§impl QueryExecutionResult
impl QueryExecutionResult
Sourcepub fn status_message(&self) -> String
pub fn status_message(&self) -> String
Generate a user-friendly status message
Sourcepub fn column_names(&self) -> Vec<String>
pub fn column_names(&self) -> Vec<String>
Get column names for history tracking
Sourcepub fn table_name(&self) -> String
pub fn table_name(&self) -> String
Get table name for history tracking
Auto Trait Implementations§
impl Freeze for QueryExecutionResult
impl !RefUnwindSafe for QueryExecutionResult
impl Send for QueryExecutionResult
impl Sync for QueryExecutionResult
impl Unpin for QueryExecutionResult
impl !UnwindSafe for QueryExecutionResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more