pub struct CreateQuery {
pub name: String,
pub description: Option<String>,
pub sql: String,
pub data_source_id: u64,
pub schedule: Option<Schedule>,
pub options: Option<QueryOptions>,
pub tags: Option<Vec<String>>,
pub is_archived: bool,
pub is_draft: bool,
}Fields§
§name: String§description: Option<String>§sql: String§data_source_id: u64§schedule: Option<Schedule>§options: Option<QueryOptions>§is_archived: bool§is_draft: boolTrait Implementations§
Source§impl Clone for CreateQuery
impl Clone for CreateQuery
Source§fn clone(&self) -> CreateQuery
fn clone(&self) -> CreateQuery
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 CreateQuery
impl Debug for CreateQuery
Auto Trait Implementations§
impl Freeze for CreateQuery
impl RefUnwindSafe for CreateQuery
impl Send for CreateQuery
impl Sync for CreateQuery
impl Unpin for CreateQuery
impl UnsafeUnpin for CreateQuery
impl UnwindSafe for CreateQuery
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