Struct viz_core::headers::authorization::Basic
source · pub struct Basic { /* private fields */ }Expand description
Credential holder for Basic Authentication
Implementations§
Trait Implementations§
source§impl Credentials for Basic
impl Credentials for Basic
source§const SCHEME: &'static str = "Basic"
const SCHEME: &'static str = "Basic"
The scheme identify the format of these credentials. Read more
source§fn decode(value: &HeaderValue) -> Option<Basic>
fn decode(value: &HeaderValue) -> Option<Basic>
Try to decode the credentials from the
HeaderValue. Read moresource§fn encode(&self) -> HeaderValue
fn encode(&self) -> HeaderValue
Encode the credentials to a
HeaderValue. Read more