use std::borrow::Cow;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Header {
pub name: &'static str,
pub value: Cow<'static, str>,
}
impl Header {
#[must_use]
pub const fn from_static(name: &'static str, value: &'static str) -> Self {
Self {
name,
value: Cow::Borrowed(value),
}
}
}