pub struct GetWalletApprovalOptions<'a> { /* private fields */ }Expand description
Builder for [Client::get_wallet_approval_options]
[`Client::get_wallet_approval_options`]: super::Client::get_wallet_approval_optionsImplementations§
Source§impl<'a> GetWalletApprovalOptions<'a>
impl<'a> GetWalletApprovalOptions<'a>
pub fn new(client: &'a Client) -> Self
pub fn mandate_id<V>(self, value: V) -> Self
pub fn addresses<V>(self, value: V) -> Self
pub fn asset<V>(self, value: V) -> Self
pub fn network<V>(self, value: V) -> Selfwhere
V: TryInto<PaymentSourceNetwork>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<WalletMandateApprovalOptionsResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<WalletMandateApprovalOptionsResponse>, Error<Error>>
Sends a GET request to /v2/mandates/{mandateId}/approvals/wallet/options
Trait Implementations§
Source§impl<'a> Clone for GetWalletApprovalOptions<'a>
impl<'a> Clone for GetWalletApprovalOptions<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetWalletApprovalOptions<'a>
impl<'a> !UnwindSafe for GetWalletApprovalOptions<'a>
impl<'a> Freeze for GetWalletApprovalOptions<'a>
impl<'a> Send for GetWalletApprovalOptions<'a>
impl<'a> Sync for GetWalletApprovalOptions<'a>
impl<'a> Unpin for GetWalletApprovalOptions<'a>
impl<'a> UnsafeUnpin for GetWalletApprovalOptions<'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