#[repr(C)]pub struct switch_device_record_s {Show 20 fields
pub device_id: *mut c_char,
pub uuid: *mut c_char,
pub refs: c_int,
pub stats: switch_device_stats_t,
pub last_stats: switch_device_stats_t,
pub state: switch_device_state_t,
pub last_state: switch_device_state_t,
pub active_start: switch_time_t,
pub active_stop: switch_time_t,
pub last_call_time: switch_time_t,
pub ring_start: switch_time_t,
pub ring_stop: switch_time_t,
pub hold_start: switch_time_t,
pub hold_stop: switch_time_t,
pub call_start: switch_time_t,
pub uuid_list: *mut device_uuid_node_s,
pub uuid_tail: *mut device_uuid_node_s,
pub mutex: *mut switch_mutex_t,
pub pool: *mut switch_memory_pool_t,
pub user_data: *mut c_void,
}Fields§
§device_id: *mut c_char§uuid: *mut c_char§refs: c_int§stats: switch_device_stats_t§last_stats: switch_device_stats_t§state: switch_device_state_t§last_state: switch_device_state_t§active_start: switch_time_t§active_stop: switch_time_t§last_call_time: switch_time_t§ring_start: switch_time_t§ring_stop: switch_time_t§hold_start: switch_time_t§hold_stop: switch_time_t§call_start: switch_time_t§uuid_list: *mut device_uuid_node_s§uuid_tail: *mut device_uuid_node_s§mutex: *mut switch_mutex_t§pool: *mut switch_memory_pool_t§user_data: *mut c_voidTrait Implementations§
Source§impl Clone for switch_device_record_s
impl Clone for switch_device_record_s
Source§fn clone(&self) -> switch_device_record_s
fn clone(&self) -> switch_device_record_s
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_device_record_s
impl Debug for switch_device_record_s
impl Copy for switch_device_record_s
Auto Trait Implementations§
impl Freeze for switch_device_record_s
impl RefUnwindSafe for switch_device_record_s
impl !Send for switch_device_record_s
impl !Sync for switch_device_record_s
impl Unpin for switch_device_record_s
impl UnwindSafe for switch_device_record_s
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