pub struct ExpenseResponseDto {Show 18 fields
pub id: String,
pub acp_id: String,
pub building_id: String,
pub category: ExpenseCategory,
pub description: String,
pub amount: Decimal,
pub expense_date: String,
pub payment_status: PaymentStatus,
pub approval_status: ApprovalStatus,
pub supplier: Option<String>,
pub invoice_number: Option<String>,
pub account_code: Option<String>,
pub contractor_report_id: Option<String>,
pub due_date: Option<String>,
pub amount_excl_vat: Option<Decimal>,
pub vat_rate: Option<Decimal>,
pub vat_amount: Option<Decimal>,
pub amount_incl_vat: Option<Decimal>,
}Fields§
§id: String§acp_id: StringACP propriétaire de la charge — clé de rattachement patrimonial. Suit la copropriété lors des passations de syndic.
building_id: String§category: ExpenseCategory§description: String§amount: Decimal§expense_date: String§payment_status: PaymentStatus§approval_status: ApprovalStatus§supplier: Option<String>§invoice_number: Option<String>§account_code: Option<String>Belgian PCMN account code if linked to chart of accounts
contractor_report_id: Option<String>Contractor report reference for Works category (Issue #309)
due_date: Option<String>Échéance de règlement fournisseur (ISO 8601).
amount_excl_vat: Option<Decimal>Montant hors TVA.
vat_rate: Option<Decimal>Taux de TVA en POURCENTAGE (21.0 pour 21 %).
vat_amount: Option<Decimal>Montant de TVA.
amount_incl_vat: Option<Decimal>Montant TVA comprise.
Trait Implementations§
Source§impl ComposeSchema for ExpenseResponseDto
impl ComposeSchema for ExpenseResponseDto
Source§impl Debug for ExpenseResponseDto
impl Debug for ExpenseResponseDto
Source§impl Serialize for ExpenseResponseDto
impl Serialize for ExpenseResponseDto
Auto Trait Implementations§
impl Freeze for ExpenseResponseDto
impl RefUnwindSafe for ExpenseResponseDto
impl Send for ExpenseResponseDto
impl Sync for ExpenseResponseDto
impl Unpin for ExpenseResponseDto
impl UnsafeUnpin for ExpenseResponseDto
impl UnwindSafe for ExpenseResponseDto
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.