pub struct CallSqlFragment {
pub sql: String,
pub line: u32,
pub span: (u32, u32),
pub context_sql: Option<String>,
pub append_site: Option<u32>,
pub deferred_append: bool,
pub assembly: CallSqlFragmentAssembly,
pub source_origins: SqlByteOrigins,
pub preceding_tokens: Option<CallSqlPrefixEnd>,
pub append_owner: Option<u32>,
}Expand description
Fragment contributing to an unanalyzable executor call or builder parameter.
Fields§
§sql: String§line: u32§span: (u32, u32)§context_sql: Option<String>§append_site: Option<u32>§deferred_append: boolA nested function appends to a builder owned by an outer scope.
assembly: CallSqlFragmentAssembly§source_origins: SqlByteOrigins§preceding_tokens: Option<CallSqlPrefixEnd>§append_owner: Option<u32>The helper and builder parameter this append extends. Appends that share it are one builder’s pieces.
Implementations§
Source§impl CallSqlFragment
impl CallSqlFragment
pub fn opaque_marker(line: u32, site: u32) -> Self
Trait Implementations§
Source§impl Clone for CallSqlFragment
impl Clone for CallSqlFragment
Source§impl Debug for CallSqlFragment
impl Debug for CallSqlFragment
impl Eq for CallSqlFragment
Source§impl PartialEq for CallSqlFragment
impl PartialEq for CallSqlFragment
impl StructuralPartialEq for CallSqlFragment
Auto Trait Implementations§
impl Forget for CallSqlFragment
impl Freeze for CallSqlFragmentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const CallSqlFragment is !null: Freeze,
PhantomData<CallSqlFragment>: Freeze,
PhantomData<Run>: Freeze,
impl Move for CallSqlFragment
impl RefUnwindSafe for CallSqlFragment
impl Send for CallSqlFragment
impl Sync for CallSqlFragment
impl Unpin for CallSqlFragment
impl UnsafeUnpin for CallSqlFragmentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CallSqlFragment is !null: UnsafeUnpin,
PhantomData<CallSqlFragment>: UnsafeUnpin,
PhantomData<Run>: UnsafeUnpin,
impl UnwindSafe for CallSqlFragment
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more