pub struct PcnReportLineDto {
pub account_code: String,
pub account_label_nl: String,
pub account_label_fr: String,
pub account_label_de: String,
pub account_label_en: String,
pub total_amount: f64,
pub entry_count: usize,
}Expand description
DTO for a single PCN report line
Fields§
§account_code: StringPCN account code (e.g., “611”)
account_label_nl: StringAccount label in Dutch (Nederlands - 60%)
account_label_fr: StringAccount label in French (Français - 40%)
account_label_de: StringAccount label in German (Deutsch - <1%)
account_label_en: StringAccount label in English (International)
total_amount: f64Total amount for this account
entry_count: usizeNumber of expense entries for this account
Trait Implementations§
Source§impl Debug for PcnReportLineDto
impl Debug for PcnReportLineDto
Source§impl<'de> Deserialize<'de> for PcnReportLineDto
impl<'de> Deserialize<'de> for PcnReportLineDto
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
Source§impl From<PcnReportLine> for PcnReportLineDto
impl From<PcnReportLine> for PcnReportLineDto
Source§fn from(line: PcnReportLine) -> Self
fn from(line: PcnReportLine) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PcnReportLineDto
impl RefUnwindSafe for PcnReportLineDto
impl Send for PcnReportLineDto
impl Sync for PcnReportLineDto
impl Unpin for PcnReportLineDto
impl UnwindSafe for PcnReportLineDto
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> 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 more