pub struct Bound<'a> {
pub parts: Vec<(String, Option<&'a Value>)>,
pub ctx: EvalCtx<'a>,
}Expand description
One row of a (possibly joined) result: an ordered list of
(binding, row-or-NULL).
None is a LEFT JOIN’s unmatched side. Keeping it as None rather than an
empty map is what makes n.nspname IS NULL answer correctly for a row
that had no match — an empty map would report the column as absent, which
looks identical but loses the distinction between “no such column” and “no
matching row”.
Fields§
§parts: Vec<(String, Option<&'a Value>)>§ctx: EvalCtx<'a>What this row may reach beyond itself — see EvalCtx.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Bound<'a>
impl<'a> !Send for Bound<'a>
impl<'a> !Sync for Bound<'a>
impl<'a> !UnwindSafe for Bound<'a>
impl<'a> Freeze for Bound<'a>
impl<'a> Unpin for Bound<'a>
impl<'a> UnsafeUnpin for Bound<'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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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