pub struct NumericalRuleBasedValueSpecification {
pub label: Option<String>,
pub rule_based_values: RuleBasedValueSpecification,
}
Expand description
A rule to generate numerical values for an array value specification
Fields§
§label: Option<String>
SHORT-LABEL: used to identify the numerical value in a human readable way. This is used when the numerical value is part of a record.
rule_based_values: RuleBasedValueSpecification
rule-based values for the array
Trait Implementations§
Source§impl Clone for NumericalRuleBasedValueSpecification
impl Clone for NumericalRuleBasedValueSpecification
Source§fn clone(&self) -> NumericalRuleBasedValueSpecification
fn clone(&self) -> NumericalRuleBasedValueSpecification
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 From<NumericalRuleBasedValueSpecification> for ValueSpecification
impl From<NumericalRuleBasedValueSpecification> for ValueSpecification
Source§fn from(value_spec: NumericalRuleBasedValueSpecification) -> Self
fn from(value_spec: NumericalRuleBasedValueSpecification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NumericalRuleBasedValueSpecification
impl PartialEq for NumericalRuleBasedValueSpecification
Source§fn eq(&self, other: &NumericalRuleBasedValueSpecification) -> bool
fn eq(&self, other: &NumericalRuleBasedValueSpecification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for NumericalRuleBasedValueSpecification
Auto Trait Implementations§
impl Freeze for NumericalRuleBasedValueSpecification
impl RefUnwindSafe for NumericalRuleBasedValueSpecification
impl Send for NumericalRuleBasedValueSpecification
impl Sync for NumericalRuleBasedValueSpecification
impl Unpin for NumericalRuleBasedValueSpecification
impl UnwindSafe for NumericalRuleBasedValueSpecification
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