pub struct HeaderLine {
pub key: String,
pub value: String,
}Expand description
Represents a single header line with a key and value.
Fields§
§key: String§value: StringTrait Implementations§
Source§impl Clone for HeaderLine
impl Clone for HeaderLine
Source§fn clone(&self) -> HeaderLine
fn clone(&self) -> HeaderLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeaderLine
impl Debug for HeaderLine
Source§impl<K, V> From<(K, V)> for HeaderLine
impl<K, V> From<(K, V)> for HeaderLine
Source§impl PartialEq for HeaderLine
impl PartialEq for HeaderLine
impl Eq for HeaderLine
impl StructuralPartialEq for HeaderLine
Auto Trait Implementations§
impl Freeze for HeaderLine
impl RefUnwindSafe for HeaderLine
impl Send for HeaderLine
impl Sync for HeaderLine
impl Unpin for HeaderLine
impl UnsafeUnpin for HeaderLine
impl UnwindSafe for HeaderLine
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