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
Source§impl<'de> Deserialize<'de> for CaseExpression
impl<'de> Deserialize<'de> for CaseExpression
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 CaseExpression
Source§impl Hash for CaseExpression
impl Hash for CaseExpression
Source§impl PartialEq for CaseExpression
impl PartialEq for CaseExpression
Source§impl Serialize for CaseExpression
impl Serialize 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