pub struct FieldDescription {
pub name: Bytes,
pub table_oid: u32,
pub column: i16,
pub type_oid: u32,
pub type_size: i16,
pub type_modifier: i32,
pub format: i16,
}Expand description
Metadata for one result column.
Fields§
§name: BytesColumn label presented to the frontend.
table_oid: u32Source table OID, or zero when not associated with a table.
column: i16One-based source column number, or zero when not applicable.
type_oid: u32PostgreSQL data-type OID.
type_size: i16Fixed type width, or -1 for variable-width types.
type_modifier: i32Type-specific modifier, or -1 when absent.
format: i16Result format: zero for text and one for binary.
Trait Implementations§
Source§impl Clone for FieldDescription
impl Clone for FieldDescription
Source§fn clone(&self) -> FieldDescription
fn clone(&self) -> FieldDescription
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 FieldDescription
impl Debug for FieldDescription
impl Eq for FieldDescription
Source§impl PartialEq for FieldDescription
impl PartialEq for FieldDescription
impl StructuralPartialEq for FieldDescription
Auto Trait Implementations§
impl !Freeze for FieldDescription
impl RefUnwindSafe for FieldDescription
impl Send for FieldDescription
impl Sync for FieldDescription
impl Unpin for FieldDescription
impl UnsafeUnpin for FieldDescription
impl UnwindSafe for FieldDescription
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