#[repr(C)]pub struct switch_core_session_message {Show 18 fields
pub from: *mut c_char,
pub message_id: switch_core_session_message_types_t,
pub numeric_arg: c_int,
pub string_arg: *const c_char,
pub string_arg_size: switch_size_t,
pub pointer_arg: *mut c_void,
pub pointer_arg_size: switch_size_t,
pub numeric_reply: c_int,
pub string_reply: *mut c_char,
pub string_reply_size: switch_size_t,
pub pointer_reply: *mut c_void,
pub pointer_reply_size: switch_size_t,
pub flags: switch_core_session_message_flag_t,
pub _file: *const c_char,
pub _func: *const c_char,
pub _line: c_int,
pub string_array_arg: [*const c_char; 10],
pub delivery_time: time_t,
}Expand description
\brief A message object designed to allow unlike technologies to exchange data
Fields§
§from: *mut c_charuuid of the sender (for replies)
message_id: switch_core_session_message_types_tenumeration of the type of message
numeric_arg: c_intoptional numeric arg
string_arg: *const c_charoptional string arg
string_arg_size: switch_size_toptional string arg
pointer_arg: *mut c_voidoptional arbitrary pointer arg
pointer_arg_size: switch_size_toptional arbitrary pointer arg’s size
numeric_reply: c_intoptional numeric reply
string_reply: *mut c_charoptional string reply
string_reply_size: switch_size_toptional string reply
pointer_reply: *mut c_voidoptional arbitrary pointer reply
pointer_reply_size: switch_size_toptional arbitrary pointer reply’s size
flags: switch_core_session_message_flag_tmessage flags
_file: *const c_char§_func: *const c_char§_line: c_int§string_array_arg: [*const c_char; 10]§delivery_time: time_tTrait Implementations§
Source§impl Clone for switch_core_session_message
impl Clone for switch_core_session_message
Source§fn clone(&self) -> switch_core_session_message
fn clone(&self) -> switch_core_session_message
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 switch_core_session_message
impl Debug for switch_core_session_message
impl Copy for switch_core_session_message
Auto Trait Implementations§
impl Freeze for switch_core_session_message
impl RefUnwindSafe for switch_core_session_message
impl !Send for switch_core_session_message
impl !Sync for switch_core_session_message
impl Unpin for switch_core_session_message
impl UnwindSafe for switch_core_session_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