Trait bonsaidb::core::schema::Nameable[][src]

pub trait Nameable<'a, Id> {
    fn name(self) -> Result<NamedReference<'a, Id>, Error>;
}
Expand description

A type that can be used as a unique reference for a collection that implements NamedCollection.

Required methods

Returns this name as a NamedReference.

Implementations on Foreign Types

Implementors