pub struct SessionSchemaConfig {
pub enabled: bool,
pub checkpoint_path: Option<String>,
pub per_period_output: bool,
pub consolidated_output: bool,
}Expand description
Configuration for generation session behavior.
When enabled, the generation pipeline splits the total period into fiscal years and generates data period-by-period, carrying forward balance state.
Fields§
§enabled: boolWhether session-based (period-by-period) generation is enabled.
checkpoint_path: Option<String>Optional path for saving/loading session checkpoint files.
per_period_output: boolWhether to write output files per fiscal period (e.g., period_01/).
consolidated_output: boolWhether to also produce a single consolidated output across all periods.
Trait Implementations§
Source§impl Clone for SessionSchemaConfig
impl Clone for SessionSchemaConfig
Source§fn clone(&self) -> SessionSchemaConfig
fn clone(&self) -> SessionSchemaConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionSchemaConfig
impl Debug for SessionSchemaConfig
Source§impl Default for SessionSchemaConfig
impl Default for SessionSchemaConfig
Source§impl<'de> Deserialize<'de> for SessionSchemaConfig
impl<'de> Deserialize<'de> for SessionSchemaConfig
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
Auto Trait Implementations§
impl Freeze for SessionSchemaConfig
impl RefUnwindSafe for SessionSchemaConfig
impl Send for SessionSchemaConfig
impl Sync for SessionSchemaConfig
impl Unpin for SessionSchemaConfig
impl UnsafeUnpin for SessionSchemaConfig
impl UnwindSafe for SessionSchemaConfig
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