pub struct PgQueryCtx {
pub tables: HashMap<TableRef, PgTableInfo>,
pub errs: Errs,
pub rust_arg_lookup: HashMap<String, (usize, Type)>,
pub rust_args: Vec<TokenStream>,
pub query_args: Vec<TokenStream>,
pub op_stack: Vec<BinOp>,
}Fields§
§tables: HashMap<TableRef, PgTableInfo>§errs: Errs§rust_arg_lookup: HashMap<String, (usize, Type)>§rust_args: Vec<TokenStream>§query_args: Vec<TokenStream>§op_stack: Vec<BinOp>Implementations§
Source§impl PgQueryCtx
impl PgQueryCtx
pub fn new(errs: Errs, tables: HashMap<TableRef, PgTableInfo>) -> PgQueryCtx
Auto Trait Implementations§
impl Freeze for PgQueryCtx
impl !RefUnwindSafe for PgQueryCtx
impl !Send for PgQueryCtx
impl !Sync for PgQueryCtx
impl Unpin for PgQueryCtx
impl UnsafeUnpin for PgQueryCtx
impl !UnwindSafe for PgQueryCtx
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