pub struct CaseExprBuilder { /* private fields */ }Expand description
Builder for CASE expressions.
Implementations§
Source§impl CaseExprBuilder
impl CaseExprBuilder
Sourcepub fn else_result<E>(self, result: E) -> Exprwhere
E: Into<SimpleExpr>,
pub fn else_result<E>(self, result: E) -> Exprwhere
E: Into<SimpleExpr>,
Set the ELSE clause and return the built Expr.
Trait Implementations§
Source§impl Clone for CaseExprBuilder
impl Clone for CaseExprBuilder
Source§fn clone(&self) -> CaseExprBuilder
fn clone(&self) -> CaseExprBuilder
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 CaseExprBuilder
impl !RefUnwindSafe for CaseExprBuilder
impl !Send for CaseExprBuilder
impl !Sync for CaseExprBuilder
impl Unpin for CaseExprBuilder
impl UnsafeUnpin for CaseExprBuilder
impl !UnwindSafe for CaseExprBuilder
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