Struct hyper_sardine::WWWAuthenticate [−][src]
pub struct WWWAuthenticate(_);
Methods
impl WWWAuthenticate
[src]
impl WWWAuthenticate
pub fn new() -> WWWAuthenticate
[src]
pub fn new() -> WWWAuthenticate
pub fn add_scheme(
self,
scheme: AuthenticateScheme,
data: Option<Vec<u8>>
) -> Self
[src]
pub fn add_scheme(
self,
scheme: AuthenticateScheme,
data: Option<Vec<u8>>
) -> Self
pub fn get_msg(&self, index: usize) -> Option<Vec<u8>>
[src]
pub fn get_msg(&self, index: usize) -> Option<Vec<u8>>
Trait Implementations
impl Clone for WWWAuthenticate
[src]
impl Clone for WWWAuthenticate
fn clone(&self) -> WWWAuthenticate
[src]
fn clone(&self) -> WWWAuthenticate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for WWWAuthenticate
[src]
impl PartialEq for WWWAuthenticate
fn eq(&self, other: &WWWAuthenticate) -> bool
[src]
fn eq(&self, other: &WWWAuthenticate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &WWWAuthenticate) -> bool
[src]
fn ne(&self, other: &WWWAuthenticate) -> bool
This method tests for !=
.
impl Debug for WWWAuthenticate
[src]
impl Debug for WWWAuthenticate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Header for WWWAuthenticate
[src]
impl Header for WWWAuthenticate
fn header_name() -> &'static str
[src]
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &Raw) -> Result<WWWAuthenticate>
[src]
fn parse_header(raw: &Raw) -> Result<WWWAuthenticate>
Parse a header from a raw stream of bytes. Read more
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to outgoing stream. Read more
impl Display for WWWAuthenticate
[src]
impl Display for WWWAuthenticate
Auto Trait Implementations
impl Send for WWWAuthenticate
impl Send for WWWAuthenticate
impl Sync for WWWAuthenticate
impl Sync for WWWAuthenticate