pub struct ProjectionFlags {
pub include_cell_metadata: bool,
}Expand description
Projection-level flags that control opt-in metadata collection.
Created during query planning and threaded to the scan/build path.
When all flags are false (the default), the hot path allocates nothing
extra — QueryRow::cell_metadata stays None.
Fields§
§include_cell_metadata: boolSet when the SELECT list contains at least one WRITETIME(col) or
TTL(col) expression. Causes per-cell metadata to be attached to
each QueryRow produced by the scan.
Wired by: issue #692 (executor evaluation). Until then, callers can set this flag manually in tests or driver code.
Trait Implementations§
Source§impl Clone for ProjectionFlags
impl Clone for ProjectionFlags
Source§fn clone(&self) -> ProjectionFlags
fn clone(&self) -> ProjectionFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectionFlags
impl Debug for ProjectionFlags
Source§impl Default for ProjectionFlags
impl Default for ProjectionFlags
Source§fn default() -> ProjectionFlags
fn default() -> ProjectionFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectionFlags
impl RefUnwindSafe for ProjectionFlags
impl Send for ProjectionFlags
impl Sync for ProjectionFlags
impl Unpin for ProjectionFlags
impl UnsafeUnpin for ProjectionFlags
impl UnwindSafe for ProjectionFlags
Blanket Implementations§
impl<T> Allocation for T
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