pub struct AnnualReportExporter;Expand description
Annual Financial Report Exporter - Generates PDF for Rapport Financier Annuel
Generates comprehensive annual financial reports with expense breakdowns.
Implementations§
Source§impl AnnualReportExporter
impl AnnualReportExporter
Sourcepub fn export_to_pdf(
building: &Building,
year: i32,
expenses: &[Expense],
budget_items: &[BudgetItem],
total_income: f64,
reserve_fund: f64,
) -> Result<Vec<u8>, String>
pub fn export_to_pdf( building: &Building, year: i32, expenses: &[Expense], budget_items: &[BudgetItem], total_income: f64, reserve_fund: f64, ) -> Result<Vec<u8>, String>
Export annual financial report to PDF bytes
Generates a Rapport Financier Annuel including:
- Building information
- Year summary
- Income breakdown (charges paid)
- Expense breakdown by category
- Budget vs actual
- Reserve fund status
Auto Trait Implementations§
impl Freeze for AnnualReportExporter
impl RefUnwindSafe for AnnualReportExporter
impl Send for AnnualReportExporter
impl Sync for AnnualReportExporter
impl Unpin for AnnualReportExporter
impl UnwindSafe for AnnualReportExporter
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<T> Chain<T> for T
impl<T> Chain<T> for T
§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.