pub struct TbTarget {
pub opening_balance: f64,
pub closing_balance: f64,
pub period_net_activity: f64,
pub opening_stdev: f64,
pub closing_stdev: f64,
pub n_clients: usize,
}Expand description
Target balance for a single GL account, representing the industry-median
values extracted from real TB_XXX.parquet files.
Fields§
§opening_balance: f64Industry-median opening balance for this account.
closing_balance: f64Industry-median closing balance for this account.
period_net_activity: f64Derived period net activity (closing − opening), positive = net debit. Pre-computed at extraction time for convenience.
opening_stdev: f64Standard deviation of opening balance across contributing clients (in their respective functional currencies, normalised by client-total-assets). Smaller stdev = tighter target. Zero when only one client contributed.
closing_stdev: f64Standard deviation of closing balance across contributing clients.
n_clients: usizeNumber of clients in which this account appeared.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TbTarget
impl<'de> Deserialize<'de> for TbTarget
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
impl StructuralPartialEq for TbTarget
Auto Trait Implementations§
impl Freeze for TbTarget
impl RefUnwindSafe for TbTarget
impl Send for TbTarget
impl Sync for TbTarget
impl Unpin for TbTarget
impl UnsafeUnpin for TbTarget
impl UnwindSafe for TbTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
impl<T> Scalar for T
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.