pub struct Query {Show 14 fields
pub id: u64,
pub name: String,
pub description: Option<String>,
pub sql: String,
pub data_source_id: u64,
pub user: Option<QueryUser>,
pub schedule: Option<Schedule>,
pub options: QueryOptions,
pub visualizations: Vec<Visualization>,
pub tags: Option<Vec<String>>,
pub is_archived: bool,
pub is_draft: bool,
pub updated_at: String,
pub created_at: String,
}Fields§
§id: u64§name: String§description: Option<String>§sql: String§data_source_id: u64§user: Option<QueryUser>§schedule: Option<Schedule>§options: QueryOptions§visualizations: Vec<Visualization>§is_archived: bool§is_draft: bool§updated_at: String§created_at: StringTrait 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 UnsafeUnpin 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