pub fn bearer_auth<T>(self, token: T) -> Self
    where
        T: fmt::Display,
    {
        self.header(header::AUTHORIZATION, format!("Bearer {}", token))
    }
/// Set client wide HTTP bearer authentication header
Set client wide HTTP bearer authentication header
Set client wide HTTP bearer authentication header
pub fn bearer_auth<T>(self, token: T) -> Self
    where
        T: fmt::Display,
    {
        self.header(header::AUTHORIZATION, format!("Bearer {}", token))
    }
pub fn bearer_auth < T > ( self , token : T ) -> Self where T : fmt :: Display , { self . header ( header :: AUTHORIZATION , format ! ( " " token ) ) }
Set client wide HTTP bearer authentication header
Set client wide HTTP bearer authentication header
self
token
T
self
token
T