pub struct ApplePayEndpoints<T: HttpClient + Default> { /* private fields */ }
Implementations§
Source§impl<T: HttpClient + Default> ApplePayEndpoints<T>
impl<T: HttpClient + Default> ApplePayEndpoints<T>
Sourcepub async fn register_domain(
&self,
domain_name: String,
) -> PaystackResult<PhantomData<String>>
pub async fn register_domain( &self, domain_name: String, ) -> PaystackResult<PhantomData<String>>
Sourcepub async fn list_domains(&self) -> PaystackResult<ApplePayResponseData>
pub async fn list_domains(&self) -> PaystackResult<ApplePayResponseData>
Lists all domains registered on your integration
§Returns
A Result containing the list of registered domains or an error
Sourcepub async fn unregister_domain(
&self,
domain_name: String,
) -> PaystackResult<PhantomData<String>>
pub async fn unregister_domain( &self, domain_name: String, ) -> PaystackResult<PhantomData<String>>
Trait Implementations§
Source§impl<T: Clone + HttpClient + Default> Clone for ApplePayEndpoints<T>
impl<T: Clone + HttpClient + Default> Clone for ApplePayEndpoints<T>
Source§fn clone(&self) -> ApplePayEndpoints<T>
fn clone(&self) -> ApplePayEndpoints<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for ApplePayEndpoints<T>
impl<T> RefUnwindSafe for ApplePayEndpoints<T>where
T: RefUnwindSafe,
impl<T> Send for ApplePayEndpoints<T>where
T: Sync,
impl<T> Sync for ApplePayEndpoints<T>where
T: Sync,
impl<T> Unpin for ApplePayEndpoints<T>
impl<T> UnwindSafe for ApplePayEndpoints<T>where
T: RefUnwindSafe,
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