Structs§
- Charging
Period - A single charging period, containing a nonempty list of charge dimensions.
- Config
- The config for generating a CDR from a tariff.
- Dimension
- The volume that has been consumed for a specific dimension during a charging period.
- Partial
Cdr - A partial CDR generated by the
cdr_from_tarifffunction. - Report
- The outcome of calling
crate::cdr::generate_from_tariff.
Enums§
- Dimension
Type - The volume that has been consumed for a specific dimension during a charging period.
- Error
- Possible errors when generating a charge session.
Functions§
- cdr_
from_ tariff - Generate a CDR from a given tariff.