Struct rust_query::value::Db
source · pub struct Db<'t, T: MyIdenT> { /* private fields */ }
Expand description
This is a dummy database column reference. If the column has a foreign key constraint, it can be dereferenced to join the table.
Implementations§
Trait Implementations§
source§impl<'t, T: MyIdenT> Value<'t> for Db<'t, T>
impl<'t, T: MyIdenT> Value<'t> for Db<'t, T>
type Typ = T
fn add<T: Value<'t>>(self, rhs: T) -> MyAdd<Self, T>
fn lt(self, rhs: i32) -> MyLt<Self>
fn eq<T: Value<'t, Typ = Self::Typ>>(self, rhs: T) -> MyEq<Self, T>
fn unwrap_or<T: Value<'t>>(self, rhs: T) -> UnwrapOr<Self, T>
fn is_not_null(self) -> IsNotNull<Self>
impl<'t, T: MyIdenT> Copy for Db<'t, T>where
T::Info<'t>: Copy,
Auto Trait Implementations§
impl<'t, T> Freeze for Db<'t, T>where
<T as MyIdenT>::Info<'t>: Freeze,
impl<'t, T> RefUnwindSafe for Db<'t, T>where
<T as MyIdenT>::Info<'t>: RefUnwindSafe,
impl<'t, T> Send for Db<'t, T>where
<T as MyIdenT>::Info<'t>: Send,
impl<'t, T> Sync for Db<'t, T>where
<T as MyIdenT>::Info<'t>: Sync,
impl<'t, T> Unpin for Db<'t, T>where
<T as MyIdenT>::Info<'t>: Unpin,
impl<'t, T> UnwindSafe for Db<'t, T>where
<T as MyIdenT>::Info<'t>: 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