pub struct UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod {
pub end: UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodEnd,
pub start: UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodStart,
}
Expand description
The period associated with this invoice item.
If not set, period.start.type
defaults to max_item_period_start
and period.end.type
defaults to min_item_period_end
.
Fields§
§end: UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodEnd
End of the invoice item period.
start: UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodStart
Start of the invoice item period.
Implementations§
Source§impl UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
pub fn new( end: impl Into<UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodEnd>, start: impl Into<UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriodStart>, ) -> Self
Trait Implementations§
Source§impl Clone for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl Clone for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
Source§fn clone(&self) -> UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
fn clone(&self) -> UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
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 moreimpl Copy for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl RefUnwindSafe for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl Send for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl Sync for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl Unpin for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
impl UnwindSafe for UpdateSubscriptionSchedulePhasesAddInvoiceItemsPeriod
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