pub struct WwwAuthenticate<C: Challenge>(pub C);
Expand description
Tuple Fields§
§0: C
Trait Implementations§
source§impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
source§fn clone(&self) -> WwwAuthenticate<C>
fn clone(&self) -> WwwAuthenticate<C>
Returns a copy 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<C: Default + Challenge> Default for WwwAuthenticate<C>
impl<C: Default + Challenge> Default for WwwAuthenticate<C>
source§fn default() -> WwwAuthenticate<C>
fn default() -> WwwAuthenticate<C>
Returns the “default value” for a type. Read more
source§impl<C: Challenge> Header for WwwAuthenticate<C>
impl<C: Challenge> Header for WwwAuthenticate<C>
source§fn name() -> HeaderName
fn name() -> HeaderName
Returns the name of the header field.
source§fn parse<T: HttpMessage>(_msg: &T) -> Result<Self, ParseError>
fn parse<T: HttpMessage>(_msg: &T) -> Result<Self, ParseError>
Parse the header from a HTTP message.
source§impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
source§fn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering
fn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<C: PartialOrd + Challenge> PartialOrd for WwwAuthenticate<C>
impl<C: PartialOrd + Challenge> PartialOrd for WwwAuthenticate<C>
source§impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
source§type Error = <C as TryIntoHeaderValue>::Error
type Error = <C as TryIntoHeaderValue>::Error
The type returned in the event of a conversion error.
source§fn try_into_value(self) -> Result<HeaderValue, Self::Error>
fn try_into_value(self) -> Result<HeaderValue, Self::Error>
Try to convert value to a HeaderValue.
impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>
impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>
Auto Trait Implementations§
impl<C> Freeze for WwwAuthenticate<C>where
C: Freeze,
impl<C> RefUnwindSafe for WwwAuthenticate<C>where
C: RefUnwindSafe,
impl<C> Send for WwwAuthenticate<C>
impl<C> Sync for WwwAuthenticate<C>
impl<C> Unpin for WwwAuthenticate<C>where
C: Unpin,
impl<C> UnwindSafe for WwwAuthenticate<C>where
C: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.