pub struct TransferSIPParticipantOptions {
pub play_dialtone: Option<bool>,
pub ringing_timeout: Option<Duration>,
pub headers: Option<HashMap<String, String>>,
pub timeout: Option<Duration>,
}Fields§
§play_dialtone: Option<bool>Optionally play a dialtone to the SIP participant as an audible indicator of being transferred.
ringing_timeout: Option<Duration>Max time for the transfer destination to answer the call.
headers: Option<HashMap<String, String>>SIP headers added to the REFER SIP request.
timeout: Option<Duration>Per-request timeout override. A transfer always dials (REFER) and blocks
until the destination answers, so this is raised, if needed, to stay above
ringing_timeout.
Trait Implementations§
Source§impl Clone for TransferSIPParticipantOptions
impl Clone for TransferSIPParticipantOptions
Source§fn clone(&self) -> TransferSIPParticipantOptions
fn clone(&self) -> TransferSIPParticipantOptions
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 Default for TransferSIPParticipantOptions
impl Default for TransferSIPParticipantOptions
Source§fn default() -> TransferSIPParticipantOptions
fn default() -> TransferSIPParticipantOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransferSIPParticipantOptions
impl RefUnwindSafe for TransferSIPParticipantOptions
impl Send for TransferSIPParticipantOptions
impl Sync for TransferSIPParticipantOptions
impl Unpin for TransferSIPParticipantOptions
impl UnsafeUnpin for TransferSIPParticipantOptions
impl UnwindSafe for TransferSIPParticipantOptions
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