pub struct ViewInfo {
pub rule: u32,
pub text: String,
pub path: Vec<u32>,
pub populated: bool,
}Expand description
The query of a view and its _RETURN rule.
Fields§
§rule: u32The OID of the _RETURN rule in pg_rewrite.
text: StringThe text of the statement that made the view or that last replaced its query. Only the analyzer reads it back.
path: Vec<u32>The schemas of search_path when that statement ran, in order. The analyzer finds the names of the query in these schemas again.
populated: boolrelispopulated: false for a materialized view of WITH NO DATA until a REFRESH fills it. A view is always populated.
Trait Implementations§
impl Eq for ViewInfo
impl StructuralPartialEq for ViewInfo
Auto Trait Implementations§
impl Freeze for ViewInfo
impl RefUnwindSafe for ViewInfo
impl Send for ViewInfo
impl Sync for ViewInfo
impl Unpin for ViewInfo
impl UnsafeUnpin for ViewInfo
impl UnwindSafe for ViewInfo
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