pub struct TranslateCtx<'a> {
pub target: Target,
pub self_alias: &'a str,
pub doc_alias: &'a str,
pub params: &'a [Value],
}Expand description
The SQL aliases the planner assigned to the current scope’s row (self)
and its owning document (doc); on the docs target both are the same
alias. params are the query bindings, for ${…} interpolations.
Fields§
§target: Target§self_alias: &'a str§doc_alias: &'a str§params: &'a [Value]Trait Implementations§
Source§impl<'a> Clone for TranslateCtx<'a>
impl<'a> Clone for TranslateCtx<'a>
impl<'a> Copy for TranslateCtx<'a>
Auto Trait Implementations§
impl<'a> Freeze for TranslateCtx<'a>
impl<'a> RefUnwindSafe for TranslateCtx<'a>
impl<'a> Send for TranslateCtx<'a>
impl<'a> Sync for TranslateCtx<'a>
impl<'a> Unpin for TranslateCtx<'a>
impl<'a> UnsafeUnpin for TranslateCtx<'a>
impl<'a> UnwindSafe for TranslateCtx<'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