Struct sqlx_oldapi::any::AnyValue
source · pub struct AnyValue { /* private fields */ }
Trait Implementations§
source§impl From<MssqlValue> for AnyValue
impl From<MssqlValue> for AnyValue
source§fn from(value: MssqlValue) -> AnyValue
fn from(value: MssqlValue) -> AnyValue
Converts to this type from the input type.
source§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 From<SqliteValue> for AnyValue
impl From<SqliteValue> for AnyValue
source§fn from(value: SqliteValue) -> AnyValue
fn from(value: SqliteValue) -> AnyValue
Converts to this type from the input type.
source§impl Value for AnyValue
impl Value for AnyValue
type Database = Any
source§fn as_ref(&self) -> <<AnyValue as Value>::Database as HasValueRef<'_>>::ValueRef
fn as_ref(&self) -> <<AnyValue as Value>::Database as HasValueRef<'_>>::ValueRef
Get this value as a reference.
source§fn type_info(&self) -> Cow<'_, AnyTypeInfo>
fn type_info(&self) -> Cow<'_, AnyTypeInfo>
Get the type information for this value.
source§fn try_decode<'r, T>(&'r self) -> Result<T, Error>where
T: Decode<'r, <AnyValue as Value>::Database> + Type<<AnyValue as Value>::Database>,
fn try_decode<'r, T>(&'r self) -> Result<T, Error>where T: Decode<'r, <AnyValue as Value>::Database> + Type<<AnyValue as Value>::Database>,
Decode this single value into the requested type. Read more
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
Auto Trait Implementations§
impl RefUnwindSafe for AnyValue
impl Send for AnyValue
impl Sync for AnyValue
impl Unpin for AnyValue
impl UnwindSafe for AnyValue
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