pub struct ExecuteNativeQueryRequest {
pub database: MetabaseId,
pub native: NativeQuery,
pub parameters: Option<Vec<QueryParameter>>,
}
Expand description
Request to execute a native SQL query
Fields§
§database: MetabaseId
Database to execute against
native: NativeQuery
The native query
parameters: Option<Vec<QueryParameter>>
Parameters for the query
Trait Implementations§
Source§impl Clone for ExecuteNativeQueryRequest
impl Clone for ExecuteNativeQueryRequest
Source§fn clone(&self) -> ExecuteNativeQueryRequest
fn clone(&self) -> ExecuteNativeQueryRequest
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 ExecuteNativeQueryRequest
impl Debug for ExecuteNativeQueryRequest
Auto Trait Implementations§
impl Freeze for ExecuteNativeQueryRequest
impl RefUnwindSafe for ExecuteNativeQueryRequest
impl Send for ExecuteNativeQueryRequest
impl Sync for ExecuteNativeQueryRequest
impl Unpin for ExecuteNativeQueryRequest
impl UnwindSafe for ExecuteNativeQueryRequest
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