#[non_exhaustive]pub struct SipAcceptEntry { /* private fields */ }Expand description
A single Accept entry: type/subtype *(SEMI accept-param).
Implementations§
Source§impl SipAcceptEntry
impl SipAcceptEntry
Sourcepub fn media_type(&self) -> &str
pub fn media_type(&self) -> &str
The media type (e.g. "application").
Sourcepub fn media_range(&self) -> &str
pub fn media_range(&self) -> &str
The full media range as type/subtype.
Trait Implementations§
Source§impl Clone for SipAcceptEntry
impl Clone for SipAcceptEntry
Source§fn clone(&self) -> SipAcceptEntry
fn clone(&self) -> SipAcceptEntry
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 SipAcceptEntry
impl Debug for SipAcceptEntry
Source§impl Display for SipAcceptEntry
impl Display for SipAcceptEntry
Source§impl PartialEq for SipAcceptEntry
impl PartialEq for SipAcceptEntry
impl Eq for SipAcceptEntry
impl StructuralPartialEq for SipAcceptEntry
Auto Trait Implementations§
impl Freeze for SipAcceptEntry
impl RefUnwindSafe for SipAcceptEntry
impl Send for SipAcceptEntry
impl Sync for SipAcceptEntry
impl Unpin for SipAcceptEntry
impl UnsafeUnpin for SipAcceptEntry
impl UnwindSafe for SipAcceptEntry
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