pub struct PhoneNumberOutboundConfig {
pub address: String,
pub sip_region: SipRegion,
pub auth: Option<SipAuth>,
pub transport: Option<SipTransport>,
}Expand description
Configures a phone number’s outbound gateway.
Fields§
§address: StringThe SIP host. Required.
sip_region: SipRegionThe SIP region. Required.
auth: Option<SipAuth>The SIP credentials.
transport: Option<SipTransport>The SIP transport. Defaults to TLS.
Trait Implementations§
Source§impl Clone for PhoneNumberOutboundConfig
impl Clone for PhoneNumberOutboundConfig
Source§fn clone(&self) -> PhoneNumberOutboundConfig
fn clone(&self) -> PhoneNumberOutboundConfig
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 PhoneNumberOutboundConfig
impl Debug for PhoneNumberOutboundConfig
Auto Trait Implementations§
impl Freeze for PhoneNumberOutboundConfig
impl RefUnwindSafe for PhoneNumberOutboundConfig
impl Send for PhoneNumberOutboundConfig
impl Sync for PhoneNumberOutboundConfig
impl Unpin for PhoneNumberOutboundConfig
impl UnsafeUnpin for PhoneNumberOutboundConfig
impl UnwindSafe for PhoneNumberOutboundConfig
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