pub struct ListIncomingPhoneNumberParams {
pub account_sid: String,
pub beta: Option<bool>,
pub friendly_name: Option<String>,
pub phone_number: Option<String>,
pub origin: Option<String>,
pub page_size: Option<i32>,
pub page: Option<i32>,
pub page_token: Option<String>,
}
Expand description
struct for passing parameters to the method list_incoming_phone_number
Fields§
§account_sid: String
The SID of the Account that created the IncomingPhoneNumber resources to read.
beta: Option<bool>
Whether to include phone numbers new to the Twilio platform. Can be: true
or false
and the default is true
.
friendly_name: Option<String>
A string that identifies the IncomingPhoneNumber resources to read.
phone_number: Option<String>
The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use ‘*’ as a wildcard for any digit.
origin: Option<String>
Whether to include phone numbers based on their origin. Can be: twilio
or hosted
. By default, phone numbers of all origin are included.
page_size: Option<i32>
How many resources to return in each list page. The default is 50, and the maximum is 1000.
page: Option<i32>
The page index. This value is simply for client state.
page_token: Option<String>
The page token. This is provided by the API.
Trait Implementations§
Source§impl Clone for ListIncomingPhoneNumberParams
impl Clone for ListIncomingPhoneNumberParams
Source§fn clone(&self) -> ListIncomingPhoneNumberParams
fn clone(&self) -> ListIncomingPhoneNumberParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more