pub struct SchemaContents {
pub tables: Vec<Relation>,
pub views: Vec<Relation>,
pub materialized_views: Vec<Relation>,
pub sequences: Vec<Sequence>,
pub routines: Vec<Routine>,
pub object_types: Vec<ObjectType>,
}Expand description
Unified schema-contents view used by the tree’s “expand a schema” path. Six-way grouping mirrors DataGrip’s tree. Tables include regular, partitioned, and foreign tables (all “data-bearing relations”); views and materialized views split out for clarity.
Fields§
§tables: Vec<Relation>§views: Vec<Relation>§materialized_views: Vec<Relation>§sequences: Vec<Sequence>§routines: Vec<Routine>§object_types: Vec<ObjectType>Trait Implementations§
Source§impl Clone for SchemaContents
impl Clone for SchemaContents
Source§fn clone(&self) -> SchemaContents
fn clone(&self) -> SchemaContents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaContents
impl Debug for SchemaContents
Source§impl<'de> Deserialize<'de> for SchemaContents
impl<'de> Deserialize<'de> for SchemaContents
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 SchemaContents
impl RefUnwindSafe for SchemaContents
impl Send for SchemaContents
impl Sync for SchemaContents
impl Unpin for SchemaContents
impl UnsafeUnpin for SchemaContents
impl UnwindSafe for SchemaContents
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