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 strTwo-Character SIP Message Code
label: &'static strFor 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 RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more