pub struct TableInfo {
pub name: String,
pub of_type: Option<Type>,
}
Available on crate features
postgres
and def
only.Expand description
Information relating to the table, but not its individual components. For information on a
table including its columns and constraints, use TableDef
Fieldsยง
ยงname: String
ยงof_type: Option<Type>
Trait Implementationsยง
impl StructuralPartialEq for TableInfo
Auto Trait Implementationsยง
impl Freeze for TableInfo
impl RefUnwindSafe for TableInfo
impl !Send for TableInfo
impl !Sync for TableInfo
impl Unpin for TableInfo
impl UnwindSafe for TableInfo
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