pub struct CaseWhen {
pub condition: Expr,
pub result: Expr,
}Expand description
A WHEN clause in a CASE expression containing both the condition and its corresponding result
Fields§
§condition: ExprThe WHEN condition expression.
result: ExprThe expression returned when condition matches.
Trait Implementations§
Source§impl Ord for CaseWhen
impl Ord for CaseWhen
Source§impl PartialOrd for CaseWhen
impl PartialOrd for CaseWhen
impl Eq for CaseWhen
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§
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