pub struct QueryOptions {Show 14 fields
pub context: Option<OnlineQueryContext>,
pub staleness: Option<HashMap<String, String>>,
pub include_meta: Option<bool>,
pub query_name: Option<String>,
pub query_name_version: Option<String>,
pub correlation_id: Option<String>,
pub query_context: Option<HashMap<String, Value>>,
pub meta: Option<HashMap<String, String>>,
pub now: Option<String>,
pub explain: Option<bool>,
pub store_plan_stages: Option<bool>,
pub planner_options: Option<HashMap<String, Value>>,
pub branch_id: Option<String>,
pub encoding_options: Option<FeatureEncodingOptions>,
}Expand description
Options that control query behavior (used by both query and query_bulk).
Fields§
§context: Option<OnlineQueryContext>§staleness: Option<HashMap<String, String>>§include_meta: Option<bool>§query_name: Option<String>§query_name_version: Option<String>§correlation_id: Option<String>§query_context: Option<HashMap<String, Value>>§meta: Option<HashMap<String, String>>§now: Option<String>§explain: Option<bool>§store_plan_stages: Option<bool>§planner_options: Option<HashMap<String, Value>>§branch_id: Option<String>§encoding_options: Option<FeatureEncodingOptions>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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request