pub struct View {
pub name: ViewName,
pub query: Datum,
pub table_dependencies: Vec<TableName>,
pub view_dependencies: Vec<ViewName>,
}Expand description
A logical view and its table/view dependencies.
Fields§
§name: ViewNameStable view name.
query: DatumPortable logical query.
table_dependencies: Vec<TableName>Tables read by the query.
view_dependencies: Vec<ViewName>Views read by the query.
Trait Implementations§
impl Eq for View
impl StructuralPartialEq for View
Source§impl ToRelationDatum for View
impl ToRelationDatum for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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