Struct digest_auth::HttpMethod
source · pub struct HttpMethod<'a>(pub Cow<'a, str>);
Expand description
HTTP method (used when generating the response hash for some Qop options)
Tuple Fields§
§0: Cow<'a, str>
Implementations§
source§impl<'a> HttpMethod<'a>
impl<'a> HttpMethod<'a>
Trait Implementations§
source§impl<'a> Clone for HttpMethod<'a>
impl<'a> Clone for HttpMethod<'a>
source§fn clone(&self) -> HttpMethod<'a>
fn clone(&self) -> HttpMethod<'a>
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<'a> Debug for HttpMethod<'a>
impl<'a> Debug for HttpMethod<'a>
source§impl<'a> Default for HttpMethod<'a>
impl<'a> Default for HttpMethod<'a>
source§impl<'a> Display for HttpMethod<'a>
impl<'a> Display for HttpMethod<'a>
source§impl<'a> From<&'a [u8]> for HttpMethod<'a>
impl<'a> From<&'a [u8]> for HttpMethod<'a>
source§impl<'a> From<&'a str> for HttpMethod<'a>
impl<'a> From<&'a str> for HttpMethod<'a>
source§impl<'a> From<String> for HttpMethod<'a>
impl<'a> From<String> for HttpMethod<'a>
source§impl<'a> PartialEq for HttpMethod<'a>
impl<'a> PartialEq for HttpMethod<'a>
source§fn eq(&self, other: &HttpMethod<'a>) -> bool
fn eq(&self, other: &HttpMethod<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for HttpMethod<'a>
Auto Trait Implementations§
impl<'a> Freeze for HttpMethod<'a>
impl<'a> RefUnwindSafe for HttpMethod<'a>
impl<'a> Send for HttpMethod<'a>
impl<'a> Sync for HttpMethod<'a>
impl<'a> Unpin for HttpMethod<'a>
impl<'a> UnwindSafe for HttpMethod<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)