pub struct Nop {}
Trait Implementations§
Source§impl AppStoreClient for Nop
impl AppStoreClient for Nop
fn get_sub_status<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_config: &'life1 AppleConfig,
_original_transaction_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(LastTransactionItem, TransactionInfo), ServerError<UpgradeAccountAppStoreError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl GooglePlayClient for Nop
impl GooglePlayClient for Nop
fn acknowledge_subscription<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_config: &'life1 Config,
_purchase_token: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SimpleGCPError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn cancel_subscription<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_config: &'life1 Config,
_purchase_token: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SimpleGCPError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_subscription<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_config: &'life1 Config,
_purchase_token: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionPurchase, SimpleGCPError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl StripeClient for Nop
impl StripeClient for Nop
fn create_customer<'life0, 'async_trait>(
&'life0 self,
_customer_name: String,
_payment_method_id: PaymentMethodId,
) -> Pin<Box<dyn Future<Output = Result<Customer, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_payment_method<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_card_number: &'life1 str,
_exp_month: i32,
_exp_year: i32,
_cvc: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<PaymentMethod, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_setup_intent<'life0, 'async_trait>(
&'life0 self,
_customer_id: CustomerId,
_payment_method_id: PaymentMethodId,
) -> Pin<Box<dyn Future<Output = Result<SetupIntent, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_subscription<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_customer_id: CustomerId,
_payment_method_id: &'life1 str,
_price_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Subscription, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn detach_payment_method_from_customer<'life0, 'life1, 'async_trait>(
&'life0 self,
_payment_method_id: &'life1 PaymentMethodId,
) -> Pin<Box<dyn Future<Output = Result<(), SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn cancel_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
_subscription_id: &'life1 SubscriptionId,
) -> Pin<Box<dyn Future<Output = Result<(), SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
_subscription_id: &'life1 SubscriptionId,
) -> Pin<Box<dyn Future<Output = Result<Subscription, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn retrieve_invoice<'life0, 'life1, 'async_trait>(
&'life0 self,
_invoice_id: &'life1 InvoiceId,
) -> Pin<Box<dyn Future<Output = Result<Invoice, SimplifiedStripeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for Nop
impl RefUnwindSafe for Nop
impl Send for Nop
impl Sync for Nop
impl Unpin for Nop
impl UnwindSafe for Nop
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more