pub struct RetrieveSubscription { /* private fields */ }
Expand description
Retrieves the subscription with the given ID.
Implementations§
Source§impl RetrieveSubscription
impl RetrieveSubscription
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for RetrieveSubscription
impl Clone for RetrieveSubscription
Source§fn clone(&self) -> RetrieveSubscription
fn clone(&self) -> RetrieveSubscription
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 moreSource§impl Debug for RetrieveSubscription
impl Debug for RetrieveSubscription
Source§impl Serialize for RetrieveSubscription
impl Serialize for RetrieveSubscription
Source§impl StripeRequest for RetrieveSubscription
impl StripeRequest for RetrieveSubscription
Source§type Output = Subscription
type Output = Subscription
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for RetrieveSubscription
impl RefUnwindSafe for RetrieveSubscription
impl Send for RetrieveSubscription
impl Sync for RetrieveSubscription
impl Unpin for RetrieveSubscription
impl UnwindSafe for RetrieveSubscription
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