Path

Derive Macro Path 

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

Derive macro for path parameter types.

Generates FromPath implementation.

#[derive(Path)]
pub struct OrgUserPath {
    pub org_id: String,
    pub id: String,
}