pub struct QueryRequest {
pub query: SelectQuery,
pub trace_chain: Vec<TraceNode>,
pub comment: Option<String>,
pub capture_debug_query: bool,
pub capture_execution_metadata: bool,
}Fields§
§query: SelectQuery§trace_chain: Vec<TraceNode>§comment: Option<String>§capture_debug_query: boolBuild a copy-paste representation with bind values interpolated. Runtimes should disable this when query logging is disabled.
capture_execution_metadata: boolRetain timings, parameterized text, bind values, trace and comment in the result. Disable only when the caller will discard execution metadata.
Trait Implementations§
Source§impl Clone for QueryRequest
impl Clone for QueryRequest
Source§fn clone(&self) -> QueryRequest
fn clone(&self) -> QueryRequest
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 moreAuto Trait Implementations§
impl Freeze for QueryRequest
impl RefUnwindSafe for QueryRequest
impl Send for QueryRequest
impl Sync for QueryRequest
impl Unpin for QueryRequest
impl UnsafeUnpin for QueryRequest
impl UnwindSafe for QueryRequest
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