pub struct StatusLine {
pub code: StatusCode,
pub reason: Option<BytesStr>,
}Expand description
The leading line of a SIP response message
Fields§
§code: StatusCode§reason: Option<BytesStr>Trait Implementations§
Source§impl Clone for StatusLine
impl Clone for StatusLine
Source§fn clone(&self) -> StatusLine
fn clone(&self) -> StatusLine
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 StatusLine
impl Debug for StatusLine
Source§impl Display for StatusLine
impl Display for StatusLine
Source§impl FromStr for StatusLine
impl FromStr for StatusLine
Auto Trait Implementations§
impl !Freeze for StatusLine
impl RefUnwindSafe for StatusLine
impl Send for StatusLine
impl Sync for StatusLine
impl Unpin for StatusLine
impl UnsafeUnpin for StatusLine
impl UnwindSafe for StatusLine
Blanket Implementations§
Source§impl<T> AppendCtx for Twhere
T: Print,
impl<T> AppendCtx for Twhere
T: Print,
Source§fn print_ctx<'a>(&'a self, ctx: PrintCtx<'a>) -> WithPrintCtx<'a, Self>
fn print_ctx<'a>(&'a self, ctx: PrintCtx<'a>) -> WithPrintCtx<'a, Self>
Wrap a type inside a
WithPrintCtx so it implements displaySource§fn default_print_ctx(&self) -> WithPrintCtx<'_, Self>
fn default_print_ctx(&self) -> WithPrintCtx<'_, Self>
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