Struct mem_query::relation::RelProxy [−][src]
pub struct RelProxy<Ptr>(_);
Implementations
Trait Implementations
impl<Ptr: DerefMut<Target = R>, R, Q> Delete<Q> for RelProxy<Ptr> where
R: Delete<Q>,
Q: QueryFilter,
[src]
impl<Ptr: DerefMut<Target = R>, R, Q> Delete<Q> for RelProxy<Ptr> where
R: Delete<Q>,
Q: QueryFilter,
[src]impl<Ptr: DerefMut<Target = R>, R, H> Insert<H> for RelProxy<Ptr> where
R: Insert<H>,
H: Header,
[src]
impl<Ptr: DerefMut<Target = R>, R, H> Insert<H> for RelProxy<Ptr> where
R: Insert<H>,
H: Header,
[src]type Op = ProxyOp<R::Op>
fn insert_op<FromRec: Record<Cols = H>>(
rec: FromRec
) -> (Self::Op, Self::Remainder)
[src]
rec: FromRec
) -> (Self::Op, Self::Remainder)
fn insert<FromRec: Record<Cols = H>>(
&mut self,
rec: FromRec
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]
&mut self,
rec: FromRec
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
fn insert_multi(
&mut self,
recs: impl IntoIterator<Item = impl Record<Cols = H>>
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
[src]
&mut self,
recs: impl IntoIterator<Item = impl Record<Cols = H>>
) -> Result<(), Either<<Self::Op as RevertableOp<Self>>::Err, Infallible>>
impl<'a, Ptr: Deref<Target = R>, R: 'a + Relation<'a>> IntoIterator for &'a RelProxy<Ptr>
[src]
impl<'a, Ptr: Deref<Target = R>, R: 'a + Relation<'a>> IntoIterator for &'a RelProxy<Ptr>
[src]impl<'a, Ptr: Deref<Target = R>, R: QueryOutput<'a>> QueryOutput<'a> for RelProxy<Ptr>
[src]
impl<'a, Ptr: Deref<Target = R>, R: QueryOutput<'a>> QueryOutput<'a> for RelProxy<Ptr>
[src]Auto Trait Implementations
impl<Ptr> RefUnwindSafe for RelProxy<Ptr> where
Ptr: RefUnwindSafe,
Ptr: RefUnwindSafe,
impl<Ptr> Send for RelProxy<Ptr> where
Ptr: Send,
Ptr: Send,
impl<Ptr> Sync for RelProxy<Ptr> where
Ptr: Sync,
Ptr: Sync,
impl<Ptr> Unpin for RelProxy<Ptr> where
Ptr: Unpin,
Ptr: Unpin,
impl<Ptr> UnwindSafe for RelProxy<Ptr> where
Ptr: UnwindSafe,
Ptr: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<'a, Req, T> DynQueryable<'a, Req> for T where
T: Queryable<'a, Req>,
Req: QueryRequest + 'a,
[src]
impl<'a, Req, T> DynQueryable<'a, Req> for T where
T: Queryable<'a, Req>,
Req: QueryRequest + 'a,
[src]type Cols = <T as RelationImpl>::Cols
pub fn dyn_query(
&'a Self,
Req
) -> Box<dyn Iterator<Item = ErasedExtRecord<'a, <T as RelationImpl>::Cols>> + 'a, Global>
[src]
&'a Self,
Req
) -> Box<dyn Iterator<Item = ErasedExtRecord<'a, <T as RelationImpl>::Cols>> + 'a, Global>
impl<'a, Rel, Req, Plan> Queryable<'a, Req> for Rel where
Rel: 'a + Relation<'a>,
Req: QueryRequest + 'a,
Plan: QueryPlan<'a, Rel, Req>,
HCons<<Rel as RelationImpl>::Planner, HCons<Quote<&'a Rel>, HCons<Quote<Req>, HNil>>>: Eval,
<HCons<<Rel as RelationImpl>::Planner, HCons<Quote<&'a Rel>, HCons<Quote<Req>, HNil>>> as Eval>::Result == Plan,
[src]
impl<'a, Rel, Req, Plan> Queryable<'a, Req> for Rel where
Rel: 'a + Relation<'a>,
Req: QueryRequest + 'a,
Plan: QueryPlan<'a, Rel, Req>,
HCons<<Rel as RelationImpl>::Planner, HCons<Quote<&'a Rel>, HCons<Quote<Req>, HNil>>>: Eval,
<HCons<<Rel as RelationImpl>::Planner, HCons<Quote<&'a Rel>, HCons<Quote<Req>, HNil>>> as Eval>::Result == Plan,
[src]impl<'a, T> Relation<'a> for T where
T: RelationImpl + SelfQuery<'a>,
[src]
impl<'a, T> Relation<'a> for T where
T: RelationImpl + SelfQuery<'a>,
[src]fn subjoin<F: Col>(self) -> SubordinateJoin<Self, F> where
SubordinateJoin<Self, F>: Relation<'a>,
[src]
SubordinateJoin<Self, F>: Relation<'a>,
fn join<Rel>(self, rel: Rel) -> PeerJoin<Self, Rel> where
PeerJoin<Self, Rel>: Relation<'a>,
[src]
fn join<Rel>(self, rel: Rel) -> PeerJoin<Self, Rel> where
PeerJoin<Self, Rel>: Relation<'a>,
[src]TODO: Maybe reverse the join order; key lookup always on right-hand side
fn where_eq<C: ColProxy>(self, c: C) -> FilterRel<Self, Exact<C>> where
FilterRel<Self, Exact<C>>: Relation<'a>,
[src]
FilterRel<Self, Exact<C>>: Relation<'a>,
fn project<H: Header>(self) -> ProjectedRel<Self, H> where
ProjectedRel<Self, H>: Relation<'a>,
[src]
ProjectedRel<Self, H>: Relation<'a>,
fn iter_as<O: FromExternalRecord<'a>>(
&'a self
) -> <IterAs<'a, Self, O> as IntoIterator>::IntoIter where
IterAs<'a, Self, O>: IntoIterator,
[src]
&'a self
) -> <IterAs<'a, Self, O> as IntoIterator>::IntoIter where
IterAs<'a, Self, O>: IntoIterator,
fn as_dyn(self) -> DynRel<Self> where
DynRel<Self>: RelationImpl,
[src]
DynRel<Self>: RelationImpl,
fn truncate(&mut self) -> Result<(), <Self::Op as RevertableOp<Self>>::Err> where
Self: Delete<HNil>,
[src]
Self: Delete<HNil>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<'a, R> SelfQuery<'a> for R where
R: 'a + QueryOutput<'a>,
&'a R: IntoIterator,
<&'a R as IntoIterator>::Item == <R as QueryOutput<'a>>::QueryRow,
[src]
impl<'a, R> SelfQuery<'a> for R where
R: 'a + QueryOutput<'a>,
&'a R: IntoIterator,
<&'a R as IntoIterator>::Item == <R as QueryOutput<'a>>::QueryRow,
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Everything for T where
T: ?Sized,
[src]
T: ?Sized,