pub enum ServerMessagePhoneCallControlDestination {
TransferDestinationNumber(TransferDestinationNumber),
TransferDestinationSip(TransferDestinationSip),
}
Expand description
ServerMessagePhoneCallControlDestination : This is the destination to forward the call to if the request is "forward". This is the destination to forward the call to if the request is "forward".
Variants§
TransferDestinationNumber(TransferDestinationNumber)
TransferDestinationSip(TransferDestinationSip)
Trait Implementations§
Source§impl Clone for ServerMessagePhoneCallControlDestination
impl Clone for ServerMessagePhoneCallControlDestination
Source§fn clone(&self) -> ServerMessagePhoneCallControlDestination
fn clone(&self) -> ServerMessagePhoneCallControlDestination
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<'de> Deserialize<'de> for ServerMessagePhoneCallControlDestination
impl<'de> Deserialize<'de> for ServerMessagePhoneCallControlDestination
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 ServerMessagePhoneCallControlDestination
impl PartialEq for ServerMessagePhoneCallControlDestination
Source§fn eq(&self, other: &ServerMessagePhoneCallControlDestination) -> bool
fn eq(&self, other: &ServerMessagePhoneCallControlDestination) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ServerMessagePhoneCallControlDestination
Auto Trait Implementations§
impl Freeze for ServerMessagePhoneCallControlDestination
impl RefUnwindSafe for ServerMessagePhoneCallControlDestination
impl Send for ServerMessagePhoneCallControlDestination
impl Sync for ServerMessagePhoneCallControlDestination
impl Unpin for ServerMessagePhoneCallControlDestination
impl UnwindSafe for ServerMessagePhoneCallControlDestination
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