pub struct Schema<'a> {
pub identifier_span: Span,
pub columns: BTreeMap<&'a str, Column<'a>>,
pub view: bool,
}
Expand description
Schema representing a table or view
Fields
identifier_span: Span
Span of identifier
columns: BTreeMap<&'a str, Column<'a>>
Map of columns and types
view: bool
True if this is a view instead of a table
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Schema<'a>
impl<'a> Send for Schema<'a>
impl<'a> Sync for Schema<'a>
impl<'a> Unpin for Schema<'a>
impl<'a> UnwindSafe for Schema<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more