pub struct RbsQueryInfo {
pub func_name: String,
pub struct_name: Option<String>,
pub columns: Vec<ResolvedColumn>,
pub child_columns: Vec<ResolvedColumn>,
pub params: Vec<ResolvedParam>,
pub command: QueryCommand,
}Expand description
Per-query info for RBS generation.
Fields§
§func_name: String§struct_name: Option<String>§columns: Vec<ResolvedColumn>The row’s columns. For a :grouped query this holds the parent
columns only; the children live in Self::child_columns.
child_columns: Vec<ResolvedColumn>A :grouped query’s child-row columns, empty for every other command.
Carried as its own field rather than packed into columns behind an
in-band marker: a sentinel smuggled through a data field is how #173
leaked __unknown_col__ into user-visible output, and a full_type
that means “this is a child” rather than a type is the same shape of
mistake one refactor away from being read as a type.
params: Vec<ResolvedParam>§command: QueryCommandTrait Implementations§
Source§impl Clone for RbsQueryInfo
impl Clone for RbsQueryInfo
Source§impl Debug for RbsQueryInfo
impl Debug for RbsQueryInfo
Auto Trait Implementations§
impl Forget for RbsQueryInfo
impl Freeze for RbsQueryInfowhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ResolvedColumn>: Freeze,
PhantomData<ResolvedParam>: Freeze,
impl Move for RbsQueryInfo
impl RefUnwindSafe for RbsQueryInfo
impl Send for RbsQueryInfowhere
RawVecInner: Send,
impl Sync for RbsQueryInfowhere
RawVecInner: Sync,
impl Unpin for RbsQueryInfo
impl UnsafeUnpin for RbsQueryInfowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ResolvedColumn>: UnsafeUnpin,
PhantomData<ResolvedParam>: UnsafeUnpin,
impl UnwindSafe for RbsQueryInfowhere
RawVecInner: UnwindSafe,
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