Skip to main content

CreationRelationGuards

Trait CreationRelationGuards 

Source
pub trait CreationRelationGuards {
    // Required methods
    fn named_type_exists(&self, identity: &RelationIdentity) -> bool;
    fn tables(&self) -> Box<dyn CreationRelationNames + '_>;
    fn views(&self) -> Box<dyn CreationRelationNames + '_>;
    fn sequences(&self) -> Box<dyn CreationRelationNames + '_>;
    fn foreign_tables(&self) -> Box<dyn CreationRelationNames + '_>;
    fn indexes(&self) -> Box<dyn CreationRelationNames + '_>;
    fn composite_types(&self) -> Box<dyn CreationRelationNames + '_>;
}

Required Methods§

Source

fn named_type_exists(&self, identity: &RelationIdentity) -> bool

Source

fn tables(&self) -> Box<dyn CreationRelationNames + '_>

Source

fn views(&self) -> Box<dyn CreationRelationNames + '_>

Source

fn sequences(&self) -> Box<dyn CreationRelationNames + '_>

Source

fn foreign_tables(&self) -> Box<dyn CreationRelationNames + '_>

Source

fn indexes(&self) -> Box<dyn CreationRelationNames + '_>

Source

fn composite_types(&self) -> Box<dyn CreationRelationNames + '_>

The relations of standalone composite types, which occupy the relation namespace as well as the type namespace.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§