Skip to main content

ExpressionNames

Trait ExpressionNames 

Source
pub trait ExpressionNames {
    // Required methods
    fn column(&self, attribute: i64) -> Result<String, SQLError>;
    fn routine(&self, oid: i64) -> Result<Vec<String>, SQLError>;
    fn type_name(&self, oid: i64, modifier: i64) -> Result<String, SQLError>;

    // Provided method
    fn parameter(&self, number: i64) -> Result<String, SQLError> { ... }
}

Required Methods§

Source

fn column(&self, attribute: i64) -> Result<String, SQLError>

Source

fn routine(&self, oid: i64) -> Result<Vec<String>, SQLError>

Source

fn type_name(&self, oid: i64, modifier: i64) -> Result<String, SQLError>

Provided Methods§

Source

fn parameter(&self, number: i64) -> Result<String, SQLError>

SQL spelling of an external parameter after the renderer validates its positive number.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§