pub struct SubscriptionTransferData {
pub amount_percent: Option<f64>,
pub destination: Expandable<Account>,
}
Fields§
§amount_percent: Option<f64>
A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
destination: Expandable<Account>
The account where funds from the payment will be transferred to upon payment success.
Trait Implementations§
Source§impl Clone for SubscriptionTransferData
impl Clone for SubscriptionTransferData
Source§fn clone(&self) -> SubscriptionTransferData
fn clone(&self) -> SubscriptionTransferData
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 SubscriptionTransferData
impl Debug for SubscriptionTransferData
Source§impl FromValueOpt for SubscriptionTransferData
impl FromValueOpt for SubscriptionTransferData
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SubscriptionTransferData
impl RefUnwindSafe for SubscriptionTransferData
impl Send for SubscriptionTransferData
impl Sync for SubscriptionTransferData
impl Unpin for SubscriptionTransferData
impl UnwindSafe for SubscriptionTransferData
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