#[non_exhaustive]pub enum EntityBody {
Database(Box<DatabaseInstanceEntity>),
Schema(Box<SchemaEntity>),
Table(Box<TableEntity>),
View(Box<ViewEntity>),
Sequence(Box<SequenceEntity>),
StoredProcedure(Box<StoredProcedureEntity>),
DatabaseFunction(Box<FunctionEntity>),
Synonym(Box<SynonymEntity>),
DatabasePackage(Box<PackageEntity>),
Udt(Box<UDTEntity>),
MaterializedView(Box<MaterializedViewEntity>),
}Expand description
The specific body for each entity type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Database(Box<DatabaseInstanceEntity>)
Database.
Schema(Box<SchemaEntity>)
Schema.
Table(Box<TableEntity>)
Table.
View(Box<ViewEntity>)
View.
Sequence(Box<SequenceEntity>)
Sequence.
StoredProcedure(Box<StoredProcedureEntity>)
Stored procedure.
DatabaseFunction(Box<FunctionEntity>)
Function.
Synonym(Box<SynonymEntity>)
Synonym.
DatabasePackage(Box<PackageEntity>)
Package.
Udt(Box<UDTEntity>)
UDT.
MaterializedView(Box<MaterializedViewEntity>)
Materialized view.
Trait Implementations§
Source§impl Clone for EntityBody
impl Clone for EntityBody
Source§fn clone(&self) -> EntityBody
fn clone(&self) -> EntityBody
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityBody
impl Debug for EntityBody
Source§impl PartialEq for EntityBody
impl PartialEq for EntityBody
impl StructuralPartialEq for EntityBody
Auto Trait Implementations§
impl Freeze for EntityBody
impl RefUnwindSafe for EntityBody
impl Send for EntityBody
impl Sync for EntityBody
impl Unpin for EntityBody
impl UnwindSafe for EntityBody
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