pub struct PhoneNumberPaginatedResponse {
pub results: Vec<PhoneNumberPaginatedResponseResultsInner>,
pub metadata: PaginationMeta,
}
Fields§
§results: Vec<PhoneNumberPaginatedResponseResultsInner>
A list of phone numbers, which can be of any provider type.
metadata: PaginationMeta
Metadata about the pagination.
Implementations§
Source§impl PhoneNumberPaginatedResponse
impl PhoneNumberPaginatedResponse
pub fn new( results: Vec<PhoneNumberPaginatedResponseResultsInner>, metadata: PaginationMeta, ) -> PhoneNumberPaginatedResponse
Trait Implementations§
Source§impl Clone for PhoneNumberPaginatedResponse
impl Clone for PhoneNumberPaginatedResponse
Source§fn clone(&self) -> PhoneNumberPaginatedResponse
fn clone(&self) -> PhoneNumberPaginatedResponse
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 PhoneNumberPaginatedResponse
impl Debug for PhoneNumberPaginatedResponse
Source§impl Default for PhoneNumberPaginatedResponse
impl Default for PhoneNumberPaginatedResponse
Source§fn default() -> PhoneNumberPaginatedResponse
fn default() -> PhoneNumberPaginatedResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhoneNumberPaginatedResponse
impl<'de> Deserialize<'de> for PhoneNumberPaginatedResponse
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 PartialEq for PhoneNumberPaginatedResponse
impl PartialEq for PhoneNumberPaginatedResponse
Source§fn eq(&self, other: &PhoneNumberPaginatedResponse) -> bool
fn eq(&self, other: &PhoneNumberPaginatedResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhoneNumberPaginatedResponse
Auto Trait Implementations§
impl Freeze for PhoneNumberPaginatedResponse
impl RefUnwindSafe for PhoneNumberPaginatedResponse
impl Send for PhoneNumberPaginatedResponse
impl Sync for PhoneNumberPaginatedResponse
impl Unpin for PhoneNumberPaginatedResponse
impl UnwindSafe for PhoneNumberPaginatedResponse
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