pub struct CustomHeaderAuth {
pub headers: HashMap<String, String>,
}Expand description
Custom header authentication
Fields§
§headers: HashMap<String, String>Custom headers to add
Implementations§
Trait Implementations§
Source§impl Clone for CustomHeaderAuth
impl Clone for CustomHeaderAuth
Source§fn clone(&self) -> CustomHeaderAuth
fn clone(&self) -> CustomHeaderAuth
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 CustomHeaderAuth
impl Debug for CustomHeaderAuth
Source§impl Default for CustomHeaderAuth
impl Default for CustomHeaderAuth
Source§impl<'de> Deserialize<'de> for CustomHeaderAuth
impl<'de> Deserialize<'de> for CustomHeaderAuth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomHeaderAuth
impl RefUnwindSafe for CustomHeaderAuth
impl Send for CustomHeaderAuth
impl Sync for CustomHeaderAuth
impl Unpin for CustomHeaderAuth
impl UnwindSafe for CustomHeaderAuth
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