pub struct Query {
pub query_id: i64,
pub name: String,
pub description: Option<String>,
pub query_sql: Option<String>,
pub parameters: Vec<Parameter>,
pub owner: Option<String>,
pub is_private: Option<bool>,
pub is_archived: Option<bool>,
pub is_unsaved: Option<bool>,
pub query_engine: Option<String>,
pub version: Option<i64>,
pub tags: Vec<String>,
}Expand description
Query response from get/create operations
Fields§
§query_id: i64Unique query ID
name: StringQuery name
description: Option<String>Query description
query_sql: Option<String>SQL query text
parameters: Vec<Parameter>Query parameters
owner: Option<String>Query owner (username or team handle)
is_private: Option<bool>Whether the query is private
is_archived: Option<bool>Whether the query is archived
is_unsaved: Option<bool>Whether the query is unsaved
query_engine: Option<String>Query engine (medium, large)
version: Option<i64>Query version
Tags
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Query
impl<'de> Deserialize<'de> for Query
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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