Skip to main content

Scoped

Struct Scoped 

Source
pub struct Scoped<Marker, Scope>(/* private fields */);
Expand description

Marker wrapper that carries in-scope tables.

Trait Implementations§

Source§

impl<M, Scope, R, T> AfterFullJoin<R, T> for Scoped<M, Scope>
where M: AfterFullJoin<R, T>,

Source§

type NewRow = <M as AfterFullJoin<R, T>>::NewRow

Source§

impl<M, Scope, R, T> AfterJoin<R, T> for Scoped<M, Scope>
where M: AfterJoin<R, T>,

Source§

type NewRow = <M as AfterJoin<R, T>>::NewRow

Source§

impl<M, Scope, R, T> AfterLeftJoin<R, T> for Scoped<M, Scope>
where M: AfterLeftJoin<R, T>,

Source§

type NewRow = <M as AfterLeftJoin<R, T>>::NewRow

Source§

impl<M, Scope, R, T> AfterRightJoin<R, T> for Scoped<M, Scope>
where M: AfterRightJoin<R, T>,

Source§

type NewRow = <M as AfterRightJoin<R, T>>::NewRow

Source§

impl<Marker: Clone, Scope: Clone> Clone for Scoped<Marker, Scope>

Source§

fn clone(&self) -> Scoped<Marker, Scope>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Marker: Copy, Scope: Copy> Copy for Scoped<Marker, Scope>

Source§

impl<Marker: Debug, Scope: Debug> Debug for Scoped<Marker, Scope>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<RowRef, R, M, Scope> DecodeSelectedRef<RowRef, R> for Scoped<M, Scope>
where M: DecodeSelectedRef<RowRef, R>,

Source§

fn decode(row: RowRef) -> Result<R, DrizzleError>

Decode the row into R according to the marker. Read more
Source§

impl<Marker: Default, Scope: Default> Default for Scoped<Marker, Scope>

Source§

fn default() -> Scoped<Marker, Scope>

Returns the “default value” for a type. Read more
Source§

impl<Scope, Cols, Head, Tail, Proof> MarkerAggValidFor<Cons<Head, Tail>, Proof> for Scoped<SelectCols<Cols>, Scope>
where Cols: ScalarColumnsIn<Cons<Head, Tail>, Proof>,

Source§

impl<Scope, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectStar, Scope>

Source§

impl<Scope, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectExpr, Scope>

Source§

impl<Scope, R, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectAs<R>, Scope>

Source§

impl<M, Scope, Row: ?Sized, Inferred, Actual> MarkerColumnCountValid<Row, Inferred, Actual> for Scoped<M, Scope>
where M: MarkerColumnCountValid<Row, Inferred, Actual>,

Source§

impl<M, Scope, Proof> MarkerScopeValidFor<Proof> for Scoped<M, Scope>

Source§

impl<M, Scope, T> ResolveRow<T> for Scoped<M, Scope>
where M: ResolveRow<T>,

Source§

type Row = <M as ResolveRow<T>>::Row

Source§

impl<M, Scope, Joined> ScopePush<Joined> for Scoped<M, Scope>

Source§

type Out = Scoped<M, Cons<Joined, Scope>>

Source§

impl<M, Scope> StrictDecodeMarker for Scoped<M, Scope>

Source§

impl<'a, V, M, Scope> SubqueryType<'a, V> for Scoped<M, Scope>
where V: SQLParam + 'a, M: SubqueryType<'a, V>,

Source§

type SQLType = <M as SubqueryType<'a, V>>::SQLType

Auto Trait Implementations§

§

impl<Marker, Scope> Freeze for Scoped<Marker, Scope>

§

impl<Marker, Scope> RefUnwindSafe for Scoped<Marker, Scope>
where Marker: RefUnwindSafe, Scope: RefUnwindSafe,

§

impl<Marker, Scope> Send for Scoped<Marker, Scope>
where Marker: Send, Scope: Send,

§

impl<Marker, Scope> Sync for Scoped<Marker, Scope>
where Marker: Sync, Scope: Sync,

§

impl<Marker, Scope> Unpin for Scoped<Marker, Scope>
where Marker: Unpin, Scope: Unpin,

§

impl<Marker, Scope> UnsafeUnpin for Scoped<Marker, Scope>

§

impl<Marker, Scope> UnwindSafe for Scoped<Marker, Scope>
where Marker: UnwindSafe, Scope: UnwindSafe,

Blanket Implementations§

Source§

impl<T> AliasExt for T

Source§

fn alias(self, name: &'static str) -> AliasedExpr<Self>

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Mk> MarkerAggValidFor<()> for Mk

Source§

impl<Scope> ScopeSatisfies<Nil, ()> for Scope

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeEq<T> for T