Struct billecta::SelfInvoiceAction
source · pub struct SelfInvoiceAction {Show 31 fields
pub action_public_id: Option<String>,
pub creditor_public_id: Uuid,
pub communication_language: LanguageType,
pub created: DateTime,
pub delivery_method: DeliveryMethodType,
pub debtor: Option<Debtor>,
pub state: Option<SelfInvoiceActionState>,
pub invoices: Vec<SelfInvoiceActionInvoice>,
pub records: Vec<SelfInvoiceActionRecord>,
pub events: Vec<SelfInvoiceActionEvent>,
pub invoice_date: DateTime,
pub due_date: DateTime,
pub delivery_date: Option<DateTime>,
pub payment_terms_in_days: i32,
pub our_reference: Option<String>,
pub crediting_self_invoice_public_id: Option<String>,
pub your_reference: Option<String>,
pub external_id: Option<String>,
pub transfer_reference: Option<String>,
pub transfer_reference_type: Option<ReferenceType>,
pub invoiced_amount: Option<Amount>,
pub interest_amount: Option<Amount>,
pub current_amount: Option<Amount>,
pub credited_amount: Option<Amount>,
pub paid_amount: Option<Amount>,
pub total_vat_amount: Option<Amount>,
pub message: Option<String>,
pub sender_payment_info: Option<SenderPaymentInfo>,
pub appendixes: Vec<File>,
pub attachments: Vec<SelfInvoiceActionAttachment>,
pub action_type: ActionType,
}
Fields§
§action_public_id: Option<String>
§creditor_public_id: Uuid
§communication_language: LanguageType
§created: DateTime
§delivery_method: DeliveryMethodType
§debtor: Option<Debtor>
§state: Option<SelfInvoiceActionState>
§invoices: Vec<SelfInvoiceActionInvoice>
§records: Vec<SelfInvoiceActionRecord>
§events: Vec<SelfInvoiceActionEvent>
§invoice_date: DateTime
§due_date: DateTime
§delivery_date: Option<DateTime>
§payment_terms_in_days: i32
§our_reference: Option<String>
§crediting_self_invoice_public_id: Option<String>
§your_reference: Option<String>
§external_id: Option<String>
§transfer_reference: Option<String>
§transfer_reference_type: Option<ReferenceType>
§invoiced_amount: Option<Amount>
§interest_amount: Option<Amount>
§current_amount: Option<Amount>
§credited_amount: Option<Amount>
§paid_amount: Option<Amount>
§total_vat_amount: Option<Amount>
§message: Option<String>
§sender_payment_info: Option<SenderPaymentInfo>
§appendixes: Vec<File>
§attachments: Vec<SelfInvoiceActionAttachment>
§action_type: ActionType
Trait Implementations§
source§impl Clone for SelfInvoiceAction
impl Clone for SelfInvoiceAction
source§fn clone(&self) -> SelfInvoiceAction
fn clone(&self) -> SelfInvoiceAction
Returns a copy 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 SelfInvoiceAction
impl Debug for SelfInvoiceAction
source§impl<'de> Deserialize<'de> for SelfInvoiceAction
impl<'de> Deserialize<'de> for SelfInvoiceAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SelfInvoiceAction
impl RefUnwindSafe for SelfInvoiceAction
impl Send for SelfInvoiceAction
impl Sync for SelfInvoiceAction
impl Unpin for SelfInvoiceAction
impl UnwindSafe for SelfInvoiceAction
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