pub struct ListMandates<'a> { /* private fields */ }Expand description
Builder for [Client::list_mandates]
[`Client::list_mandates`]: super::Client::list_mandatesImplementations§
Source§impl<'a> ListMandates<'a>
impl<'a> ListMandates<'a>
pub fn new(client: &'a Client) -> Self
pub fn address<V>(self, value: V) -> Selfwhere
V: TryInto<BlockchainAddress>,
pub fn network<V>(self, value: V) -> Selfwhere
V: TryInto<PaymentSourceNetwork>,
pub fn page_size<V>(self, value: V) -> Self
pub fn page_token<V>(self, value: V) -> Self
pub fn status<V>(self, value: V) -> Selfwhere
V: TryInto<MandateStatus>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListMandatesResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<ListMandatesResponse>, Error<Error>>
Sends a GET request to /v2/mandates
Trait Implementations§
Source§impl<'a> Clone for ListMandates<'a>
impl<'a> Clone for ListMandates<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ListMandates<'a>
impl<'a> !UnwindSafe for ListMandates<'a>
impl<'a> Freeze for ListMandates<'a>
impl<'a> Send for ListMandates<'a>
impl<'a> Sync for ListMandates<'a>
impl<'a> Unpin for ListMandates<'a>
impl<'a> UnsafeUnpin for ListMandates<'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