#[non_exhaustive]pub struct NumericDescriptor {
pub calculation: NumericCalculation,
pub source_clock: SourceId,
pub inputs: NumericInputs,
pub output_type: ValueType,
pub unit: NumericUnit,
pub range: NumericRange,
pub missing: NumericMissingPolicy,
pub first_output_observations: usize,
pub required_lookback: usize,
pub max_state_bytes: usize,
pub exact_aliases: &'static [&'static str],
}Expand description
A working factory’s effective numeric contract, inspected before state allocation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.calculation: NumericCalculation§source_clock: SourceId§inputs: NumericInputs§output_type: ValueType§unit: NumericUnit§range: NumericRange§missing: NumericMissingPolicy§first_output_observations: usizeSource observations required for the first output after initialization or reset.
required_lookback: usizeEffective source lookback after composing direct inputs and calculation history.
max_state_bytes: usizeUpper bound on one evaluator’s owned state, including fixed backing storage.
exact_aliases: &'static [&'static str]Implementations§
Source§impl NumericDescriptor
impl NumericDescriptor
pub const fn flat_input_is_defined(&self) -> bool
Trait Implementations§
Source§impl Clone for NumericDescriptor
impl Clone for NumericDescriptor
Source§impl Debug for NumericDescriptor
impl Debug for NumericDescriptor
Source§impl PartialEq for NumericDescriptor
impl PartialEq for NumericDescriptor
impl StructuralPartialEq for NumericDescriptor
Auto Trait Implementations§
impl Freeze for NumericDescriptor
impl RefUnwindSafe for NumericDescriptor
impl Send for NumericDescriptor
impl Sync for NumericDescriptor
impl Unpin for NumericDescriptor
impl UnsafeUnpin for NumericDescriptor
impl UnwindSafe for NumericDescriptor
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