pub enum BranchShape<'a> {
Items(&'a [ReturnItem]),
Wildcard,
Omitted,
}Expand description
A statement arm’s result shape, as far as the text decides it: the
UNION column rules compare it across arms (see branch_shape).
Variants§
Items(&'a [ReturnItem])
A trailing RETURN with these explicit items.
Wildcard
RETURN *, or a trailing CALL subquery that exports columns:
the column set is unknowable until execution.
Omitted
No result at all (FINISH, a write-only arm, a unit CALL).
Trait Implementations§
Source§impl<'a> Clone for BranchShape<'a>
impl<'a> Clone for BranchShape<'a>
impl<'a> Copy for BranchShape<'a>
Source§impl<'a> Debug for BranchShape<'a>
impl<'a> Debug for BranchShape<'a>
Source§impl<'a> PartialEq for BranchShape<'a>
impl<'a> PartialEq for BranchShape<'a>
impl<'a> StructuralPartialEq for BranchShape<'a>
Auto Trait Implementations§
impl<'a> Forget for BranchShape<'a>
impl<'a> Freeze for BranchShape<'a>
impl<'a> Move for BranchShape<'a>
impl<'a> RefUnwindSafe for BranchShape<'a>
impl<'a> Send for BranchShape<'a>
impl<'a> Sync for BranchShape<'a>
impl<'a> Unpin for BranchShape<'a>
impl<'a> UnsafeUnpin for BranchShape<'a>
impl<'a> UnwindSafe for BranchShape<'a>
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