pub struct PeriodSpec {
pub manifest: GroupManifest,
pub shards_dir: PathBuf,
pub out_dir: PathBuf,
pub options: AggregateOptions,
}Expand description
One period’s input to run_aggregate_chain. Each PeriodSpec
describes a single aggregate run — its own manifest, the shards
dir to read from, and the out_dir to write to.
The chain runner inserts prior_period_aggregate automatically:
the N-th period’s out_dir becomes the (N+1)-th’s
prior_period_aggregate. The first period uses the value the
caller set on its AggregateOptions (typically None).
Fields§
§manifest: GroupManifestManifest for this period. Each period has its own manifest because IAS 21 closing rates, scoping, and entity ownership can change period-on-period.
shards_dir: PathBufPer-entity shard directory root for this period.
out_dir: PathBufWhere to write this period’s consolidated artefacts.
options: AggregateOptionsPer-period options. prior_period_aggregate is overridden
by the chain runner — set it on the FIRST period to seed the
chain, and leave it None on subsequent periods.
Trait Implementations§
Source§impl Clone for PeriodSpec
impl Clone for PeriodSpec
Source§fn clone(&self) -> PeriodSpec
fn clone(&self) -> PeriodSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for PeriodSpec
impl RefUnwindSafe for PeriodSpec
impl Send for PeriodSpec
impl Sync for PeriodSpec
impl Unpin for PeriodSpec
impl UnsafeUnpin for PeriodSpec
impl UnwindSafe for PeriodSpec
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.