pub struct ARReceiptBatch {
pub batch_id: String,
pub company_code: String,
pub batch_date: NaiveDate,
pub receipts: Vec<ARReceipt>,
pub total_amount: Decimal,
pub status: BatchStatus,
pub created_by: String,
pub created_at: DateTime<Utc>,
}Expand description
Batch of receipts for processing.
Fields§
§batch_id: StringBatch ID.
company_code: StringCompany code.
batch_date: NaiveDateBatch date.
receipts: Vec<ARReceipt>Receipts in batch.
total_amount: DecimalTotal batch amount.
status: BatchStatusBatch status.
created_by: StringCreated by.
created_at: DateTime<Utc>Created at.
Implementations§
Trait Implementations§
Source§impl Clone for ARReceiptBatch
impl Clone for ARReceiptBatch
Source§fn clone(&self) -> ARReceiptBatch
fn clone(&self) -> ARReceiptBatch
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 ARReceiptBatch
impl Debug for ARReceiptBatch
Source§impl<'de> Deserialize<'de> for ARReceiptBatch
impl<'de> Deserialize<'de> for ARReceiptBatch
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 ARReceiptBatch
impl RefUnwindSafe for ARReceiptBatch
impl Send for ARReceiptBatch
impl Sync for ARReceiptBatch
impl Unpin for ARReceiptBatch
impl UnwindSafe for ARReceiptBatch
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