pub struct Schemas<'a> {
pub schemas: BTreeMap<Identifier<'a>, Schema<'a>>,
pub procedures: BTreeMap<Identifier<'a>, Procedure>,
pub functions: BTreeMap<Identifier<'a>, Functions>,
pub indices: BTreeMap<IndexKey<'a>, Span>,
}
Expand description
A description of tables, view, procedures and function in a schemas definition file
Fields§
§schemas: BTreeMap<Identifier<'a>, Schema<'a>>
Map from name to Tables or views
procedures: BTreeMap<Identifier<'a>, Procedure>
Map from name to procedure
functions: BTreeMap<Identifier<'a>, Functions>
Map from name to function
indices: BTreeMap<IndexKey<'a>, Span>
Map from (table, index) to location
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Schemas<'a>
impl<'a> RefUnwindSafe for Schemas<'a>
impl<'a> Send for Schemas<'a>
impl<'a> Sync for Schemas<'a>
impl<'a> Unpin for Schemas<'a>
impl<'a> UnwindSafe for Schemas<'a>
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