pub struct InstallmentPlan {
pub initial_committed_payments_count: Option<i32>,
pub pending_cancellation: Option<PendingCancellation>,
pub remaining_committed_payments_count: Option<i32>,
pub subsequent_committed_payments_count: Option<i32>,
}Expand description
Information to a installment plan.
This type is not used in any activity, and only used as part of another schema.
Fields§
§initial_committed_payments_count: Option<i32>Total number of payments the user is initially committed for.
pending_cancellation: Option<PendingCancellation>If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments.
remaining_committed_payments_count: Option<i32>Total number of committed payments remaining to be paid for in this renewal cycle.
subsequent_committed_payments_count: Option<i32>Total number of payments the user will be committed for after each commitment period. Empty means the installment plan will fall back to a normal auto-renew subscription after initial commitment.
Trait Implementations§
Source§impl Clone for InstallmentPlan
impl Clone for InstallmentPlan
Source§fn clone(&self) -> InstallmentPlan
fn clone(&self) -> InstallmentPlan
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 InstallmentPlan
impl Debug for InstallmentPlan
Source§impl Default for InstallmentPlan
impl Default for InstallmentPlan
Source§fn default() -> InstallmentPlan
fn default() -> InstallmentPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallmentPlan
impl<'de> Deserialize<'de> for InstallmentPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InstallmentPlan
impl Serialize for InstallmentPlan
impl Part for InstallmentPlan
Auto Trait Implementations§
impl Freeze for InstallmentPlan
impl RefUnwindSafe for InstallmentPlan
impl Send for InstallmentPlan
impl Sync for InstallmentPlan
impl Unpin for InstallmentPlan
impl UnwindSafe for InstallmentPlan
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