pub struct NewRelation {
pub namespace: u32,
pub name: String,
pub owner: u32,
pub columns: Vec<Column>,
}Expand description
A new table, a new index or a new sequence before it has an OID.
Fields§
§namespace: u32The OID of the schema.
name: StringThe name.
owner: u32The OID of the owner role.
columns: Vec<Column>The columns.
Trait Implementations§
Source§impl Clone for NewRelation
impl Clone for NewRelation
Source§impl Debug for NewRelation
impl Debug for NewRelation
impl Eq for NewRelation
Source§impl PartialEq for NewRelation
impl PartialEq for NewRelation
impl StructuralPartialEq for NewRelation
Auto Trait Implementations§
impl Freeze for NewRelation
impl RefUnwindSafe for NewRelation
impl Send for NewRelation
impl Sync for NewRelation
impl Unpin for NewRelation
impl UnsafeUnpin for NewRelation
impl UnwindSafe for NewRelation
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