shared::api::endpoints

Derive Macro PathPart

Source
#[derive(PathPart)]
{
    // Attributes available to this derive:
    #[my_trait]
}
Expand description

Derive macro that to implements PathPart for IDs. Only works on tuple structs with a single value value that implements ToString like Uuid or u32. If you wanna implement PathPart on types that don’w follow this exact structure do it manually