pub struct UpdateBalanceSettings { /* private fields */ }
Expand description
Updates balance settings for a given connected account. Related guide: Making API calls for connected accounts
Implementations§
Source§impl UpdateBalanceSettings
impl UpdateBalanceSettings
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn payments(
self,
payments: impl Into<UpdateBalanceSettingsPayments>,
) -> Self
pub fn payments( self, payments: impl Into<UpdateBalanceSettingsPayments>, ) -> Self
Settings that apply to the Payments Balance.
Source§impl UpdateBalanceSettings
impl UpdateBalanceSettings
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 UpdateBalanceSettings
impl Clone for UpdateBalanceSettings
Source§fn clone(&self) -> UpdateBalanceSettings
fn clone(&self) -> UpdateBalanceSettings
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 UpdateBalanceSettings
impl Debug for UpdateBalanceSettings
Source§impl Default for UpdateBalanceSettings
impl Default for UpdateBalanceSettings
Source§impl Serialize for UpdateBalanceSettings
impl Serialize for UpdateBalanceSettings
Source§impl StripeRequest for UpdateBalanceSettings
impl StripeRequest for UpdateBalanceSettings
Source§type Output = BalanceSettings
type Output = BalanceSettings
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 UpdateBalanceSettings
impl RefUnwindSafe for UpdateBalanceSettings
impl Send for UpdateBalanceSettings
impl Sync for UpdateBalanceSettings
impl Unpin for UpdateBalanceSettings
impl UnwindSafe for UpdateBalanceSettings
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