pub struct UpdateInvoiceLineItemPeriod {
pub end: Timestamp,
pub start: Timestamp,
}
Expand description
The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have Stripe Revenue Recognition enabled, the period will be used to recognize and defer revenue. See the Revenue Recognition documentation for details.
Fields§
§end: Timestamp
The end of the period, which must be greater than or equal to the start. This value is inclusive.
start: Timestamp
The start of the period. This value is inclusive.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInvoiceLineItemPeriod
impl Clone for UpdateInvoiceLineItemPeriod
Source§fn clone(&self) -> UpdateInvoiceLineItemPeriod
fn clone(&self) -> UpdateInvoiceLineItemPeriod
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 UpdateInvoiceLineItemPeriod
impl Debug for UpdateInvoiceLineItemPeriod
impl Copy for UpdateInvoiceLineItemPeriod
Auto Trait Implementations§
impl Freeze for UpdateInvoiceLineItemPeriod
impl RefUnwindSafe for UpdateInvoiceLineItemPeriod
impl Send for UpdateInvoiceLineItemPeriod
impl Sync for UpdateInvoiceLineItemPeriod
impl Unpin for UpdateInvoiceLineItemPeriod
impl UnwindSafe for UpdateInvoiceLineItemPeriod
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