pub struct ValueWrapper<'a, V: SQLParam, T> {
pub value: SQL<'a, V>,
pub _phantom: PhantomData<T>,
}Expand description
Wrapper for SQL with type information
Fields§
§value: SQL<'a, V>§_phantom: PhantomData<T>Implementations§
Source§impl<'a, V: SQLParam, T> ValueWrapper<'a, V, T>
impl<'a, V: SQLParam, T> ValueWrapper<'a, V, T>
pub const fn new<U>(value: SQL<'a, V>) -> ValueWrapper<'a, V, U>
Trait Implementations§
Auto Trait Implementations§
impl<'a, V, T> Freeze for ValueWrapper<'a, V, T>where
V: Freeze,
impl<'a, V, T> !RefUnwindSafe for ValueWrapper<'a, V, T>
impl<'a, V, T> Send for ValueWrapper<'a, V, T>
impl<'a, V, T> Sync for ValueWrapper<'a, V, T>
impl<'a, V, T> Unpin for ValueWrapper<'a, V, T>
impl<'a, V, T> !UnwindSafe for ValueWrapper<'a, V, T>
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