pub struct WwwAuthenticate<C: Challenge>(pub C);
Expand description
Tuple Fields
0: C
Trait Implementations
sourceimpl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
sourcefn clone(&self) -> WwwAuthenticate<C>
fn clone(&self) -> WwwAuthenticate<C>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<C: Debug + Challenge> Debug for WwwAuthenticate<C>
impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>
sourceimpl<C: Default + Challenge> Default for WwwAuthenticate<C>
impl<C: Default + Challenge> Default for WwwAuthenticate<C>
sourcefn default() -> WwwAuthenticate<C>
fn default() -> WwwAuthenticate<C>
Returns the “default value” for a type. Read more
sourceimpl<C: Hash + Challenge> Hash for WwwAuthenticate<C>
impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>
sourceimpl<C: Challenge> Header for WwwAuthenticate<C>
impl<C: Challenge> Header for WwwAuthenticate<C>
sourceimpl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
sourcefn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering
fn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>
impl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>
sourcefn eq(&self, other: &WwwAuthenticate<C>) -> bool
fn eq(&self, other: &WwwAuthenticate<C>) -> bool
sourceimpl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>
impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>
sourcefn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
type Error = <C as TryIntoHeaderValue>::Error
type Error = <C as TryIntoHeaderValue>::Error
The type returned in the event of a conversion error.
sourcefn 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
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.