pub struct DiagnosticField {
pub code: u8,
pub value: Bytes,
}Expand description
One tagged PostgreSQL diagnostic field.
Fields§
§code: u8PostgreSQL’s one-byte diagnostic field code.
value: BytesField value without its terminating NUL byte.
Trait Implementations§
Source§impl Clone for DiagnosticField
impl Clone for DiagnosticField
Source§fn clone(&self) -> DiagnosticField
fn clone(&self) -> DiagnosticField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiagnosticField
impl Debug for DiagnosticField
impl Eq for DiagnosticField
Source§impl PartialEq for DiagnosticField
impl PartialEq for DiagnosticField
impl StructuralPartialEq for DiagnosticField
Auto Trait Implementations§
impl !Freeze for DiagnosticField
impl RefUnwindSafe for DiagnosticField
impl Send for DiagnosticField
impl Sync for DiagnosticField
impl Unpin for DiagnosticField
impl UnsafeUnpin for DiagnosticField
impl UnwindSafe for DiagnosticField
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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