pub struct ProcessingLagSchemaConfig {
pub enabled: bool,
pub sales_order_lag: Option<LagSchemaConfig>,
pub purchase_order_lag: Option<LagSchemaConfig>,
pub goods_receipt_lag: Option<LagSchemaConfig>,
pub invoice_receipt_lag: Option<LagSchemaConfig>,
pub invoice_issue_lag: Option<LagSchemaConfig>,
pub payment_lag: Option<LagSchemaConfig>,
pub journal_entry_lag: Option<LagSchemaConfig>,
pub cross_day_posting: Option<CrossDaySchemaConfig>,
}Expand description
Schema configuration for YAML/JSON deserialization.
Fields§
§enabled: boolEnable processing lag calculations
sales_order_lag: Option<LagSchemaConfig>Sales order lag (log-normal mu, sigma)
purchase_order_lag: Option<LagSchemaConfig>Purchase order lag
goods_receipt_lag: Option<LagSchemaConfig>Goods receipt lag
invoice_receipt_lag: Option<LagSchemaConfig>Invoice receipt lag
invoice_issue_lag: Option<LagSchemaConfig>Invoice issue lag
payment_lag: Option<LagSchemaConfig>Payment lag
journal_entry_lag: Option<LagSchemaConfig>Journal entry lag
cross_day_posting: Option<CrossDaySchemaConfig>Cross-day posting configuration
Implementations§
Source§impl ProcessingLagSchemaConfig
impl ProcessingLagSchemaConfig
Sourcepub fn to_config(&self) -> ProcessingLagConfig
pub fn to_config(&self) -> ProcessingLagConfig
Convert to ProcessingLagConfig.
Trait Implementations§
Source§impl Clone for ProcessingLagSchemaConfig
impl Clone for ProcessingLagSchemaConfig
Source§fn clone(&self) -> ProcessingLagSchemaConfig
fn clone(&self) -> ProcessingLagSchemaConfig
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 ProcessingLagSchemaConfig
impl Debug for ProcessingLagSchemaConfig
Source§impl Default for ProcessingLagSchemaConfig
impl Default for ProcessingLagSchemaConfig
Source§fn default() -> ProcessingLagSchemaConfig
fn default() -> ProcessingLagSchemaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessingLagSchemaConfig
impl<'de> Deserialize<'de> for ProcessingLagSchemaConfig
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 ProcessingLagSchemaConfig
impl RefUnwindSafe for ProcessingLagSchemaConfig
impl Send for ProcessingLagSchemaConfig
impl Sync for ProcessingLagSchemaConfig
impl Unpin for ProcessingLagSchemaConfig
impl UnsafeUnpin for ProcessingLagSchemaConfig
impl UnwindSafe for ProcessingLagSchemaConfig
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,
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<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.