pub struct WwwAuthenticate { /* private fields */ }
Implementations§
Source§impl WwwAuthenticate
impl WwwAuthenticate
pub fn new() -> WwwAuthenticate
pub fn with_challenge(self, challenge: Challenge) -> WwwAuthenticate
pub fn with_challenges(self, challenges: Vec<Challenge>) -> WwwAuthenticate
Trait Implementations§
Source§impl Clone for WwwAuthenticate
impl Clone for WwwAuthenticate
Source§fn clone(&self) -> WwwAuthenticate
fn clone(&self) -> WwwAuthenticate
Returns a duplicate 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 Display for WwwAuthenticate
impl Display for WwwAuthenticate
Source§impl Header for WwwAuthenticate
impl Header for WwwAuthenticate
Source§fn parse_header(_raw: &Raw) -> HyperResult<Self>
fn parse_header(_raw: &Raw) -> HyperResult<Self>
This header should never present in a request.
Source§fn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
Source§fn fmt_header(&self, f: &mut HyperFormatter<'_, '_>) -> FormatResult
fn fmt_header(&self, f: &mut HyperFormatter<'_, '_>) -> FormatResult
Format a header to outgoing stream. Read more
Auto Trait Implementations§
impl Freeze for WwwAuthenticate
impl RefUnwindSafe for WwwAuthenticate
impl Send for WwwAuthenticate
impl Sync for WwwAuthenticate
impl Unpin for WwwAuthenticate
impl UnwindSafe for WwwAuthenticate
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