pub struct CaseWhen {
pub when: Expr,
pub then: Expr,
}Expand description
One WHEN predicate THEN value branch of a searched SQL CASE expression.
Fields§
§when: ExprBoolean predicate for this branch.
then: ExprResult expression chosen when when evaluates true.
Implementations§
Trait Implementations§
impl StructuralPartialEq for CaseWhen
Auto Trait Implementations§
impl Freeze for CaseWhen
impl RefUnwindSafe for CaseWhen
impl Send for CaseWhen
impl Sync for CaseWhen
impl Unpin for CaseWhen
impl UnsafeUnpin for CaseWhen
impl UnwindSafe for CaseWhen
Blanket Implementations§
impl<T> Allocation for T
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