Struct pg_helper::table::PgTableItem
source · [−]pub struct PgTableItem {
pub name: String,
pub table_id: usize,
pub col_index: usize,
pub type: PgType,
pub length: usize,
pub scale: usize,
pub nullable: bool,
pub default_val: Option<String>,
pub table_name: String,
pub create_time: String,
}Fields
name: Stringtable_id: usizecol_index: usizetype: PgTypelength: usizescale: usizenullable: booldefault_val: Option<String>table_name: Stringcreate_time: StringTrait Implementations
sourceimpl Clone for PgTableItem
impl Clone for PgTableItem
sourcefn clone(&self) -> PgTableItem
fn clone(&self) -> PgTableItem
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PgTableItem
impl Debug for PgTableItem
Auto Trait Implementations
impl RefUnwindSafe for PgTableItem
impl Send for PgTableItem
impl Sync for PgTableItem
impl Unpin for PgTableItem
impl UnwindSafe for PgTableItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more