#[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,
}Fields§
§from: *mut c_char§message_id: switch_core_session_message_types_t§numeric_arg: c_int§string_arg: *const c_char§string_arg_size: switch_size_t§pointer_arg: *mut c_void§pointer_arg_size: switch_size_t§numeric_reply: c_int§string_reply: *mut c_char§string_reply_size: switch_size_t§pointer_reply: *mut c_void§pointer_reply_size: switch_size_t§flags: switch_core_session_message_flag_t§_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 (const: unstable) · 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 UnsafeUnpin 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