#[repr(C)]pub struct switch_device_stats_s {Show 25 fields
pub total: u32,
pub total_in: u32,
pub total_out: u32,
pub offhook: u32,
pub offhook_in: u32,
pub offhook_out: u32,
pub active: u32,
pub active_in: u32,
pub active_out: u32,
pub held: u32,
pub held_in: u32,
pub held_out: u32,
pub unheld: u32,
pub unheld_in: u32,
pub unheld_out: u32,
pub hup: u32,
pub hup_in: u32,
pub hup_out: u32,
pub ringing: u32,
pub ringing_in: u32,
pub ringing_out: u32,
pub early: u32,
pub early_in: u32,
pub early_out: u32,
pub ring_wait: u32,
}Fields§
§total: u32§total_in: u32§total_out: u32§offhook: u32§offhook_in: u32§offhook_out: u32§active: u32§active_in: u32§active_out: u32§held: u32§held_in: u32§held_out: u32§unheld: u32§unheld_in: u32§unheld_out: u32§hup: u32§hup_in: u32§hup_out: u32§ringing: u32§ringing_in: u32§ringing_out: u32§early: u32§early_in: u32§early_out: u32§ring_wait: u32Trait Implementations§
Source§impl Clone for switch_device_stats_s
impl Clone for switch_device_stats_s
Source§fn clone(&self) -> switch_device_stats_s
fn clone(&self) -> switch_device_stats_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_stats_s
impl Debug for switch_device_stats_s
impl Copy for switch_device_stats_s
Auto Trait Implementations§
impl Freeze for switch_device_stats_s
impl RefUnwindSafe for switch_device_stats_s
impl Send for switch_device_stats_s
impl Sync for switch_device_stats_s
impl Unpin for switch_device_stats_s
impl UnwindSafe for switch_device_stats_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