pub struct SipTrunkOutboundAuthenticationPlan {
pub auth_password: Option<String>,
pub auth_username: Option<String>,
pub sip_register_plan: Option<SipTrunkOutboundSipRegisterPlan>,
}
Fields§
§auth_password: Option<String>
This is not returned in the API.
auth_username: Option<String>
§sip_register_plan: Option<SipTrunkOutboundSipRegisterPlan>
This can be used to configure if SIP register is required by the SIP trunk. If not provided, no SIP registration will be attempted.
Implementations§
Trait Implementations§
Source§impl Clone for SipTrunkOutboundAuthenticationPlan
impl Clone for SipTrunkOutboundAuthenticationPlan
Source§fn clone(&self) -> SipTrunkOutboundAuthenticationPlan
fn clone(&self) -> SipTrunkOutboundAuthenticationPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for SipTrunkOutboundAuthenticationPlan
impl Default for SipTrunkOutboundAuthenticationPlan
Source§fn default() -> SipTrunkOutboundAuthenticationPlan
fn default() -> SipTrunkOutboundAuthenticationPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SipTrunkOutboundAuthenticationPlan
impl<'de> Deserialize<'de> for SipTrunkOutboundAuthenticationPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SipTrunkOutboundAuthenticationPlan
impl PartialEq for SipTrunkOutboundAuthenticationPlan
Source§fn eq(&self, other: &SipTrunkOutboundAuthenticationPlan) -> bool
fn eq(&self, other: &SipTrunkOutboundAuthenticationPlan) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SipTrunkOutboundAuthenticationPlan
Auto Trait Implementations§
impl Freeze for SipTrunkOutboundAuthenticationPlan
impl RefUnwindSafe for SipTrunkOutboundAuthenticationPlan
impl Send for SipTrunkOutboundAuthenticationPlan
impl Sync for SipTrunkOutboundAuthenticationPlan
impl Unpin for SipTrunkOutboundAuthenticationPlan
impl UnwindSafe for SipTrunkOutboundAuthenticationPlan
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