Struct sqlx::postgres::any::AnyTypeInfo
source · pub struct AnyTypeInfo { /* private fields */ }
Available on crate feature
postgres
only.Implementations§
source§impl AnyTypeInfo
impl AnyTypeInfo
pub fn kind(&self) -> AnyTypeInfoKind
Trait Implementations§
source§impl Clone for AnyTypeInfo
impl Clone for AnyTypeInfo
source§fn clone(&self) -> AnyTypeInfo
fn clone(&self) -> AnyTypeInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnyTypeInfo
impl Debug for AnyTypeInfo
source§impl Display for AnyTypeInfo
impl Display for AnyTypeInfo
source§impl PartialEq for AnyTypeInfo
impl PartialEq for AnyTypeInfo
source§fn eq(&self, other: &AnyTypeInfo) -> bool
fn eq(&self, other: &AnyTypeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a MySqlTypeInfo> for AnyTypeInfo
impl<'a> TryFrom<&'a MySqlTypeInfo> for AnyTypeInfo
source§fn try_from(
type_info: &'a MySqlTypeInfo
) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a MySqlTypeInfo>>::Error>
fn try_from( type_info: &'a MySqlTypeInfo ) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a MySqlTypeInfo>>::Error>
Performs the conversion.
source§impl<'a> TryFrom<&'a PgTypeInfo> for AnyTypeInfo
impl<'a> TryFrom<&'a PgTypeInfo> for AnyTypeInfo
source§fn try_from(
pg_type: &'a PgTypeInfo
) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a PgTypeInfo>>::Error>
fn try_from( pg_type: &'a PgTypeInfo ) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a PgTypeInfo>>::Error>
Performs the conversion.
source§impl<'a> TryFrom<&'a SqliteTypeInfo> for AnyTypeInfo
impl<'a> TryFrom<&'a SqliteTypeInfo> for AnyTypeInfo
source§fn try_from(
sqlite_type: &'a SqliteTypeInfo
) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a SqliteTypeInfo>>::Error>
fn try_from( sqlite_type: &'a SqliteTypeInfo ) -> Result<AnyTypeInfo, <AnyTypeInfo as TryFrom<&'a SqliteTypeInfo>>::Error>
Performs the conversion.
impl StructuralPartialEq for AnyTypeInfo
Auto Trait Implementations§
impl Freeze for AnyTypeInfo
impl RefUnwindSafe for AnyTypeInfo
impl Send for AnyTypeInfo
impl Sync for AnyTypeInfo
impl Unpin for AnyTypeInfo
impl UnwindSafe for AnyTypeInfo
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