pub struct ColumnDesc {
pub name: Box<str>,
pub type_oid: u32,
pub type_size: i16,
pub table_oid: u32,
pub column_id: i16,
}Expand description
Description of a result column.
Fields§
§name: Box<str>Column name from the query.
type_oid: u32PostgreSQL type OID.
type_size: i16Type size in bytes (-1 for variable-length).
table_oid: u32OID of the source table (0 if not a table column, e.g. computed).
column_id: i16Column number within the source table (0 if not a table column).
Trait Implementations§
Source§impl Clone for ColumnDesc
impl Clone for ColumnDesc
Source§fn clone(&self) -> ColumnDesc
fn clone(&self) -> ColumnDesc
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ColumnDesc
impl RefUnwindSafe for ColumnDesc
impl Send for ColumnDesc
impl Sync for ColumnDesc
impl Unpin for ColumnDesc
impl UnsafeUnpin for ColumnDesc
impl UnwindSafe for ColumnDesc
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