pub struct CaseExpression {
pub alternatives: Vec<CaseAlternative>,
pub else_expression: Option<Expression>,
}Fields§
§alternatives: Vec<CaseAlternative>§else_expression: Option<Expression>Trait Implementations§
Source§impl Clone for CaseExpression
impl Clone for CaseExpression
Source§fn clone(&self) -> CaseExpression
fn clone(&self) -> CaseExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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
Source§impl PartialEq for CaseExpression
impl PartialEq for CaseExpression
Source§fn eq(&self, other: &CaseExpression) -> bool
fn eq(&self, other: &CaseExpression) -> bool
Tests for
self and other values to be equal, and is used by ==.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