pub struct RetrieveExchangeRate { /* private fields */ }Expand description
[Deprecated] The ExchangeRate APIs are deprecated.
Please use the FX Quotes API instead.
Retrieves the exchange rates from the given currency to every supported currency.
Implementations§
Source§impl RetrieveExchangeRate
impl RetrieveExchangeRate
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 RetrieveExchangeRate
impl Clone for RetrieveExchangeRate
Source§fn clone(&self) -> RetrieveExchangeRate
fn clone(&self) -> RetrieveExchangeRate
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 RetrieveExchangeRate
impl Debug for RetrieveExchangeRate
Source§impl Serialize for RetrieveExchangeRate
impl Serialize for RetrieveExchangeRate
Source§impl StripeRequest for RetrieveExchangeRate
impl StripeRequest for RetrieveExchangeRate
Source§type Output = ExchangeRate
type Output = ExchangeRate
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 RetrieveExchangeRate
impl RefUnwindSafe for RetrieveExchangeRate
impl Send for RetrieveExchangeRate
impl Sync for RetrieveExchangeRate
impl Unpin for RetrieveExchangeRate
impl UnwindSafe for RetrieveExchangeRate
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