pub struct CreateSIPOutboundTrunkOptions {
pub transport: SipTransport,
pub metadata: String,
pub auth_username: String,
pub auth_password: String,
pub headers: Option<HashMap<String, String>>,
pub headers_to_attributes: Option<HashMap<String, String>>,
pub attributes_to_headers: Option<HashMap<String, String>>,
}
Fields§
§transport: SipTransport
§metadata: String
Optional free-form metadata.
auth_username: String
Username and password used to authenticate outbound SIP invites May be empty to have no Authentication
auth_password: String
§headers: Option<HashMap<String, String>>
§headers_to_attributes: Option<HashMap<String, String>>
§attributes_to_headers: Option<HashMap<String, String>>
Trait Implementations§
Source§impl Clone for CreateSIPOutboundTrunkOptions
impl Clone for CreateSIPOutboundTrunkOptions
Source§fn clone(&self) -> CreateSIPOutboundTrunkOptions
fn clone(&self) -> CreateSIPOutboundTrunkOptions
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 Default for CreateSIPOutboundTrunkOptions
impl Default for CreateSIPOutboundTrunkOptions
Source§fn default() -> CreateSIPOutboundTrunkOptions
fn default() -> CreateSIPOutboundTrunkOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateSIPOutboundTrunkOptions
impl RefUnwindSafe for CreateSIPOutboundTrunkOptions
impl Send for CreateSIPOutboundTrunkOptions
impl Sync for CreateSIPOutboundTrunkOptions
impl Unpin for CreateSIPOutboundTrunkOptions
impl UnwindSafe for CreateSIPOutboundTrunkOptions
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