Skip to main content

ViewCreationNamespace

Trait ViewCreationNamespace 

Source
pub trait ViewCreationNamespace {
    // Required method
    fn relation_target(
        &self,
        name: &str,
        persistence: RelationPersistence,
    ) -> Result<(String, RelationPersistence), SQLError>;
}

Required Methods§

Source

fn relation_target( &self, name: &str, persistence: RelationPersistence, ) -> Result<(String, RelationPersistence), SQLError>

RangeVarGetAndCheckCreationNamespace for the view: its canonical name and the persistence it takes there.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§