pub struct ListIncomingPhoneNumberLocalParams {
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_local
Fields§
§account_sid: String
The SID of the Account that created the 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 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 ListIncomingPhoneNumberLocalParams
impl Clone for ListIncomingPhoneNumberLocalParams
Source§fn clone(&self) -> ListIncomingPhoneNumberLocalParams
fn clone(&self) -> ListIncomingPhoneNumberLocalParams
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ListIncomingPhoneNumberLocalParams
impl RefUnwindSafe for ListIncomingPhoneNumberLocalParams
impl Send for ListIncomingPhoneNumberLocalParams
impl Sync for ListIncomingPhoneNumberLocalParams
impl Unpin for ListIncomingPhoneNumberLocalParams
impl UnwindSafe for ListIncomingPhoneNumberLocalParams
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