pub struct OutgoingPaymentResource<'a> { /* private fields */ }
Implementations§
Source§impl<'a> OutgoingPaymentResource<'a>
impl<'a> OutgoingPaymentResource<'a>
pub async fn create( &self, resource_server_url: &str, req_body: &OutgoingPaymentRequest, access_token: Option<&str>, ) -> Result<OutgoingPayment>
pub async fn list( &self, resource_server_url: &str, wallet_address: &str, cursor: Option<&str>, first: Option<u32>, last: Option<u32>, access_token: Option<&str>, ) -> Result<ListOutgoingPaymentsResponse>
pub async fn get( &self, payment_url: &str, access_token: Option<&str>, ) -> Result<OutgoingPayment>
Auto Trait Implementations§
impl<'a> Freeze for OutgoingPaymentResource<'a>
impl<'a> !RefUnwindSafe for OutgoingPaymentResource<'a>
impl<'a> Send for OutgoingPaymentResource<'a>
impl<'a> Sync for OutgoingPaymentResource<'a>
impl<'a> Unpin for OutgoingPaymentResource<'a>
impl<'a> !UnwindSafe for OutgoingPaymentResource<'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