pub struct DtmfConfig {
pub encode_speed: DtmfSpeed,
pub pause_time: DtmfPause,
pub tx_hold: bool,
pub tx_on_busy: bool,
}Expand description
DTMF encoder and dialer configuration.
Controls the speed at which DTMF tones are generated, the pause duration between digit groups, TX hold behavior, and whether DTMF can be transmitted on a busy channel.
Fields§
§encode_speed: DtmfSpeedDTMF tone encode speed.
pause_time: DtmfPausePause time between DTMF digit groups.
tx_hold: boolTX hold – keep transmitter keyed between DTMF digit groups.
tx_on_busy: boolAllow DTMF transmission on a busy (occupied) channel.
Trait Implementations§
Source§impl Clone for DtmfConfig
impl Clone for DtmfConfig
Source§fn clone(&self) -> DtmfConfig
fn clone(&self) -> DtmfConfig
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 DtmfConfig
impl Debug for DtmfConfig
Source§impl Default for DtmfConfig
impl Default for DtmfConfig
Source§impl Hash for DtmfConfig
impl Hash for DtmfConfig
Source§impl PartialEq for DtmfConfig
impl PartialEq for DtmfConfig
impl Eq for DtmfConfig
impl StructuralPartialEq for DtmfConfig
Auto Trait Implementations§
impl Freeze for DtmfConfig
impl RefUnwindSafe for DtmfConfig
impl Send for DtmfConfig
impl Sync for DtmfConfig
impl Unpin for DtmfConfig
impl UnwindSafe for DtmfConfig
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