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§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: PartialEq + Challenge> PartialEq for WwwAuthenticate<C>
impl<C: PartialEq + Challenge> PartialEq for WwwAuthenticate<C>
source§fn eq(&self, other: &WwwAuthenticate<C>) -> bool
fn eq(&self, other: &WwwAuthenticate<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<C: PartialOrd + Challenge> PartialOrd for WwwAuthenticate<C>
impl<C: PartialOrd + Challenge> PartialOrd for WwwAuthenticate<C>
source§fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
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> StructuralEq for WwwAuthenticate<C>
impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>
Auto Trait Implementations§
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