Enum sqlx_postgres::PgValueFormat
source · #[repr(u8)]pub enum PgValueFormat {
Text = 0,
Binary = 1,
}
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 for PgValueFormat
impl PartialEq 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 StructuralPartialEq for PgValueFormat
Auto Trait Implementations§
impl Freeze for PgValueFormat
impl RefUnwindSafe for PgValueFormat
impl Send for PgValueFormat
impl Sync for PgValueFormat
impl Unpin for PgValueFormat
impl UnwindSafe for PgValueFormat
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.