pub enum PhoneNumberControllerCreateRequest {
ByoPhoneNumber(CreateByoPhoneNumberDto),
Twilio(CreateTwilioPhoneNumberDto),
Vonage(CreateVonagePhoneNumberDto),
Vapi(CreateVapiPhoneNumberDto),
Telnyx(CreateTelnyxPhoneNumberDto),
}
Variants§
ByoPhoneNumber(CreateByoPhoneNumberDto)
Twilio(CreateTwilioPhoneNumberDto)
Vonage(CreateVonagePhoneNumberDto)
Vapi(CreateVapiPhoneNumberDto)
Telnyx(CreateTelnyxPhoneNumberDto)
Trait Implementations§
Source§impl Clone for PhoneNumberControllerCreateRequest
impl Clone for PhoneNumberControllerCreateRequest
Source§fn clone(&self) -> PhoneNumberControllerCreateRequest
fn clone(&self) -> PhoneNumberControllerCreateRequest
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 PhoneNumberControllerCreateRequest
impl<'de> Deserialize<'de> for PhoneNumberControllerCreateRequest
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 PhoneNumberControllerCreateRequest
impl PartialEq for PhoneNumberControllerCreateRequest
Source§fn eq(&self, other: &PhoneNumberControllerCreateRequest) -> bool
fn eq(&self, other: &PhoneNumberControllerCreateRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhoneNumberControllerCreateRequest
Auto Trait Implementations§
impl Freeze for PhoneNumberControllerCreateRequest
impl RefUnwindSafe for PhoneNumberControllerCreateRequest
impl Send for PhoneNumberControllerCreateRequest
impl Sync for PhoneNumberControllerCreateRequest
impl Unpin for PhoneNumberControllerCreateRequest
impl UnwindSafe for PhoneNumberControllerCreateRequest
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