pub struct CreateQueryRequest {
pub name: String,
pub query_sql: String,
pub description: Option<String>,
pub parameters: Option<Vec<Parameter>>,
pub is_private: Option<bool>,
pub tags: Option<Vec<String>>,
}Expand description
Request to create a query
Fields§
§name: StringQuery name
query_sql: StringSQL query text
description: Option<String>Query description
parameters: Option<Vec<Parameter>>Query parameters
is_private: Option<bool>Whether the query is private
Tags
Implementations§
Trait Implementations§
Source§impl Clone for CreateQueryRequest
impl Clone for CreateQueryRequest
Source§fn clone(&self) -> CreateQueryRequest
fn clone(&self) -> CreateQueryRequest
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 CreateQueryRequest
impl Debug for CreateQueryRequest
Auto Trait Implementations§
impl Freeze for CreateQueryRequest
impl RefUnwindSafe for CreateQueryRequest
impl Send for CreateQueryRequest
impl Sync for CreateQueryRequest
impl Unpin for CreateQueryRequest
impl UnwindSafe for CreateQueryRequest
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