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