pub struct CloseMonthReport {
pub period_id: Uuid,
pub period_name: String,
pub dry_run: bool,
pub depreciation: CloseMonthStepReport,
pub revenue_recognition: CloseMonthStepReport,
pub fx_revaluation: CloseMonthStepReport,
pub period_close: CloseMonthStepReport,
pub closing_entry: Option<JournalEntry>,
pub period_status: PeriodStatus,
}Expand description
Report returned by the month-end close orchestration.
Fields§
§period_id: UuidPeriod that was closed (or evaluated in dry-run mode).
period_name: StringDenormalized period name.
dry_run: boolWhether this was a dry run (nothing was written).
depreciation: CloseMonthStepReportStep 1: scheduled fixed-asset depreciation due through period end.
revenue_recognition: CloseMonthStepReportStep 2: deferred revenue recognized through period end.
fx_revaluation: CloseMonthStepReportStep 3: FX revaluation of foreign-currency accounts as of period end.
period_close: CloseMonthStepReportStep 4: closing entries + close period.
closing_entry: Option<JournalEntry>The posted closing entry; None for dry runs, skipped closes, or a
period with nothing to close.
period_status: PeriodStatusPeriod status after the run (Closed after a real close).
Trait Implementations§
Source§impl Clone for CloseMonthReport
impl Clone for CloseMonthReport
Source§fn clone(&self) -> CloseMonthReport
fn clone(&self) -> CloseMonthReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloseMonthReport
impl Debug for CloseMonthReport
Source§impl<'de> Deserialize<'de> for CloseMonthReport
impl<'de> Deserialize<'de> for CloseMonthReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CloseMonthReport
impl Serialize for CloseMonthReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CloseMonthReport
impl RefUnwindSafe for CloseMonthReport
impl Send for CloseMonthReport
impl Sync for CloseMonthReport
impl Unpin for CloseMonthReport
impl UnsafeUnpin for CloseMonthReport
impl UnwindSafe for CloseMonthReport
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