pub struct HeaderPolicy {
pub headers: Vec<(String, String)>,
}Fields§
§headers: Vec<(String, String)>Trait Implementations§
Source§impl Clone for HeaderPolicy
impl Clone for HeaderPolicy
Source§fn clone(&self) -> HeaderPolicy
fn clone(&self) -> HeaderPolicy
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§impl Debug for HeaderPolicy
impl Debug for HeaderPolicy
Source§impl Default for HeaderPolicy
impl Default for HeaderPolicy
Source§fn default() -> HeaderPolicy
fn default() -> HeaderPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HeaderPolicy
impl RefUnwindSafe for HeaderPolicy
impl Send for HeaderPolicy
impl Sync for HeaderPolicy
impl Unpin for HeaderPolicy
impl UnsafeUnpin for HeaderPolicy
impl UnwindSafe for HeaderPolicy
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