pub enum SipMessageType {
Request {
method: String,
uri: String,
},
Response {
code: u16,
reason: String,
},
}Expand description
SIP request or response first line.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SipMessageType
impl Clone for SipMessageType
Source§fn clone(&self) -> SipMessageType
fn clone(&self) -> SipMessageType
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 SipMessageType
impl Debug for SipMessageType
Source§impl Display for SipMessageType
impl Display for SipMessageType
Source§impl PartialEq for SipMessageType
impl PartialEq for SipMessageType
impl Eq for SipMessageType
impl StructuralPartialEq for SipMessageType
Auto Trait Implementations§
impl Freeze for SipMessageType
impl RefUnwindSafe for SipMessageType
impl Send for SipMessageType
impl Sync for SipMessageType
impl Unpin for SipMessageType
impl UnsafeUnpin for SipMessageType
impl UnwindSafe for SipMessageType
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