hotfix-message 0.4.0

FIX messages for HotFIX.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::field_map::FieldMap;
use crate::parts::Part;

#[derive(Clone, Default)]
pub struct Body {
    pub(crate) fields: FieldMap,
}

impl Part for Body {
    fn get_field_map(&self) -> &FieldMap {
        &self.fields
    }

    fn get_field_map_mut(&mut self) -> &mut FieldMap {
        &mut self.fields
    }
}