pub struct MySqlValueRef<'r> { /* private fields */ }Available on crate feature
mysql only.Expand description
Implementation of ValueRef for MySQL.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl<'r> Clone for MySqlValueRef<'r>
impl<'r> Clone for MySqlValueRef<'r>
Sourceยงfn clone(&self) -> MySqlValueRef<'r>
fn clone(&self) -> MySqlValueRef<'r>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl<'r> Debug for MySqlValueRef<'r>
impl<'r> Debug for MySqlValueRef<'r>
Sourceยงimpl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
Available on crate feature any only.
impl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
Available on crate feature
any only.Sourceยงfn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
fn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for MySqlValueRef<'r>
impl<'r> TryFrom<AnyValueRef<'r>> for MySqlValueRef<'r>
Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<MySqlValueRef<'r>, <MySqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<MySqlValueRef<'r>, <MySqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> ValueRef<'r> for MySqlValueRef<'r>
impl<'r> ValueRef<'r> for MySqlValueRef<'r>
Auto Trait Implementationsยง
impl<'r> Freeze for MySqlValueRef<'r>
impl<'r> RefUnwindSafe for MySqlValueRef<'r>
impl<'r> Send for MySqlValueRef<'r>
impl<'r> Sync for MySqlValueRef<'r>
impl<'r> Unpin for MySqlValueRef<'r>
impl<'r> UnsafeUnpin for MySqlValueRef<'r>
impl<'r> UnwindSafe for MySqlValueRef<'r>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more