Struct databend_common_ast::ast::CreateTaskStmt
source · pub struct CreateTaskStmt {
pub if_not_exists: bool,
pub name: String,
pub warehouse_opts: WarehouseOptions,
pub schedule_opts: Option<ScheduleOptions>,
pub session_parameters: BTreeMap<String, String>,
pub suspend_task_after_num_failures: Option<u64>,
pub error_integration: Option<String>,
pub comments: Option<String>,
pub after: Vec<String>,
pub when_condition: Option<Expr>,
pub sql: TaskSql,
}Fields§
§if_not_exists: bool§name: String§warehouse_opts: WarehouseOptions§schedule_opts: Option<ScheduleOptions>§session_parameters: BTreeMap<String, String>§suspend_task_after_num_failures: Option<u64>§error_integration: Option<String>§comments: Option<String>§after: Vec<String>§when_condition: Option<Expr>§sql: TaskSqlTrait Implementations§
source§impl Clone for CreateTaskStmt
impl Clone for CreateTaskStmt
source§fn clone(&self) -> CreateTaskStmt
fn clone(&self) -> CreateTaskStmt
Returns a copy 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 CreateTaskStmt
impl Debug for CreateTaskStmt
source§impl Display for CreateTaskStmt
impl Display for CreateTaskStmt
source§impl DriveMut for CreateTaskStmt
impl DriveMut for CreateTaskStmt
fn drive_mut<V: VisitorMut>(&mut self, visitor: &mut V)
source§impl PartialEq for CreateTaskStmt
impl PartialEq for CreateTaskStmt
impl StructuralPartialEq for CreateTaskStmt
Auto Trait Implementations§
impl Freeze for CreateTaskStmt
impl RefUnwindSafe for CreateTaskStmt
impl Send for CreateTaskStmt
impl Sync for CreateTaskStmt
impl Unpin for CreateTaskStmt
impl UnwindSafe for CreateTaskStmt
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more