pub struct OwnedParam<V: SQLParam> {
pub placeholder: Placeholder,
pub value: Option<V>,
}Fields§
§placeholder: PlaceholderThe placeholder to use in the SQL
value: Option<V>The value to bind
Trait Implementations§
Source§impl<'a, V: SQLParam> From<&'a OwnedParam<V>> for Param<'a, V>
impl<'a, V: SQLParam> From<&'a OwnedParam<V>> for Param<'a, V>
Source§fn from(value: &'a OwnedParam<V>) -> Self
fn from(value: &'a OwnedParam<V>) -> Self
Converts to this type from the input type.
Source§impl<V: SQLParam> From<OwnedParam<V>> for Param<'_, V>
impl<V: SQLParam> From<OwnedParam<V>> for Param<'_, V>
Source§fn from(value: OwnedParam<V>) -> Self
fn from(value: OwnedParam<V>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<V> Freeze for OwnedParam<V>
impl<V> RefUnwindSafe for OwnedParam<V>where
Option<V>: RefUnwindSafe,
impl<V> Send for OwnedParam<V>
impl<V> Sync for OwnedParam<V>
impl<V> Unpin for OwnedParam<V>
impl<V> UnsafeUnpin for OwnedParam<V>where
Option<V>: UnsafeUnpin,
impl<V> UnwindSafe for OwnedParam<V>where
Option<V>: 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