pub struct Header {
pub optional: bool,
pub name: String,
pub value: Option<String>,
}Expand description
A header name (and optional value) used in p0f-style HTTP signatures.
Headers may be marked optional (?) to signal “match if present, ignore
if absent”.
Fields§
§optional: bool§name: String§value: Option<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more