pub struct CloseMonthStepReport {
pub status: CloseMonthStepStatus,
pub entry_count: u64,
pub total_amount: Decimal,
pub warnings: Vec<String>,
}Expand description
Per-step detail of a month-end close run.
Fields§
§status: CloseMonthStepStatusWhether the step executed, was skipped, or ran in dry-run mode.
entry_count: u64Number of entries posted (or that would be posted in a dry run): depreciation schedule entries, revenue schedule entries, revaluation journal entries, or closing entries.
total_amount: DecimalTotal amount across those entries (depreciation posted, revenue recognized, net unrealized FX gain/loss, or closing entry debits).
warnings: Vec<String>Per-item failures and notes that did not abort the close.
Implementations§
Source§impl CloseMonthStepReport
impl CloseMonthStepReport
Sourcepub fn skipped(warning: Option<String>) -> CloseMonthStepReport
pub fn skipped(warning: Option<String>) -> CloseMonthStepReport
A step that was skipped, optionally with a note explaining why.
Trait Implementations§
Source§impl Clone for CloseMonthStepReport
impl Clone for CloseMonthStepReport
Source§fn clone(&self) -> CloseMonthStepReport
fn clone(&self) -> CloseMonthStepReport
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 CloseMonthStepReport
impl Debug for CloseMonthStepReport
Source§impl<'de> Deserialize<'de> for CloseMonthStepReport
impl<'de> Deserialize<'de> for CloseMonthStepReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthStepReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthStepReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CloseMonthStepReport
impl Serialize for CloseMonthStepReport
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 CloseMonthStepReport
impl RefUnwindSafe for CloseMonthStepReport
impl Send for CloseMonthStepReport
impl Sync for CloseMonthStepReport
impl Unpin for CloseMonthStepReport
impl UnsafeUnpin for CloseMonthStepReport
impl UnwindSafe for CloseMonthStepReport
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