pub struct NavigationHeader {
pub name: &'static str,
pub value: &'static str,
}Expand description
Header/value pair for browser identity defaults.
Fields§
§name: &'static strLower-case HTTP header name suitable for http::HeaderName::from_static.
value: &'static strHeader value derived from the selected browser profile.
Trait Implementations§
Source§fn clone(&self) -> NavigationHeader
fn clone(&self) -> NavigationHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn eq(&self, other: &NavigationHeader) -> bool
fn eq(&self, other: &NavigationHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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