pub struct DataDictionary {
pub fix_type: String,
pub major: isize,
pub minor: isize,
pub service_pack: isize,
pub field_type_by_tag: FxHashMap<isize, FieldType>,
pub field_type_by_name: FxHashMap<String, FieldType>,
pub messages: FxHashMap<String, MessageDef>,
pub component_types: FxHashMap<String, ComponentType>,
pub header: MessageDef,
pub trailer: MessageDef,
}Fields§
§fix_type: String§major: isize§minor: isize§service_pack: isize§field_type_by_tag: FxHashMap<isize, FieldType>§field_type_by_name: FxHashMap<String, FieldType>§messages: FxHashMap<String, MessageDef>§component_types: FxHashMap<String, ComponentType>§header: MessageDef§trailer: MessageDefImplementations§
Source§impl DataDictionary
impl DataDictionary
pub async fn parse(path: &str) -> SimpleResult<Self>
pub fn parse_src<R: BufRead>(xml_src: R) -> SimpleResult<Self>
Trait Implementations§
Source§impl Clone for DataDictionary
impl Clone for DataDictionary
Source§impl Debug for DataDictionary
impl Debug for DataDictionary
Source§impl Default for DataDictionary
impl Default for DataDictionary
impl Eq for DataDictionary
Source§impl PartialEq for DataDictionary
impl PartialEq for DataDictionary
impl StructuralPartialEq for DataDictionary
Auto Trait Implementations§
impl Freeze for DataDictionary
impl RefUnwindSafe for DataDictionary
impl Send for DataDictionary
impl Sync for DataDictionary
impl Unpin for DataDictionary
impl UnsafeUnpin for DataDictionary
impl UnwindSafe for DataDictionary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.