pub struct ReadRelationManager<'transaction, S: Schema, M: RelationModel<Schema = S>> { /* private fields */ }Expand description
Borrowed read-only manager for one exact generated relation model.
Implementations§
Source§impl<'transaction, S, M> ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> ReadRelationManager<'transaction, S, M>
Sourcepub fn filter(&self) -> Result<ProjectedRelationFilter<'transaction, S, M>>
pub fn filter(&self) -> Result<ProjectedRelationFilter<'transaction, S, M>>
Start one empty immutable exact-model filter on this borrowed context.
Sourcepub fn where_<V>(
&self,
field: FieldToken<M, V>,
operator: ProjectedManagerComparison,
value: &V,
) -> Result<ProjectedRelationFilter<'transaction, S, M>>where
V: Model<Schema = S> + QueryValued,
pub fn where_<V>(
&self,
field: FieldToken<M, V>,
operator: ProjectedManagerComparison,
value: &V,
) -> Result<ProjectedRelationFilter<'transaction, S, M>>where
V: Model<Schema = S> + QueryValued,
Start a canonical filter with one exact generated field comparison.
Auto Trait Implementations§
impl<'transaction, S, M> !RefUnwindSafe for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> !UnwindSafe for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> Freeze for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> Send for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> Sync for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> Unpin for ReadRelationManager<'transaction, S, M>
impl<'transaction, S, M> UnsafeUnpin for ReadRelationManager<'transaction, S, M>
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request