#[repr(C)]pub struct DiscreteValueRuleType {
pub type_id: String,
pub values: UniquePtr<CxxVector<DiscreteValueRuleDiscreteValue>>,
}Expand description
Shared struct for pairs in a DiscreteValueRules collection.
- key: Rule type ids.
- value: Discrete Values. This is needed because maps can’t be bound directly.
Fields§
§type_id: String§values: UniquePtr<CxxVector<DiscreteValueRuleDiscreteValue>>Trait Implementations§
Source§impl ExternType for DiscreteValueRuleType
impl ExternType for DiscreteValueRuleType
impl VectorElement for DiscreteValueRuleType
Auto Trait Implementations§
impl Freeze for DiscreteValueRuleType
impl RefUnwindSafe for DiscreteValueRuleType
impl !Send for DiscreteValueRuleType
impl !Sync for DiscreteValueRuleType
impl Unpin for DiscreteValueRuleType
impl UnwindSafe for DiscreteValueRuleType
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