middleware 0.1.0

my custom middleware
Documentation
use serde::Deserialize;

#[derive(Debug, Deserialize, Clone)]
pub struct Jwk {
    pub kid: String,
    pub kty: String,
    pub alg: String,
    #[serde(rename = "use")]
    pub use_: String,
    pub n: String,
    pub e: String,
}

#[derive(Debug, Deserialize, Clone)]
pub struct Jwks {
    pub keys: Vec<Jwk>,
}

pub trait JwksTrait {
    fn jwks(&self) -> std::sync::Arc<Jwks>;
}