pub struct Message {
pub code: &'static str,
pub label: &'static str,
pub fixed_fields: &'static [&'static FixedField],
}
Expand description
SIP message definition with 2-character code, label, and fixed fields.
No attempt is made to specify which spec::Field’s are used for each Message since use in the wild varies wildly.
Fields§
§code: &'static str
Two-Character SIP Message Code
label: &'static str
For documentation and debugging purposes.
This value does not appear in any messages.
fixed_fields: &'static [&'static FixedField]
Fixed fields used by this message, defined in the order they appear in the compiled message.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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