pub struct CreateSipPhoneRequest {Show 16 fields
pub authorization_name: String,
pub domain: String,
pub password: String,
pub proxy_server: String,
pub proxy_server_2: String,
pub proxy_server_3: String,
pub register_server: String,
pub register_server_2: String,
pub register_server_3: String,
pub registration_expire_time: i64,
pub transport_protocol: Option<TransportProtocol>,
pub transport_protocol_2: Option<TransportProtocol>,
pub transport_protocol_3: Option<TransportProtocol>,
pub user_email: String,
pub user_name: String,
pub voice_mail: String,
}
Fields§
User’s first name.
domain: String
User’s first name.
password: String
User’s first name.
proxy_server: String
User’s first name.
proxy_server_2: String
User’s first name.
proxy_server_3: String
User’s first name.
register_server: String
User’s first name.
register_server_2: String
User’s first name.
register_server_3: String
User’s first name.
registration_expire_time: i64
Account seats.
transport_protocol: Option<TransportProtocol>
Protocols supported by the SIP provider.
The value must be either UDP
, TCP
, TLS
, AUTO
.
transport_protocol_2: Option<TransportProtocol>
Protocols supported by the SIP provider.
The value must be either UDP
, TCP
, TLS
, AUTO
.
transport_protocol_3: Option<TransportProtocol>
Protocols supported by the SIP provider.
The value must be either UDP
, TCP
, TLS
, AUTO
.
user_email: String
User’s first name.
user_name: String
User’s first name.
voice_mail: String
User’s first name.
Trait Implementations§
Source§impl Clone for CreateSipPhoneRequest
impl Clone for CreateSipPhoneRequest
Source§fn clone(&self) -> CreateSipPhoneRequest
fn clone(&self) -> CreateSipPhoneRequest
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 Debug for CreateSipPhoneRequest
impl Debug for CreateSipPhoneRequest
Source§impl<'de> Deserialize<'de> for CreateSipPhoneRequest
impl<'de> Deserialize<'de> for CreateSipPhoneRequest
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 JsonSchema for CreateSipPhoneRequest
impl JsonSchema for CreateSipPhoneRequest
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for CreateSipPhoneRequest
impl PartialEq for CreateSipPhoneRequest
Source§impl Serialize for CreateSipPhoneRequest
impl Serialize for CreateSipPhoneRequest
impl StructuralPartialEq for CreateSipPhoneRequest
Auto Trait Implementations§
impl Freeze for CreateSipPhoneRequest
impl RefUnwindSafe for CreateSipPhoneRequest
impl Send for CreateSipPhoneRequest
impl Sync for CreateSipPhoneRequest
impl Unpin for CreateSipPhoneRequest
impl UnwindSafe for CreateSipPhoneRequest
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