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>
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