pub struct CatalogEntry {
pub name: String,
pub entry: CatalogEntryInner,
pub child: Option<Arc<CatalogEntry>>,
}Expand description
Describe a single entry in the catalog.
Fields§
§name: String§entry: CatalogEntryInner§child: Option<Arc<CatalogEntry>>Implementations§
Source§impl CatalogEntry
impl CatalogEntry
pub fn entry_type(&self) -> CatalogEntryType
pub fn try_as_table_entry(&self) -> Result<&TableEntry>
pub fn try_as_view_entry(&self) -> Result<&ViewEntry>
pub fn try_as_schema_entry(&self) -> Result<&SchemaEntry>
pub fn try_as_scalar_function_entry(&self) -> Result<&ScalarFunctionEntry>
pub fn try_as_aggregate_function_entry(&self) -> Result<&AggregateFunctionEntry>
pub fn try_as_table_function_entry(&self) -> Result<&TableFunctionEntry>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CatalogEntry
impl RefUnwindSafe for CatalogEntry
impl Send for CatalogEntry
impl Sync for CatalogEntry
impl Unpin for CatalogEntry
impl UnsafeUnpin for CatalogEntry
impl UnwindSafe for CatalogEntry
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