Struct tapioca::auth::HttpBasic
[−]
[src]
pub struct HttpBasic { pub user: String, pub password: String, }
Fields
user: String
password: String
Trait Implementations
impl Clone for HttpBasic
[src]
fn clone(&self) -> HttpBasic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for HttpBasic
[src]
impl From<(String, String)> for HttpBasic
[src]
impl Display for HttpBasic
[src]
impl Header for HttpBasic
[src]
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &[Vec<u8>]) -> HeaderResult<HttpBasic>
Parse a header from a raw stream of bytes. Read more
impl HeaderFormat for HttpBasic
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to be output into a TcpStream. Read more