pub struct GrpEnt {
pub occur: Option<Occur>,
pub val: GrpEntVal,
}
Expand description
A group entry contains one element of a group.
Each key-value pair in map, each element of an array, or each group
(inline or referenced by name) will be stored in a GrpEnt
.
CDDL ABNF grammar:
grpent = [occur S] [memberkey S] type
/ [occur S] groupname [genericarg] ; preempted by above
/ [occur S] "(" S group S ")"
Fields§
§occur: Option<Occur>
§val: GrpEntVal
Trait Implementations§
source§impl PartialEq for GrpEnt
impl PartialEq for GrpEnt
impl StructuralPartialEq for GrpEnt
Auto Trait Implementations§
impl RefUnwindSafe for GrpEnt
impl Send for GrpEnt
impl Sync for GrpEnt
impl Unpin for GrpEnt
impl UnwindSafe for GrpEnt
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