pub struct CompositeRuleBasedValueSpecification {
pub label: Option<String>,
pub argument: Vec<CompositeValueSpecification>,
pub compound_primitive_argument: Vec<CompositeRuleBasedValueArgument>,
pub max_size_to_fill: Option<u64>,
pub rule: RuleBasedFillUntil,
}
Expand description
A rule to generate composite values for an array value specification
Fields§
§label: Option<String>
SHORT-LABEL: used to identify the composite value in a human readable way. This is used when the composite value is part of a record.
argument: Vec<CompositeValueSpecification>
collection of specified compound values. The last value is used by the filling rule to fill the array
compound_primitive_argument: Vec<CompositeRuleBasedValueArgument>
collection of specified primitive values. The last value is used by the filling rule to fill the array
max_size_to_fill: Option<u64>
maximum size of the array to fill. It is used if the filling rule is set to FILL_UNTIL_MAX_SIZE
rule: RuleBasedFillUntil
rule to fill the array
Trait Implementations§
Source§impl Clone for CompositeRuleBasedValueSpecification
impl Clone for CompositeRuleBasedValueSpecification
Source§fn clone(&self) -> CompositeRuleBasedValueSpecification
fn clone(&self) -> CompositeRuleBasedValueSpecification
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<CompositeRuleBasedValueSpecification> for ValueSpecification
impl From<CompositeRuleBasedValueSpecification> for ValueSpecification
Source§fn from(value_spec: CompositeRuleBasedValueSpecification) -> Self
fn from(value_spec: CompositeRuleBasedValueSpecification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompositeRuleBasedValueSpecification
impl PartialEq for CompositeRuleBasedValueSpecification
Source§fn eq(&self, other: &CompositeRuleBasedValueSpecification) -> bool
fn eq(&self, other: &CompositeRuleBasedValueSpecification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CompositeRuleBasedValueSpecification
Auto Trait Implementations§
impl Freeze for CompositeRuleBasedValueSpecification
impl !RefUnwindSafe for CompositeRuleBasedValueSpecification
impl Send for CompositeRuleBasedValueSpecification
impl Sync for CompositeRuleBasedValueSpecification
impl Unpin for CompositeRuleBasedValueSpecification
impl !UnwindSafe for CompositeRuleBasedValueSpecification
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