Enum sqlx_core::postgres::PgValueFormat
source · [−]#[repr(u8)]
pub enum PgValueFormat {
Text,
Binary,
}
Variants
Text
Binary
Trait Implementations
sourceimpl Clone for PgValueFormat
impl Clone for PgValueFormat
sourcefn clone(&self) -> PgValueFormat
fn clone(&self) -> PgValueFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PgValueFormat
impl Debug for PgValueFormat
sourceimpl PartialEq<PgValueFormat> for PgValueFormat
impl PartialEq<PgValueFormat> for PgValueFormat
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.