pub struct WhenBranch {
pub predicate: Expr,
pub body: Statement,
}Expand description
One WHEN <predicate> THEN <single-query> branch of a ConditionalClause.
Fields§
§predicate: Expr§body: StatementTrait Implementations§
Source§impl Clone for WhenBranch
impl Clone for WhenBranch
Source§impl Debug for WhenBranch
impl Debug for WhenBranch
Source§impl PartialEq for WhenBranch
impl PartialEq for WhenBranch
impl StructuralPartialEq for WhenBranch
Auto Trait Implementations§
impl Forget for WhenBranch
impl Freeze for WhenBranch
impl Move for WhenBranch
impl RefUnwindSafe for WhenBranch
impl Send for WhenBranch
impl Sync for WhenBranch
impl Unpin for WhenBranch
impl UnsafeUnpin for WhenBranch
impl UnwindSafe for WhenBranch
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