Derive Macro TypedPath
Source #[derive(TypedPath)]
{
#[typed_path]
}
Expand description
Derive macro for TypedPath
§Example
ⓘ#[derive(TypedPath, Deserialize, Serialize)]
#[typed_path("/users/{id}/posts/{post_id}")]
struct PostPath {
id: u64,
post_id: String,
}