pub struct AuthorizationHeader {
    pub name: Option<String>,
    pub value: Option<String>,
}Expand description
Fields§
§name: Option<String>Gets or sets the name of authorization header.
value: Option<String>Gets or sets the value of authorization header.
Implementations§
Trait Implementations§
source§impl Clone for AuthorizationHeader
 
impl Clone for AuthorizationHeader
source§fn clone(&self) -> AuthorizationHeader
 
fn clone(&self) -> AuthorizationHeader
Returns a copy 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 AuthorizationHeader
 
impl Debug for AuthorizationHeader
source§impl Default for AuthorizationHeader
 
impl Default for AuthorizationHeader
source§fn default() -> AuthorizationHeader
 
fn default() -> AuthorizationHeader
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizationHeader
 
impl<'de> Deserialize<'de> for AuthorizationHeader
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
source§impl PartialEq for AuthorizationHeader
 
impl PartialEq for AuthorizationHeader
source§fn eq(&self, other: &AuthorizationHeader) -> bool
 
fn eq(&self, other: &AuthorizationHeader) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for AuthorizationHeader
 
impl Serialize for AuthorizationHeader
impl StructuralPartialEq for AuthorizationHeader
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizationHeader
impl Send for AuthorizationHeader
impl Sync for AuthorizationHeader
impl Unpin for AuthorizationHeader
impl UnwindSafe for AuthorizationHeader
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