pub enum YieldMode {
Star,
Default,
Named,
}Expand description
A clause’s yield mode, derived once from its YieldList: YIELD *
projects every column, a bare clause its default table, and an explicit
list its named (post-alias) columns. Consumers select their behavior
from this instead of each re-testing (all, is_empty).
Variants§
Star
YIELD *: every column of the command.
Default
No YIELD at all: the command’s default table.
Named
An explicit YIELD list: the named, post-alias columns.
Trait Implementations§
impl Copy for YieldMode
impl Eq for YieldMode
impl StructuralPartialEq for YieldMode
Auto Trait Implementations§
impl Forget for YieldMode
impl Freeze for YieldMode
impl Move for YieldMode
impl RefUnwindSafe for YieldMode
impl Send for YieldMode
impl Sync for YieldMode
impl Unpin for YieldMode
impl UnsafeUnpin for YieldMode
impl UnwindSafe for YieldMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.