Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crates/hotfix-message/src/field_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::parts::RepeatingGroup;
use hotfix_dictionary::TagU32;
use indexmap::IndexMap;

#[derive(Clone, Debug)]
pub struct Field {
pub(crate) tag: TagU32,
pub data: Vec<u8>,
Expand All @@ -19,7 +20,7 @@ impl Field {
}
}

#[derive(Default)]
#[derive(Clone, Debug, Default)]
pub struct FieldMap {
pub fields: IndexMap<TagU32, Field>,
pub groups: IndexMap<TagU32, Vec<RepeatingGroup>>,
Expand Down
1 change: 1 addition & 0 deletions crates/hotfix-message/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub use encoding::fix42;
#[cfg(feature = "fix44")]
pub use encoding::fix44;
pub use encoding::{FieldValueError, HardCodedFixFieldDefinition};
pub use field_map::{Field, FieldMap};
pub use hotfix_derive::FieldType;
pub use hotfix_dictionary::{self as dict, TagU32};
pub use parts::{Part, RepeatingGroup};
2 changes: 1 addition & 1 deletion crates/hotfix-message/src/parts/repeating_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::parts::Part;
use hotfix_dictionary::{IsFieldDefinition, TagU32};

/// Represents a FIX repeating group, such as a party in the list of parties.
#[allow(dead_code)]
#[derive(Clone, Debug)]
pub struct RepeatingGroup {
pub(crate) start_tag: TagU32,
pub(crate) delimiter_tag: TagU32,
Expand Down