add derives
parent
39b0f75c38
commit
dd823d6272
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue