Struct hyper_sardine::WWWAuthenticate
source · pub struct WWWAuthenticate(_);
Implementations
sourceimpl WWWAuthenticate
impl WWWAuthenticate
pub fn new() -> WWWAuthenticate
pub fn add_scheme(self, scheme: AuthenticateScheme, data: Option<Vec<u8>>) -> Self
pub fn get_msg(&self, index: usize) -> Option<Vec<u8>>
Trait Implementations
sourceimpl Clone for WWWAuthenticate
impl Clone for WWWAuthenticate
sourcefn clone(&self) -> WWWAuthenticate
fn clone(&self) -> WWWAuthenticate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WWWAuthenticate
impl Debug for WWWAuthenticate
sourceimpl Display for WWWAuthenticate
impl Display for WWWAuthenticate
sourceimpl Header for WWWAuthenticate
impl Header for WWWAuthenticate
sourcefn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
sourcefn parse_header(raw: &Raw) -> Result<WWWAuthenticate>
fn parse_header(raw: &Raw) -> Result<WWWAuthenticate>
Parse a header from a raw stream of bytes. Read more
sourcefn fmt_header(&self, f: &mut Formatter<'_, '_>) -> Result
fn fmt_header(&self, f: &mut Formatter<'_, '_>) -> Result
Format a header to outgoing stream. Read more
sourceimpl PartialEq<WWWAuthenticate> for WWWAuthenticate
impl PartialEq<WWWAuthenticate> for WWWAuthenticate
sourcefn eq(&self, other: &WWWAuthenticate) -> bool
fn eq(&self, other: &WWWAuthenticate) -> bool
impl StructuralPartialEq for WWWAuthenticate
Auto Trait Implementations
impl RefUnwindSafe for WWWAuthenticate
impl Send for WWWAuthenticate
impl Sync for WWWAuthenticate
impl Unpin for WWWAuthenticate
impl UnwindSafe for WWWAuthenticate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more