pub struct AuthHeaders {
pub headers: HashMap<String, String>,
pub error: Option<String>,
}Expand description
Authentication headers for API requests
Fields§
§headers: HashMap<String, String>Headers map
error: Option<String>Error message if auth unavailable
Trait Implementations§
Source§impl Clone for AuthHeaders
impl Clone for AuthHeaders
Source§fn clone(&self) -> AuthHeaders
fn clone(&self) -> AuthHeaders
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 AuthHeaders
impl RefUnwindSafe for AuthHeaders
impl Send for AuthHeaders
impl Sync for AuthHeaders
impl Unpin for AuthHeaders
impl UnsafeUnpin for AuthHeaders
impl UnwindSafe for AuthHeaders
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