pub struct SchemaModel {
pub tables: Vec<Table>,
pub indexes: Vec<Index>,
pub sequences: Vec<Sequence>,
pub enums: Vec<EnumDef>,
pub domains: Vec<DomainDef>,
pub alter_constraints: Vec<AlterConstraint>,
}Expand description
The top-level schema model containing all parsed DDL objects.
Fields§
§tables: Vec<Table>§indexes: Vec<Index>§sequences: Vec<Sequence>§enums: Vec<EnumDef>§domains: Vec<DomainDef>§alter_constraints: Vec<AlterConstraint>Trait Implementations§
Source§impl Clone for SchemaModel
impl Clone for SchemaModel
Source§fn clone(&self) -> SchemaModel
fn clone(&self) -> SchemaModel
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 moreSource§impl Debug for SchemaModel
impl Debug for SchemaModel
Source§impl Default for SchemaModel
impl Default for SchemaModel
Source§fn default() -> SchemaModel
fn default() -> SchemaModel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaModel
impl RefUnwindSafe for SchemaModel
impl Send for SchemaModel
impl Sync for SchemaModel
impl Unpin for SchemaModel
impl UnsafeUnpin for SchemaModel
impl UnwindSafe for SchemaModel
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