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