pub struct FieldDescription {
pub name: String,
pub table_oid: i32,
pub column_attr: i16,
pub type_oid: u32,
pub type_size: i16,
pub type_modifier: i32,
pub format_code: i16,
}Expand description
Field description (column metadata)
Fields§
§name: StringColumn name
table_oid: i32Table OID (0 if not a table column)
column_attr: i16Column attribute number (0 if not a table column)
type_oid: u32Data type OID
type_size: i16Data type size
type_modifier: i32Type modifier
format_code: i16Format code (0 = text, 1 = 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 · 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 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<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