pub struct EmbeddedSqlSourcePosition {
pub sql_line: u32,
pub sql_column: u32,
pub source_line: u32,
pub source_path: Option<PathBuf>,
}Expand description
A recovered SQL position whose physical source-line offset changes.
Fields§
§sql_line: u32§sql_column: u32§source_line: u32§source_path: Option<PathBuf>Present when SQL originated in a different module from its executor.
Trait Implementations§
Source§impl Clone for EmbeddedSqlSourcePosition
impl Clone for EmbeddedSqlSourcePosition
Source§impl Debug for EmbeddedSqlSourcePosition
impl Debug for EmbeddedSqlSourcePosition
impl Eq for EmbeddedSqlSourcePosition
impl StructuralPartialEq for EmbeddedSqlSourcePosition
Auto Trait Implementations§
impl Forget for EmbeddedSqlSourcePosition
impl Freeze for EmbeddedSqlSourcePosition
impl Move for EmbeddedSqlSourcePosition
impl RefUnwindSafe for EmbeddedSqlSourcePosition
impl Send for EmbeddedSqlSourcePositionwhere
RawVecInner: Send,
impl Sync for EmbeddedSqlSourcePositionwhere
RawVecInner: Sync,
impl Unpin for EmbeddedSqlSourcePosition
impl UnsafeUnpin for EmbeddedSqlSourcePosition
impl UnwindSafe for EmbeddedSqlSourcePositionwhere
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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