pub struct AnyValue { /* private fields */ }
Trait Implementations§
source§impl From<MssqlValue> for AnyValue
impl From<MssqlValue> for AnyValue
source§fn from(value: MssqlValue) -> Self
fn from(value: MssqlValue) -> Self
Converts to this type from the input type.
source§impl From<MySqlValue> for AnyValue
impl From<MySqlValue> for AnyValue
source§fn from(value: MySqlValue) -> Self
fn from(value: MySqlValue) -> Self
Converts to this type from the input type.
source§impl From<SqliteValue> for AnyValue
impl From<SqliteValue> for AnyValue
source§fn from(value: SqliteValue) -> Self
fn from(value: SqliteValue) -> Self
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) -> <Self::Database as HasValueRef<'_>>::ValueRef
fn as_ref(&self) -> <Self::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, Self::Database> + Type<Self::Database>,
fn try_decode<'r, T>(&'r self) -> Result<T, Error>where T: Decode<'r, Self::Database> + Type<Self::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