pub struct AnyValue { /* private fields */ }
Trait Implementations
sourceimpl From<MssqlValue> for AnyValue
impl From<MssqlValue> for AnyValue
sourcefn from(value: MssqlValue) -> AnyValue
fn from(value: MssqlValue) -> AnyValue
Converts to this type from the input type.
sourceimpl From<MySqlValue> for AnyValue
impl From<MySqlValue> for AnyValue
sourcefn from(value: MySqlValue) -> AnyValue
fn from(value: MySqlValue) -> AnyValue
Converts to this type from the input type.
sourceimpl From<SqliteValue> for AnyValue
impl From<SqliteValue> for AnyValue
sourcefn from(value: SqliteValue) -> AnyValue
fn from(value: SqliteValue) -> AnyValue
Converts to this type from the input type.
sourceimpl Value for AnyValue
impl Value for AnyValue
type Database = Any
sourcefn 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.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more