pub struct CreateSIPTrunkOptions {
pub name: String,
pub metadata: String,
pub inbound_addresses: Vec<String>,
pub inbound_numbers: Vec<String>,
pub inbound_username: String,
pub inbound_password: String,
pub outbound_address: String,
pub outbound_username: String,
pub outbound_password: String,
}
๐Deprecated
Fieldsยง
ยงname: String
๐Deprecated
Human-readable name for the Trunk.
metadata: String
๐Deprecated
Optional free-form metadata.
inbound_addresses: Vec<String>
๐Deprecated
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
inbound_numbers: Vec<String>
๐Deprecated
Accepted To
values. This Trunk will only accept a call made to
these numbers. This allows you to have distinct Trunks for different phone
numbers at the same provider.
inbound_username: String
๐Deprecated
Username and password used to authenticate inbound SIP invites May be empty to have no Authentication
inbound_password: String
๐Deprecated
ยงoutbound_address: String
๐Deprecated
IP that SIP INVITE is sent too
outbound_username: String
๐Deprecated
Username and password used to authenticate outbound SIP invites May be empty to have no Authentication
outbound_password: String
๐Deprecated
Trait Implementationsยง
Sourceยงimpl Clone for CreateSIPTrunkOptions
impl Clone for CreateSIPTrunkOptions
Sourceยงfn clone(&self) -> CreateSIPTrunkOptions
fn clone(&self) -> CreateSIPTrunkOptions
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 CreateSIPTrunkOptions
impl Debug for CreateSIPTrunkOptions
Sourceยงimpl Default for CreateSIPTrunkOptions
impl Default for CreateSIPTrunkOptions
Sourceยงfn default() -> CreateSIPTrunkOptions
fn default() -> CreateSIPTrunkOptions
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for CreateSIPTrunkOptions
impl RefUnwindSafe for CreateSIPTrunkOptions
impl Send for CreateSIPTrunkOptions
impl Sync for CreateSIPTrunkOptions
impl Unpin for CreateSIPTrunkOptions
impl UnwindSafe for CreateSIPTrunkOptions
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