pub struct ListIncomingPhoneNumberMobileParams {
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_mobile
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 ListIncomingPhoneNumberMobileParams
impl Clone for ListIncomingPhoneNumberMobileParams
Source§fn clone(&self) -> ListIncomingPhoneNumberMobileParams
fn clone(&self) -> ListIncomingPhoneNumberMobileParams
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 moreAuto Trait Implementations§
impl Freeze for ListIncomingPhoneNumberMobileParams
impl RefUnwindSafe for ListIncomingPhoneNumberMobileParams
impl Send for ListIncomingPhoneNumberMobileParams
impl Sync for ListIncomingPhoneNumberMobileParams
impl Unpin for ListIncomingPhoneNumberMobileParams
impl UnwindSafe for ListIncomingPhoneNumberMobileParams
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