pub struct HeaderPair {
pub name: String,
pub value: String,
}Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for HeaderPair
impl Clone for HeaderPair
Source§fn clone(&self) -> HeaderPair
fn clone(&self) -> HeaderPair
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 moreAuto Trait Implementations§
impl Freeze for HeaderPair
impl RefUnwindSafe for HeaderPair
impl Send for HeaderPair
impl Sync for HeaderPair
impl Unpin for HeaderPair
impl UnwindSafe for HeaderPair
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