pub trait PrimaryKeyWalkerExt<'db> {
    // Required method
    fn constraint_name(self, connector: &dyn Connector) -> Option<Cow<'db, str>>;
}

Required Methods§

source

fn constraint_name(self, connector: &dyn Connector) -> Option<Cow<'db, str>>

This will be None if and only if the connector does not support named primary keys. It can be a generated name or one explicitly set in the schema.

Implementations on Foreign Types§

source§

impl<'db> PrimaryKeyWalkerExt<'db> for PrimaryKeyWalker<'db>

source§

fn constraint_name(self, connector: &dyn Connector) -> Option<Cow<'db, str>>

Implementors§