pub struct SipResponse {
pub version: String,
pub status: StatusCode,
pub reason: String,
pub headers: Headers,
pub body: Option<String>,
}Fields§
§version: String§status: StatusCode§reason: String§headers: Headers§body: Option<String>Trait Implementations§
Source§impl Clone for SipResponse
impl Clone for SipResponse
Source§fn clone(&self) -> SipResponse
fn clone(&self) -> SipResponse
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 moreAuto Trait Implementations§
impl Freeze for SipResponse
impl RefUnwindSafe for SipResponse
impl Send for SipResponse
impl Sync for SipResponse
impl Unpin for SipResponse
impl UnsafeUnpin for SipResponse
impl UnwindSafe for SipResponse
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