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<V: Clone + SQLParam> Clone for OwnedParam<V>
impl<V: Clone + SQLParam> Clone for OwnedParam<V>
Source§fn clone(&self) -> OwnedParam<V>
fn clone(&self) -> OwnedParam<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<'a, V: SQLParam> From<OwnedParam<V>> for Param<'a, V>
impl<'a, V: SQLParam> From<OwnedParam<V>> for Param<'a, 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>where
V: Freeze,
impl<V> RefUnwindSafe for OwnedParam<V>where
V: RefUnwindSafe,
impl<V> Send for OwnedParam<V>where
V: Send,
impl<V> Sync for OwnedParam<V>where
V: Sync,
impl<V> Unpin for OwnedParam<V>where
V: Unpin,
impl<V> UnwindSafe for OwnedParam<V>where
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