pub struct CreateSubscriptionAddInvoiceItemsPeriodEnd {
pub timestamp: Option<Timestamp>,
pub type_: CreateSubscriptionAddInvoiceItemsPeriodEndType,
}
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_: CreateSubscriptionAddInvoiceItemsPeriodEndType
Select how to calculate the end of the invoice item period.
Implementations§
Source§impl CreateSubscriptionAddInvoiceItemsPeriodEnd
impl CreateSubscriptionAddInvoiceItemsPeriodEnd
pub fn new( type_: impl Into<CreateSubscriptionAddInvoiceItemsPeriodEndType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl Clone for CreateSubscriptionAddInvoiceItemsPeriodEnd
Source§fn clone(&self) -> CreateSubscriptionAddInvoiceItemsPeriodEnd
fn clone(&self) -> CreateSubscriptionAddInvoiceItemsPeriodEnd
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 CreateSubscriptionAddInvoiceItemsPeriodEnd
Auto Trait Implementations§
impl Freeze for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl RefUnwindSafe for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl Send for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl Sync for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl Unpin for CreateSubscriptionAddInvoiceItemsPeriodEnd
impl UnwindSafe for CreateSubscriptionAddInvoiceItemsPeriodEnd
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