Trait Iden

pub trait Iden: Send + Sync {
    // Required method
    fn unquoted(&self, s: &mut dyn Write);

    // Provided methods
    fn prepare(&self, s: &mut dyn Write, q: Quote) { ... }
    fn quoted(&self, q: Quote) -> String { ... }
    fn to_string(&self) -> String { ... }
}
Expand description

Identifier

Required Methods§

fn unquoted(&self, s: &mut dyn Write)

Provided Methods§

fn prepare(&self, s: &mut dyn Write, q: Quote)

fn quoted(&self, q: Quote) -> String

fn to_string(&self) -> String

Trait Implementations§

§

impl Debug for dyn Iden

§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementations on Foreign Types§

§

impl Iden for CharSet

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for CharacterSetFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for CharacterSetFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for CheckConstraintsFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for Collation

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for Column

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for ColumnFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for ColumnsField

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for Entity

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for Has

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for IndexType

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for InformationSchema

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for InformationSchema

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for KeyColumnUsageFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for KeyColumnUsageFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgAttribute

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgClass

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgEnum

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgIndex

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgIndexes

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgNamespace

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PgType

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for PrimaryKey

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for ReferentialConstraintsFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for ReferentialConstraintsFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for SqliteMaster

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for SqliteSchema

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for StatisticsFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for StorageEngine

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for TableConstraintsField

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for TableType

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for TableType

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for TablesFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for TablesFields

§

fn prepare(&self, s: &mut dyn Write, q: Quote)

§

fn unquoted(&self, s: &mut dyn Write)

§

impl Iden for Type

§

fn unquoted(&self, s: &mut dyn Write)

Implementors§

§

impl Iden for Identity

§

impl Iden for MySqlType

§

impl Iden for PgLTree

§

impl Iden for SelectA

§

impl Iden for SelectB

§

impl Iden for SelectC

§

impl Iden for Alias

§

impl Iden for NullAlias