pub struct CaseWhenExpression {
pub condition: ConditionExpression,
pub then_expr: ColumnOrLiteral,
pub else_expr: Option<ColumnOrLiteral>,
}
Fields§
§condition: ConditionExpression
§then_expr: ColumnOrLiteral
§else_expr: Option<ColumnOrLiteral>
Trait Implementations§
Source§impl Clone for CaseWhenExpression
impl Clone for CaseWhenExpression
Source§fn clone(&self) -> CaseWhenExpression
fn clone(&self) -> CaseWhenExpression
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CaseWhenExpression
impl Debug for CaseWhenExpression
Source§impl<'de> Deserialize<'de> for CaseWhenExpression
impl<'de> Deserialize<'de> for CaseWhenExpression
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
Source§impl Display for CaseWhenExpression
impl Display for CaseWhenExpression
Source§impl Hash for CaseWhenExpression
impl Hash for CaseWhenExpression
Source§impl PartialEq for CaseWhenExpression
impl PartialEq for CaseWhenExpression
Source§impl Serialize for CaseWhenExpression
impl Serialize for CaseWhenExpression
impl Eq for CaseWhenExpression
impl StructuralPartialEq for CaseWhenExpression
Auto Trait Implementations§
impl Freeze for CaseWhenExpression
impl RefUnwindSafe for CaseWhenExpression
impl Send for CaseWhenExpression
impl Sync for CaseWhenExpression
impl Unpin for CaseWhenExpression
impl UnwindSafe for CaseWhenExpression
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