pub struct QueryContext {
pub keyspace: Option<String>,
pub timeout: Duration,
pub limit: Option<usize>,
pub timing_enabled: bool,
pub page_size: Option<usize>,
pub page_offset: usize,
}Expand description
Query execution context for REPL
Fields§
§keyspace: Option<String>Current keyspace
timeout: DurationQuery timeout
limit: Option<usize>Maximum rows to return
timing_enabled: boolEnable timing information
page_size: Option<usize>Page size for pagination
page_offset: usizeCurrent page offset
Trait Implementations§
Source§impl Clone for QueryContext
impl Clone for QueryContext
Source§fn clone(&self) -> QueryContext
fn clone(&self) -> QueryContext
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 QueryContext
impl Debug for QueryContext
Auto Trait Implementations§
impl Freeze for QueryContext
impl RefUnwindSafe for QueryContext
impl Send for QueryContext
impl Sync for QueryContext
impl Unpin for QueryContext
impl UnsafeUnpin for QueryContext
impl UnwindSafe for QueryContext
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