pub struct MessageDef {
pub name: String,
pub msg_type: String,
pub tags: HashSet<Tag>,
pub required: Vec<Tag>,
pub groups: HashMap<Tag, GroupDef>,
pub field_order: Vec<Tag>,
}Fields§
§name: String§msg_type: String§required: Vec<Tag>§groups: HashMap<Tag, GroupDef>§field_order: Vec<Tag>Top-level fields in spec order, components expanded in place (groups appear as their counter tag).
Trait Implementations§
Source§impl Clone for MessageDef
impl Clone for MessageDef
Source§fn clone(&self) -> MessageDef
fn clone(&self) -> MessageDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageDef
impl Debug for MessageDef
Source§impl Default for MessageDef
impl Default for MessageDef
Source§fn default() -> MessageDef
fn default() -> MessageDef
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDef
impl RefUnwindSafe for MessageDef
impl Send for MessageDef
impl Sync for MessageDef
impl Unpin for MessageDef
impl UnsafeUnpin for MessageDef
impl UnwindSafe for MessageDef
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