pub struct AnyValueRef<'r> { /* private fields */ }Available on (crate features
mysql or sqlite or postgres or mssql or odbc) and crate feature any only.Trait Implementationsยง
Sourceยงimpl<'r> From<MssqlValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<MssqlValueRef<'r>> for AnyValueRef<'r>
Sourceยงfn from(value: MssqlValueRef<'r>) -> AnyValueRef<'r>
fn from(value: MssqlValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
Sourceยงfn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
fn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> From<OdbcValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<OdbcValueRef<'r>> for AnyValueRef<'r>
Sourceยงfn from(value: OdbcValueRef<'r>) -> AnyValueRef<'r>
fn from(value: OdbcValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> From<PgValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<PgValueRef<'r>> for AnyValueRef<'r>
Sourceยงfn from(value: PgValueRef<'r>) -> AnyValueRef<'r>
fn from(value: PgValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> From<SqliteValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<SqliteValueRef<'r>> for AnyValueRef<'r>
Sourceยงfn from(value: SqliteValueRef<'r>) -> AnyValueRef<'r>
fn from(value: SqliteValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for MssqlValueRef<'r>
Available on crate feature mssql only.
impl<'r> TryFrom<AnyValueRef<'r>> for MssqlValueRef<'r>
Available on crate feature
mssql only.Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<MssqlValueRef<'r>, <MssqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<MssqlValueRef<'r>, <MssqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for MySqlValueRef<'r>
Available on crate feature mysql only.
impl<'r> TryFrom<AnyValueRef<'r>> for MySqlValueRef<'r>
Available on crate feature
mysql only.Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<MySqlValueRef<'r>, <MySqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<MySqlValueRef<'r>, <MySqlValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for OdbcValueRef<'r>
Available on crate feature odbc only.
impl<'r> TryFrom<AnyValueRef<'r>> for OdbcValueRef<'r>
Available on crate feature
odbc only.Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<OdbcValueRef<'r>, <OdbcValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<OdbcValueRef<'r>, <OdbcValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for PgValueRef<'r>
Available on crate feature postgres only.
impl<'r> TryFrom<AnyValueRef<'r>> for PgValueRef<'r>
Available on crate feature
postgres only.Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<PgValueRef<'r>, <PgValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<PgValueRef<'r>, <PgValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> TryFrom<AnyValueRef<'r>> for SqliteValueRef<'r>
Available on crate feature sqlite only.
impl<'r> TryFrom<AnyValueRef<'r>> for SqliteValueRef<'r>
Available on crate feature
sqlite only.Sourceยงfn try_from(
value: AnyValueRef<'r>,
) -> Result<SqliteValueRef<'r>, <SqliteValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
fn try_from( value: AnyValueRef<'r>, ) -> Result<SqliteValueRef<'r>, <SqliteValueRef<'r> as TryFrom<AnyValueRef<'r>>>::Error>
Performs the conversion.
Sourceยงimpl<'r> ValueRef<'r> for AnyValueRef<'r>
impl<'r> ValueRef<'r> for AnyValueRef<'r>
Auto Trait Implementationsยง
impl<'r> Freeze for AnyValueRef<'r>
impl<'r> RefUnwindSafe for AnyValueRef<'r>
impl<'r> Send for AnyValueRef<'r>
impl<'r> Sync for AnyValueRef<'r>
impl<'r> Unpin for AnyValueRef<'r>
impl<'r> UnwindSafe for AnyValueRef<'r>
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