Enum sqlx_core::postgres::PgValueFormat
source · #[repr(u8)]
pub enum PgValueFormat {
Text,
Binary,
}
Variants§
Trait Implementations§
source§impl Clone for PgValueFormat
impl Clone for PgValueFormat
source§fn clone(&self) -> PgValueFormat
fn clone(&self) -> PgValueFormat
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 PgValueFormat
impl Debug for PgValueFormat
source§impl PartialEq<PgValueFormat> for PgValueFormat
impl PartialEq<PgValueFormat> for PgValueFormat
source§fn eq(&self, other: &PgValueFormat) -> bool
fn eq(&self, other: &PgValueFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PgValueFormat
impl Eq for PgValueFormat
impl StructuralEq for PgValueFormat
impl StructuralPartialEq for PgValueFormat
Auto Trait Implementations§
impl RefUnwindSafe for PgValueFormat
impl Send for PgValueFormat
impl Sync for PgValueFormat
impl Unpin for PgValueFormat
impl UnwindSafe for PgValueFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.