pub struct UpdateSubscriptionAddInvoiceItemsPeriodEnd {
pub timestamp: Option<Timestamp>,
pub type_: UpdateSubscriptionAddInvoiceItemsPeriodEndType,
}
Expand description
End of the invoice item period.
Fields§
§timestamp: Option<Timestamp>
A precise Unix timestamp for the end of the invoice item period.
Must be greater than or equal to period.start
.
type_: UpdateSubscriptionAddInvoiceItemsPeriodEndType
Select how to calculate the end of the invoice item period.
Implementations§
Source§impl UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl UpdateSubscriptionAddInvoiceItemsPeriodEnd
pub fn new( type_: impl Into<UpdateSubscriptionAddInvoiceItemsPeriodEndType>, ) -> Self
Trait Implementations§
Source§impl Clone for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl Clone for UpdateSubscriptionAddInvoiceItemsPeriodEnd
Source§fn clone(&self) -> UpdateSubscriptionAddInvoiceItemsPeriodEnd
fn clone(&self) -> UpdateSubscriptionAddInvoiceItemsPeriodEnd
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 UpdateSubscriptionAddInvoiceItemsPeriodEnd
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl RefUnwindSafe for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl Send for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl Sync for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl Unpin for UpdateSubscriptionAddInvoiceItemsPeriodEnd
impl UnwindSafe for UpdateSubscriptionAddInvoiceItemsPeriodEnd
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