pub struct AnyValue { /* private fields */ }Trait Implementations§
source§impl From<MssqlValue> for AnyValue
Available on crate feature mssql only.
impl From<MssqlValue> for AnyValue
Available on crate feature
mssql only.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
Available on crate feature mysql only.
impl From<MySqlValue> for AnyValue
Available on crate feature
mysql only.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
Available on crate feature sqlite only.
impl From<SqliteValue> for AnyValue
Available on crate feature
sqlite only.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>
fn try_decode<'r, T>(&'r self) -> Result<T, Error>
Decode this single value into the requested type. Read more
source§fn decode_unchecked<'r, T>(&'r self) -> T
fn decode_unchecked<'r, T>(&'r self) -> T
Decode this single value into the requested type. Read more
Auto Trait Implementations§
impl !Freeze for AnyValue
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more