pub struct UpdatePaymentMethodDomain { /* private fields */ }Expand description
Updates an existing payment method domain.
Implementations§
Source§impl UpdatePaymentMethodDomain
impl UpdatePaymentMethodDomain
Sourcepub fn new(payment_method_domain: impl Into<PaymentMethodDomainId>) -> Self
pub fn new(payment_method_domain: impl Into<PaymentMethodDomainId>) -> Self
Construct a new UpdatePaymentMethodDomain.
Source§impl UpdatePaymentMethodDomain
impl UpdatePaymentMethodDomain
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 UpdatePaymentMethodDomain
impl Clone for UpdatePaymentMethodDomain
Source§fn clone(&self) -> UpdatePaymentMethodDomain
fn clone(&self) -> UpdatePaymentMethodDomain
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 UpdatePaymentMethodDomain
impl Debug for UpdatePaymentMethodDomain
Source§impl StripeRequest for UpdatePaymentMethodDomain
impl StripeRequest for UpdatePaymentMethodDomain
Source§type Output = PaymentMethodDomain
type Output = PaymentMethodDomain
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 UpdatePaymentMethodDomain
impl RefUnwindSafe for UpdatePaymentMethodDomain
impl Send for UpdatePaymentMethodDomain
impl Sync for UpdatePaymentMethodDomain
impl Unpin for UpdatePaymentMethodDomain
impl UnsafeUnpin for UpdatePaymentMethodDomain
impl UnwindSafe for UpdatePaymentMethodDomain
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