pub struct ListCustomers<'a> { /* private fields */ }Expand description
Builder for [Client::list_customers]
[`Client::list_customers`]: super::Client::list_customersImplementations§
Source§impl<'a> ListCustomers<'a>
impl<'a> ListCustomers<'a>
pub fn new(client: &'a Client) -> Self
pub fn page_size<V>(self, value: V) -> Self
pub fn page_token<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListCustomersResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<ListCustomersResponse>, Error<Error>>
Sends a GET request to /v2/customers
Trait Implementations§
Source§impl<'a> Clone for ListCustomers<'a>
impl<'a> Clone for ListCustomers<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ListCustomers<'a>
impl<'a> !UnwindSafe for ListCustomers<'a>
impl<'a> Freeze for ListCustomers<'a>
impl<'a> Send for ListCustomers<'a>
impl<'a> Sync for ListCustomers<'a>
impl<'a> Unpin for ListCustomers<'a>
impl<'a> UnsafeUnpin for ListCustomers<'a>
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