pub struct CloseMonthOptions {
pub dry_run: bool,
pub skip_depreciation: bool,
pub skip_revenue_recognition: bool,
pub skip_fx_revaluation: bool,
pub skip_period_close: bool,
pub closed_by: Option<String>,
}Expand description
Options controlling a month-end close run.
Fields§
§dry_run: boolCompute what WOULD happen (counts and amounts per step) without writing anything.
skip_depreciation: boolSkip posting scheduled fixed-asset depreciation.
skip_revenue_recognition: boolSkip recognizing deferred revenue through period end.
skip_fx_revaluation: boolSkip FX revaluation of foreign-currency accounts.
skip_period_close: boolSkip the final period close (closing entries + close period).
closed_by: Option<String>Actor recorded as the closer. Defaults to system.
Trait Implementations§
Source§impl Clone for CloseMonthOptions
impl Clone for CloseMonthOptions
Source§fn clone(&self) -> CloseMonthOptions
fn clone(&self) -> CloseMonthOptions
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 CloseMonthOptions
impl Debug for CloseMonthOptions
Source§impl Default for CloseMonthOptions
impl Default for CloseMonthOptions
Source§fn default() -> CloseMonthOptions
fn default() -> CloseMonthOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloseMonthOptions
impl<'de> Deserialize<'de> for CloseMonthOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloseMonthOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CloseMonthOptions
impl Serialize for CloseMonthOptions
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 CloseMonthOptions
impl RefUnwindSafe for CloseMonthOptions
impl Send for CloseMonthOptions
impl Sync for CloseMonthOptions
impl Unpin for CloseMonthOptions
impl UnsafeUnpin for CloseMonthOptions
impl UnwindSafe for CloseMonthOptions
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