#[non_exhaustive]pub struct QueryOptions { /* private fields */ }Implementations§
Source§impl QueryOptions
impl QueryOptions
pub fn new() -> Self
pub fn args(self, args: impl Into<Option<Vec<Value>>>) -> Self
pub fn client_context_id( self, client_context_id: impl Into<Option<String>>, ) -> Self
pub fn pretty(self, pretty: impl Into<Option<bool>>) -> Self
pub fn query_context(self, query_context: impl Into<Option<String>>) -> Self
pub fn read_only(self, read_only: impl Into<Option<bool>>) -> Self
pub fn scan_consistency( self, scan_consistency: impl Into<Option<ScanConsistency>>, ) -> Self
pub fn scan_wait(self, scan_wait: impl Into<Option<Duration>>) -> Self
pub fn statement(self, statement: impl Into<Option<String>>) -> Self
pub fn timeout(self, timeout: impl Into<Option<Duration>>) -> Self
pub fn named_args( self, named_args: impl Into<Option<HashMap<String, Value>>>, ) -> Self
pub fn raw(self, raw: impl Into<Option<HashMap<String, Value>>>) -> Self
pub fn plan_format(self, plan_format: impl Into<Option<PlanFormat>>) -> Self
pub fn logical_plan(self, logical_plan: impl Into<Option<bool>>) -> Self
pub fn optimized_logical_plan( self, optimized_logical_plan: impl Into<Option<bool>>, ) -> Self
pub fn expression_tree(self, expression_tree: impl Into<Option<bool>>) -> Self
pub fn rewritten_expression_tree( self, rewritten_expression_tree: impl Into<Option<bool>>, ) -> Self
pub fn job(self, job: impl Into<Option<bool>>) -> Self
pub fn max_warnings(self, max_warnings: impl Into<Option<i32>>) -> Self
pub fn on_behalf_of( self, on_behalf_of: impl Into<Option<OnBehalfOfInfo>>, ) -> Self
Trait Implementations§
Source§impl Clone for QueryOptions
impl Clone for QueryOptions
Source§fn clone(&self) -> QueryOptions
fn clone(&self) -> QueryOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 QueryOptions
impl Debug for QueryOptions
Source§impl Default for QueryOptions
impl Default for QueryOptions
Source§fn default() -> QueryOptions
fn default() -> QueryOptions
Returns the “default value” for a type. Read more
Source§impl From<AnalyticsOptions> for QueryOptions
impl From<AnalyticsOptions> for QueryOptions
Source§fn from(opts: AnalyticsOptions) -> Self
fn from(opts: AnalyticsOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryOptions
impl RefUnwindSafe for QueryOptions
impl Send for QueryOptions
impl Sync for QueryOptions
impl Unpin for QueryOptions
impl UnsafeUnpin for QueryOptions
impl UnwindSafe for QueryOptions
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