Struct AnyValue
pub struct AnyValue { /* private fields */ }
Trait Implementations§
§impl Value for AnyValue
impl Value for AnyValue
type Database = Any
§fn as_ref(&self) -> <<AnyValue as Value>::Database as Database>::ValueRef<'_>
fn as_ref(&self) -> <<AnyValue as Value>::Database as Database>::ValueRef<'_>
Get this value as a reference.
§fn type_info(
&self,
) -> Cow<'_, <<AnyValue as Value>::Database as Database>::TypeInfo>
fn type_info( &self, ) -> Cow<'_, <<AnyValue as Value>::Database as Database>::TypeInfo>
Get the type information for this value.
§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
§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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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