#[non_exhaustive]pub struct SipAuthValue { /* private fields */ }Expand description
Parsed SIP authentication value.
Covers Authorization, Proxy-Authorization, WWW-Authenticate, and Proxy-Authenticate header field values.
Grammar: scheme SP param=val *(COMMA param=val)
Implementations§
Source§impl SipAuthValue
impl SipAuthValue
Source§impl SipAuthValue
impl SipAuthValue
Sourcepub fn parse(s: &str) -> Result<Self, SipAuthError>
pub fn parse(s: &str) -> Result<Self, SipAuthError>
Parse an authentication header value.
Trait Implementations§
Source§impl Clone for SipAuthValue
impl Clone for SipAuthValue
Source§fn clone(&self) -> SipAuthValue
fn clone(&self) -> SipAuthValue
Returns a duplicate 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 Debug for SipAuthValue
impl Debug for SipAuthValue
Source§impl Display for SipAuthValue
impl Display for SipAuthValue
Source§impl FromStr for SipAuthValue
impl FromStr for SipAuthValue
Source§impl PartialEq for SipAuthValue
impl PartialEq for SipAuthValue
impl Eq for SipAuthValue
impl StructuralPartialEq for SipAuthValue
Auto Trait Implementations§
impl Freeze for SipAuthValue
impl RefUnwindSafe for SipAuthValue
impl Send for SipAuthValue
impl Sync for SipAuthValue
impl Unpin for SipAuthValue
impl UnsafeUnpin for SipAuthValue
impl UnwindSafe for SipAuthValue
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