pub struct CaseExpression {
pub operand: Option<Box<Expr>>,
pub alternatives: Vec<CaseAlternative>,
pub else_expression: Option<Box<Expr>>,
}Expand description
A searched or simple CASE expression.
Fields§
§operand: Option<Box<Expr>>§alternatives: Vec<CaseAlternative>§else_expression: Option<Box<Expr>>Trait Implementations§
Source§impl Clone for CaseExpression
impl Clone for CaseExpression
Source§impl Debug for CaseExpression
impl Debug for CaseExpression
impl Eq for CaseExpression
Source§impl Hash for CaseExpression
impl Hash for CaseExpression
Source§impl PartialEq for CaseExpression
impl PartialEq for CaseExpression
impl StructuralPartialEq for CaseExpression
Auto Trait Implementations§
impl Freeze for CaseExpression
impl RefUnwindSafe for CaseExpression
impl Send for CaseExpression
impl Sync for CaseExpression
impl Unpin for CaseExpression
impl UnsafeUnpin for CaseExpression
impl UnwindSafe for CaseExpression
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