pub struct Column {
pub name: String,
pub type_oid: Oid,
pub type_size: i16,
pub type_mod: i32,
pub table_oid: u32,
pub column_attr: i16,
}Expand description
Metadata for one result column.
Fields§
§name: StringColumn name.
type_oid: OidColumn type OID.
type_size: i16Type size in bytes, or negative for variable length.
type_mod: i32Type modifier.
table_oid: u32Source table OID, or 0.
column_attr: i16Source attribute number, or 0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
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