Struct sqlx_oldapi::mysql::MySqlValue  
source · pub struct MySqlValue { /* private fields */ }Available on crate feature 
mysql only.Expand description
Implementation of Value for MySQL.
Trait Implementations§
source§impl Clone for MySqlValue
 
impl Clone for MySqlValue
source§fn clone(&self) -> MySqlValue
 
fn clone(&self) -> MySqlValue
Returns a copy 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 From<MySqlValue> for AnyValue
 
impl From<MySqlValue> for AnyValue
source§fn from(value: MySqlValue) -> AnyValue
 
fn from(value: MySqlValue) -> AnyValue
Converts to this type from the input type.
source§impl Value for MySqlValue
 
impl Value for MySqlValue
type Database = MySql
source§fn as_ref(&self) -> MySqlValueRef<'_>
 
fn as_ref(&self) -> MySqlValueRef<'_>
Get this value as a reference.
source§fn type_info(&self) -> Cow<'_, MySqlTypeInfo>
 
fn type_info(&self) -> Cow<'_, MySqlTypeInfo>
Get the type information for this value.
source§fn decode<'r, T>(&'r self) -> Twhere
    T: Decode<'r, Self::Database> + Type<Self::Database>,
 
fn decode<'r, T>(&'r self) -> Twhere T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
source§fn decode_unchecked<'r, T>(&'r self) -> Twhere
    T: Decode<'r, Self::Database>,
 
fn decode_unchecked<'r, T>(&'r self) -> Twhere T: Decode<'r, Self::Database>,
Decode this single value into the requested type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MySqlValue
impl Send for MySqlValue
impl Sync for MySqlValue
impl Unpin for MySqlValue
impl UnwindSafe for MySqlValue
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