Skip to main content

Slugs

Trait Slugs 

Source
pub trait Slugs: Aggregate {
    const SLUG: Column<Self, String> = _;

    // Provided method
    fn slug(&self) -> &str { ... }
}

Provided Associated Constants§

Source

const SLUG: Column<Self, String> = _

Provided Methods§

Source

fn slug(&self) -> &str

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<A: Uses<Slugged>> Slugs for A