pub enum Item {
Segment {
name: String,
required: bool,
repeats: bool,
},
Group {
name: String,
required: bool,
repeats: bool,
items: Vec<Item>,
},
}Expand description
One entry in an abstract message structure: a segment, or a named group of entries, each carrying whether the standard makes it required and whether it may repeat.
Variants§
Implementations§
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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