pub struct IncomingPaymentResource<'a> { /* private fields */ }
Implementations§
Source§impl<'a> IncomingPaymentResource<'a>
impl<'a> IncomingPaymentResource<'a>
pub async fn create( &self, resource_server_url: &str, req_body: &IncomingPaymentRequest, access_token: Option<&str>, ) -> Result<IncomingPayment>
pub async fn get( &self, payment_url: &str, access_token: Option<&str>, ) -> Result<IncomingPayment>
pub async fn complete( &self, payment_url: &str, access_token: Option<&str>, ) -> Result<IncomingPayment>
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<ListIncomingPaymentsResponse>
Auto Trait Implementations§
impl<'a> Freeze for IncomingPaymentResource<'a>
impl<'a> !RefUnwindSafe for IncomingPaymentResource<'a>
impl<'a> Send for IncomingPaymentResource<'a>
impl<'a> Sync for IncomingPaymentResource<'a>
impl<'a> Unpin for IncomingPaymentResource<'a>
impl<'a> !UnwindSafe for IncomingPaymentResource<'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