pub struct PhoneNumberWithGateways {
pub phone_number: PhoneNumberInfo,
pub inbound: Option<SipTrunk>,
pub outbound: Option<SipTrunk>,
}Expand description
A phone number with the gateways attached to it.
Fields§
§phone_number: PhoneNumberInfoThe provisioned number.
inbound: Option<SipTrunk>The inbound gateway, if one is attached.
outbound: Option<SipTrunk>The outbound gateway, if one is attached.
Trait Implementations§
Source§impl Clone for PhoneNumberWithGateways
impl Clone for PhoneNumberWithGateways
Source§fn clone(&self) -> PhoneNumberWithGateways
fn clone(&self) -> PhoneNumberWithGateways
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 PhoneNumberWithGateways
impl Debug for PhoneNumberWithGateways
Source§impl<'de> Deserialize<'de> for PhoneNumberWithGateways
impl<'de> Deserialize<'de> for PhoneNumberWithGateways
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
Auto Trait Implementations§
impl Freeze for PhoneNumberWithGateways
impl RefUnwindSafe for PhoneNumberWithGateways
impl Send for PhoneNumberWithGateways
impl Sync for PhoneNumberWithGateways
impl Unpin for PhoneNumberWithGateways
impl UnsafeUnpin for PhoneNumberWithGateways
impl UnwindSafe for PhoneNumberWithGateways
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