pub struct ConditionalBlock {
pub condition: Expr,
pub body: Vec<Statement>,
}Expand description
cond THEN statements of an IF/ELSEIF or a CASE statement’s WHEN.
Fields§
§condition: Expr§body: Vec<Statement>Trait Implementations§
Source§impl Clone for ConditionalBlock
impl Clone for ConditionalBlock
Source§impl Debug for ConditionalBlock
impl Debug for ConditionalBlock
Source§impl<'de> Deserialize<'de> for ConditionalBlock
impl<'de> Deserialize<'de> for ConditionalBlock
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
impl Eq for ConditionalBlock
Source§impl Hash for ConditionalBlock
impl Hash for ConditionalBlock
Source§impl PartialEq for ConditionalBlock
impl PartialEq for ConditionalBlock
Source§impl Serialize for ConditionalBlock
impl Serialize for ConditionalBlock
impl StructuralPartialEq for ConditionalBlock
Auto Trait Implementations§
impl Forget for ConditionalBlock
impl Freeze for ConditionalBlockwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Ident>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
*const DataType is !null: Freeze,
PhantomData<DataType>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
PhantomData<CaseWhen>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<StructExprField>: Freeze,
*const Function is !null: Freeze,
PhantomData<Function>: Freeze,
PhantomData<(Ident, Expr)>: Freeze,
PhantomData<Statement>: Freeze,
impl Move for ConditionalBlock
impl RefUnwindSafe for ConditionalBlock
impl Send for ConditionalBlockwhere
RawVecInner: Send,
BoxRaw<Expr>: Send,
BoxRaw<DataType>: Send,
BoxRaw<Query>: Send,
BoxRaw<Function>: Send,
BoxRaw<CreateTable>: Send,
BoxRaw<CreateView>: Send,
BoxRaw<CreateFunction>: Send,
BoxRaw<CreateTableFunction>: Send,
BoxRaw<CreateProcedure>: Send,
BoxRaw<CreateSchema>: Send,
BoxRaw<Insert>: Send,
BoxRaw<Update>: Send,
BoxRaw<Delete>: Send,
BoxRaw<Merge>: Send,
BoxRaw<Drop>: Send,
BoxRaw<AlterTable>: Send,
BoxRaw<ExportData>: Send,
BoxRaw<LoadData>: Send,
impl Sync for ConditionalBlockwhere
RawVecInner: Sync,
BoxRaw<Expr>: Sync,
BoxRaw<DataType>: Sync,
BoxRaw<Query>: Sync,
BoxRaw<Function>: Sync,
BoxRaw<CreateTable>: Sync,
BoxRaw<CreateView>: Sync,
BoxRaw<CreateFunction>: Sync,
BoxRaw<CreateTableFunction>: Sync,
BoxRaw<CreateProcedure>: Sync,
BoxRaw<CreateSchema>: Sync,
BoxRaw<Insert>: Sync,
BoxRaw<Update>: Sync,
BoxRaw<Delete>: Sync,
BoxRaw<Merge>: Sync,
BoxRaw<Drop>: Sync,
BoxRaw<AlterTable>: Sync,
BoxRaw<ExportData>: Sync,
BoxRaw<LoadData>: Sync,
impl Unpin for ConditionalBlockwhere
*const u8 is !null: Unpin,
Box<Expr>: Unpin,
Box<DataType>: Unpin,
Box<Query>: Unpin,
Box<Function>: Unpin,
Box<CreateTable>: Unpin,
Box<CreateView>: Unpin,
Box<CreateFunction>: Unpin,
Box<CreateTableFunction>: Unpin,
Box<CreateProcedure>: Unpin,
Box<CreateSchema>: Unpin,
Box<Insert>: Unpin,
Box<Update>: Unpin,
Box<Delete>: Unpin,
Box<Merge>: Unpin,
Box<Drop>: Unpin,
Box<AlterTable>: Unpin,
Box<ExportData>: Unpin,
Box<LoadData>: Unpin,
impl UnsafeUnpin for ConditionalBlockwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
*const DataType is !null: UnsafeUnpin,
PhantomData<DataType>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<CaseWhen>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<StructExprField>: UnsafeUnpin,
*const Function is !null: UnsafeUnpin,
PhantomData<Function>: UnsafeUnpin,
PhantomData<(Ident, Expr)>: UnsafeUnpin,
PhantomData<Statement>: UnsafeUnpin,
impl UnwindSafe for ConditionalBlockwhere
RawVecInner: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<DataType>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
BoxRaw<Function>: UnwindSafe,
BoxRaw<CreateTable>: UnwindSafe,
BoxRaw<CreateView>: UnwindSafe,
BoxRaw<CreateFunction>: UnwindSafe,
BoxRaw<CreateTableFunction>: UnwindSafe,
BoxRaw<CreateProcedure>: UnwindSafe,
BoxRaw<CreateSchema>: UnwindSafe,
BoxRaw<Insert>: UnwindSafe,
BoxRaw<Update>: UnwindSafe,
BoxRaw<Delete>: UnwindSafe,
BoxRaw<Merge>: UnwindSafe,
BoxRaw<Drop>: UnwindSafe,
BoxRaw<AlterTable>: UnwindSafe,
BoxRaw<ExportData>: UnwindSafe,
BoxRaw<LoadData>: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.