add derives

master
Atrox 2022-11-09 22:25:18 +01:00
parent 39b0f75c38
commit dd823d6272
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ pub trait IntoHeader {
} }
/// HelmetLayer /// HelmetLayer
#[derive(Debug, Clone)]
pub struct HelmetLayer { pub struct HelmetLayer {
headers: HeaderMap, headers: HeaderMap,
} }
@ -124,7 +125,7 @@ impl<'a, S> Layer<S> for HelmetLayer {
} }
} }
#[derive(Clone)] #[derive(Debug, Clone)]
pub struct HelmetService<S> { pub struct HelmetService<S> {
inner: S, inner: S,
headers: HeaderMap, headers: HeaderMap,