pub struct GetPhoneNumberDetailsResponse {
    pub assignee: Option<Assignee>,
    pub capability: Vec<String>,
    pub carrier: Option<GetPhoneNumberDetailsResponseCarrier>,
    pub display_name: String,
    pub id: String,
    pub location: String,
    pub number: String,
    pub number_type: Option<Type>,
    pub sip_group: Option<AddCommonAreaPhoneResponse>,
    pub site: Option<Site>,
    pub source: Option<Source>,
    pub status: Option<ListAccountPhoneNumbersResponseStatus>,
}

Fields

assignee: Option<Assignee>capability: Vec<String>

Specify the IP addresses of the Room Connectors that you would like to share with the sub account. Multiple values can be separated by comma. If no value is provided in this field, all the Room Connectors of a master account will be shared with the sub account.

**Note:** This option can only be used if the value of share_rc is set to true.

carrier: Option<GetPhoneNumberDetailsResponseCarrier>display_name: String

User’s first name.

id: String

User’s first name.

location: String

User’s first name.

number: String

User’s first name.

number_type: Option<Type>

Type of number.

sip_group: Option<AddCommonAreaPhoneResponse>site: Option<Site>source: Option<Source>

Source of phone number.

status: Option<ListAccountPhoneNumbersResponseStatus>

Status of the number.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more