pub struct ViewInfo {
pub name: String,
pub schema: Option<String>,
pub definition: Option<String>,
pub is_materialized: bool,
pub columns: Vec<ColumnInfo>,
}Expand description
Information about a view.
Fields§
§name: StringView name.
schema: Option<String>Schema.
definition: Option<String>View definition SQL.
is_materialized: boolWhether this is a materialized view.
columns: Vec<ColumnInfo>Columns (inferred from definition).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewInfo
impl<'de> Deserialize<'de> for ViewInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ViewInfo
impl RefUnwindSafe for ViewInfo
impl Send for ViewInfo
impl Sync for ViewInfo
impl Unpin 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