pub struct CreateInvoiceFromInvoice {
pub action: CreateInvoiceFromInvoiceAction,
pub invoice: String,
}
Expand description
Revise an existing invoice.
The new invoice will be created in status=draft
.
See the revision documentation for more details.
Fields§
§action: CreateInvoiceFromInvoiceAction
The relation between the new invoice and the original invoice. Currently, only ‘revision’ is permitted.
invoice: String
The id
of the invoice that will be cloned.
Implementations§
Trait Implementations§
Source§impl Clone for CreateInvoiceFromInvoice
impl Clone for CreateInvoiceFromInvoice
Source§fn clone(&self) -> CreateInvoiceFromInvoice
fn clone(&self) -> CreateInvoiceFromInvoice
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 CreateInvoiceFromInvoice
impl Debug for CreateInvoiceFromInvoice
Auto Trait Implementations§
impl Freeze for CreateInvoiceFromInvoice
impl RefUnwindSafe for CreateInvoiceFromInvoice
impl Send for CreateInvoiceFromInvoice
impl Sync for CreateInvoiceFromInvoice
impl Unpin for CreateInvoiceFromInvoice
impl UnwindSafe for CreateInvoiceFromInvoice
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