pub struct WhenClause {
pub condition: Conditions,
pub result: Expr,
}Expand description
WHEN condition THEN result.
Fields§
§condition: Conditions§result: ExprTrait Implementations§
Source§impl Clone for WhenClause
impl Clone for WhenClause
Source§fn clone(&self) -> WhenClause
fn clone(&self) -> WhenClause
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WhenClause
impl !RefUnwindSafe for WhenClause
impl Send for WhenClause
impl Sync for WhenClause
impl Unpin for WhenClause
impl UnsafeUnpin for WhenClause
impl !UnwindSafe for WhenClause
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