Struct rsip::headers::typed::www_authenticate::WwwAuthenticate
source · [−]pub struct WwwAuthenticate {
pub scheme: Scheme,
pub realm: String,
pub domain: Option<String>,
pub nonce: String,
pub opaque: Option<String>,
pub stale: Option<String>,
pub algorithm: Option<Algorithm>,
pub qop: Option<Qop>,
pub charset: Option<String>,
}
Expand description
The WwwAuthenticate
header in its typed form.
Fields
scheme: Scheme
realm: String
domain: Option<String>
nonce: String
opaque: Option<String>
stale: Option<String>
algorithm: Option<Algorithm>
qop: Option<Qop>
charset: Option<String>
Implementations
sourceimpl WwwAuthenticate
impl WwwAuthenticate
pub fn untyped(self) -> WwwAuthenticate
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 more
sourceimpl Debug for WwwAuthenticate
impl Debug for WwwAuthenticate
sourceimpl Default for WwwAuthenticate
impl Default for WwwAuthenticate
sourcefn default() -> WwwAuthenticate
fn default() -> WwwAuthenticate
Returns the “default value” for a type. Read more
sourceimpl Display for WwwAuthenticate
impl Display for WwwAuthenticate
sourceimpl From<WwwAuthenticate> for String
impl From<WwwAuthenticate> for String
sourcefn from(typed: WwwAuthenticate) -> Self
fn from(typed: WwwAuthenticate) -> Self
Converts to this type from the input type.
sourceimpl From<WwwAuthenticate> for WwwAuthenticate
impl From<WwwAuthenticate> for WwwAuthenticate
sourcefn from(typed: WwwAuthenticate) -> Self
fn from(typed: WwwAuthenticate) -> Self
Converts to this type from the input type.
sourceimpl From<WwwAuthenticate> for Header
impl From<WwwAuthenticate> for Header
sourcefn from(typed: WwwAuthenticate) -> Self
fn from(typed: WwwAuthenticate) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WwwAuthenticate> for WwwAuthenticate
impl PartialEq<WwwAuthenticate> for WwwAuthenticate
sourcefn eq(&self, other: &WwwAuthenticate) -> bool
fn eq(&self, other: &WwwAuthenticate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WwwAuthenticate) -> bool
fn ne(&self, other: &WwwAuthenticate) -> bool
This method tests for !=
.
sourceimpl<'a> TryFrom<AuthTokenizer<'a>> for WwwAuthenticate
impl<'a> TryFrom<AuthTokenizer<'a>> for WwwAuthenticate
sourceimpl TryFrom<WwwAuthenticate> for WwwAuthenticate
impl TryFrom<WwwAuthenticate> for WwwAuthenticate
sourceimpl<'a> TypedHeader<'a> for WwwAuthenticate
impl<'a> TypedHeader<'a> for WwwAuthenticate
impl Eq for WwwAuthenticate
impl StructuralEq for WwwAuthenticate
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more