1 2 3 4 5 6 7 8
use serde::Deserialize; /// A role returned by Auth0's `GET /api/v2/roles` endpoint. #[derive(Debug, Deserialize)] pub struct Auth0Role { pub id: String, pub name: String, }