Struct billecta::AccountingRecord
source · pub struct AccountingRecord {Show 15 fields
pub transaction_date: DateTime,
pub amount: Option<Amount>,
pub project: Option<String>,
pub cost_center: Option<String>,
pub product_public_id: Option<Uuid>,
pub period_end: Option<DateTime>,
pub period_start: Option<DateTime>,
pub r_type: AccountingRecordType,
pub created: DateTime,
pub vat: f64,
pub invoice_number: Option<String>,
pub action_public_id: Option<String>,
pub reference_id: Option<String>,
pub override_trade_debt_account: Option<String>,
pub override_account: Option<String>,
}
Fields§
§transaction_date: DateTime
§amount: Option<Amount>
§project: Option<String>
§cost_center: Option<String>
§product_public_id: Option<Uuid>
§period_end: Option<DateTime>
§period_start: Option<DateTime>
§r_type: AccountingRecordType
§created: DateTime
§vat: f64
§invoice_number: Option<String>
§action_public_id: Option<String>
§reference_id: Option<String>
§override_trade_debt_account: Option<String>
§override_account: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for AccountingRecord
impl Clone for AccountingRecord
source§fn clone(&self) -> AccountingRecord
fn clone(&self) -> AccountingRecord
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 AccountingRecord
impl Debug for AccountingRecord
source§impl<'de> Deserialize<'de> for AccountingRecord
impl<'de> Deserialize<'de> for AccountingRecord
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 AccountingRecord
impl RefUnwindSafe for AccountingRecord
impl Send for AccountingRecord
impl Sync for AccountingRecord
impl Unpin for AccountingRecord
impl UnwindSafe for AccountingRecord
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