#[repr(C)]pub struct RelatedRule {
pub group_name: String,
pub rule_ids: Vec<String>,
}
Expand description
Shared struct for pairs in a RelatedRules collection.
- key: Group name of the rules.
- value: Rule ids. This is needed because maps can’t be binded directly.
Fields§
§group_name: String
§rule_ids: Vec<String>
Trait Implementations§
Source§impl ExternType for RelatedRule
impl ExternType for RelatedRule
impl VectorElement for RelatedRule
Auto Trait Implementations§
impl Freeze for RelatedRule
impl RefUnwindSafe for RelatedRule
impl Send for RelatedRule
impl Sync for RelatedRule
impl Unpin for RelatedRule
impl UnwindSafe for RelatedRule
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