pub struct AnyValue { /* private fields */ }
Trait Implementations
sourceimpl From<MssqlValue> for AnyValue
impl From<MssqlValue> for AnyValue
sourcefn from(value: MssqlValue) -> Self
fn from(value: MssqlValue) -> Self
Performs the conversion.
sourceimpl From<MySqlValue> for AnyValue
impl From<MySqlValue> for AnyValue
sourcefn from(value: MySqlValue) -> Self
fn from(value: MySqlValue) -> Self
Performs the conversion.
sourceimpl From<SqliteValue> for AnyValue
impl From<SqliteValue> for AnyValue
sourcefn from(value: SqliteValue) -> Self
fn from(value: SqliteValue) -> Self
Performs the conversion.
sourceimpl Value for AnyValue
impl Value for AnyValue
type Database = Any
sourcefn as_ref(&self) -> <Self::Database as HasValueRef<'_>>::ValueRef
fn as_ref(&self) -> <Self::Database as HasValueRef<'_>>::ValueRef
Get this value as a reference.
sourcefn type_info(&self) -> Cow<'_, AnyTypeInfo>
fn type_info(&self) -> Cow<'_, AnyTypeInfo>
Get the type information for this value.
sourcefn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
sourcefn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database>,
fn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more