pub struct Header<'a> {
pub header: &'a mut FieldMap,
}Expand description
Header is the fix44 Header type.
Fields§
§header: &'a mut FieldMapImplementations§
Source§impl Header<'_>
impl Header<'_>
Sourcepub fn new(header: &mut FieldMap) -> Header<'_>
pub fn new(header: &mut FieldMap) -> Header<'_>
Creates a new Header wrapping the given message header.
Sourcepub fn set_begin_string(&mut self, v: String)
pub fn set_begin_string(&mut self, v: String)
Sets BeginString, Tag 8.
Sourcepub fn has_begin_string(&self) -> bool
pub fn has_begin_string(&self) -> bool
Returns true if BeginString is present, Tag 8.
Sourcepub fn set_body_length(&mut self, v: isize)
pub fn set_body_length(&mut self, v: isize)
Sets BodyLength, Tag 9.
Sourcepub fn has_body_length(&self) -> bool
pub fn has_body_length(&self) -> bool
Returns true if BodyLength is present, Tag 9.
Sourcepub fn set_deliver_to_comp_id(&mut self, v: String)
pub fn set_deliver_to_comp_id(&mut self, v: String)
Sets DeliverToCompID, Tag 128.
Sourcepub fn has_deliver_to_comp_id(&self) -> bool
pub fn has_deliver_to_comp_id(&self) -> bool
Returns true if DeliverToCompID is present, Tag 128.
Sourcepub fn set_deliver_to_location_id(&mut self, v: String)
pub fn set_deliver_to_location_id(&mut self, v: String)
Sets DeliverToLocationID, Tag 145.
Sourcepub fn has_deliver_to_location_id(&self) -> bool
pub fn has_deliver_to_location_id(&self) -> bool
Returns true if DeliverToLocationID is present, Tag 145.
Sourcepub fn set_deliver_to_sub_id(&mut self, v: String)
pub fn set_deliver_to_sub_id(&mut self, v: String)
Sets DeliverToSubID, Tag 129.
Sourcepub fn has_deliver_to_sub_id(&self) -> bool
pub fn has_deliver_to_sub_id(&self) -> bool
Returns true if DeliverToSubID is present, Tag 129.
Sourcepub fn set_last_msg_seq_num_processed(&mut self, v: isize)
pub fn set_last_msg_seq_num_processed(&mut self, v: isize)
Sets LastMsgSeqNumProcessed, Tag 369.
Sourcepub fn has_last_msg_seq_num_processed(&self) -> bool
pub fn has_last_msg_seq_num_processed(&self) -> bool
Returns true if LastMsgSeqNumProcessed is present, Tag 369.
Sourcepub fn set_message_encoding(&mut self, v: String)
pub fn set_message_encoding(&mut self, v: String)
Sets MessageEncoding, Tag 347.
Sourcepub fn has_message_encoding(&self) -> bool
pub fn has_message_encoding(&self) -> bool
Returns true if MessageEncoding is present, Tag 347.
Sourcepub fn set_msg_seq_num(&mut self, v: isize)
pub fn set_msg_seq_num(&mut self, v: isize)
Sets MsgSeqNum, Tag 34.
Sourcepub fn has_msg_seq_num(&self) -> bool
pub fn has_msg_seq_num(&self) -> bool
Returns true if MsgSeqNum is present, Tag 34.
Sourcepub fn set_msg_type(&mut self, v: String)
pub fn set_msg_type(&mut self, v: String)
Sets MsgType, Tag 35.
Sourcepub fn has_msg_type(&self) -> bool
pub fn has_msg_type(&self) -> bool
Returns true if MsgType is present, Tag 35.
Sourcepub fn set_no_hops(&mut self, v: isize)
pub fn set_no_hops(&mut self, v: isize)
Sets NoHops, Tag 627.
Sourcepub fn has_no_hops(&self) -> bool
pub fn has_no_hops(&self) -> bool
Returns true if NoHops is present, Tag 627.
Sourcepub fn set_on_behalf_of_comp_id(&mut self, v: String)
pub fn set_on_behalf_of_comp_id(&mut self, v: String)
Sets OnBehalfOfCompID, Tag 115.
Sourcepub fn has_on_behalf_of_comp_id(&self) -> bool
pub fn has_on_behalf_of_comp_id(&self) -> bool
Returns true if OnBehalfOfCompID is present, Tag 115.
Sourcepub fn set_on_behalf_of_location_id(&mut self, v: String)
pub fn set_on_behalf_of_location_id(&mut self, v: String)
Sets OnBehalfOfLocationID, Tag 144.
Sourcepub fn has_on_behalf_of_location_id(&self) -> bool
pub fn has_on_behalf_of_location_id(&self) -> bool
Returns true if OnBehalfOfLocationID is present, Tag 144.
Sourcepub fn set_on_behalf_of_sub_id(&mut self, v: String)
pub fn set_on_behalf_of_sub_id(&mut self, v: String)
Sets OnBehalfOfSubID, Tag 116.
Sourcepub fn has_on_behalf_of_sub_id(&self) -> bool
pub fn has_on_behalf_of_sub_id(&self) -> bool
Returns true if OnBehalfOfSubID is present, Tag 116.
Sourcepub fn set_orig_sending_time(&mut self, v: Timestamp)
pub fn set_orig_sending_time(&mut self, v: Timestamp)
Sets OrigSendingTime, Tag 122.
Sourcepub fn has_orig_sending_time(&self) -> bool
pub fn has_orig_sending_time(&self) -> bool
Returns true if OrigSendingTime is present, Tag 122.
Sourcepub fn set_poss_dup_flag(&mut self, v: bool)
pub fn set_poss_dup_flag(&mut self, v: bool)
Sets PossDupFlag, Tag 43.
Sourcepub fn has_poss_dup_flag(&self) -> bool
pub fn has_poss_dup_flag(&self) -> bool
Returns true if PossDupFlag is present, Tag 43.
Sourcepub fn set_poss_resend(&mut self, v: bool)
pub fn set_poss_resend(&mut self, v: bool)
Sets PossResend, Tag 97.
Sourcepub fn has_poss_resend(&self) -> bool
pub fn has_poss_resend(&self) -> bool
Returns true if PossResend is present, Tag 97.
Sourcepub fn set_secure_data(&mut self, v: String)
pub fn set_secure_data(&mut self, v: String)
Sets SecureData, Tag 91.
Sourcepub fn has_secure_data(&self) -> bool
pub fn has_secure_data(&self) -> bool
Returns true if SecureData is present, Tag 91.
Sourcepub fn set_secure_data_len(&mut self, v: isize)
pub fn set_secure_data_len(&mut self, v: isize)
Sets SecureDataLen, Tag 90.
Sourcepub fn has_secure_data_len(&self) -> bool
pub fn has_secure_data_len(&self) -> bool
Returns true if SecureDataLen is present, Tag 90.
Sourcepub fn set_sender_comp_id(&mut self, v: String)
pub fn set_sender_comp_id(&mut self, v: String)
Sets SenderCompID, Tag 49.
Sourcepub fn has_sender_comp_id(&self) -> bool
pub fn has_sender_comp_id(&self) -> bool
Returns true if SenderCompID is present, Tag 49.
Sourcepub fn set_sender_location_id(&mut self, v: String)
pub fn set_sender_location_id(&mut self, v: String)
Sets SenderLocationID, Tag 142.
Sourcepub fn has_sender_location_id(&self) -> bool
pub fn has_sender_location_id(&self) -> bool
Returns true if SenderLocationID is present, Tag 142.
Sourcepub fn set_sender_sub_id(&mut self, v: String)
pub fn set_sender_sub_id(&mut self, v: String)
Sets SenderSubID, Tag 50.
Sourcepub fn has_sender_sub_id(&self) -> bool
pub fn has_sender_sub_id(&self) -> bool
Returns true if SenderSubID is present, Tag 50.
Sourcepub fn set_sending_time(&mut self, v: Timestamp)
pub fn set_sending_time(&mut self, v: Timestamp)
Sets SendingTime, Tag 52.
Sourcepub fn has_sending_time(&self) -> bool
pub fn has_sending_time(&self) -> bool
Returns true if SendingTime is present, Tag 52.
Sourcepub fn set_target_comp_id(&mut self, v: String)
pub fn set_target_comp_id(&mut self, v: String)
Sets TargetCompID, Tag 56.
Sourcepub fn has_target_comp_id(&self) -> bool
pub fn has_target_comp_id(&self) -> bool
Returns true if TargetCompID is present, Tag 56.
Sourcepub fn set_target_location_id(&mut self, v: String)
pub fn set_target_location_id(&mut self, v: String)
Sets TargetLocationID, Tag 143.
Sourcepub fn has_target_location_id(&self) -> bool
pub fn has_target_location_id(&self) -> bool
Returns true if TargetLocationID is present, Tag 143.
Sourcepub fn set_target_sub_id(&mut self, v: String)
pub fn set_target_sub_id(&mut self, v: String)
Sets TargetSubID, Tag 57.
Sourcepub fn has_target_sub_id(&self) -> bool
pub fn has_target_sub_id(&self) -> bool
Returns true if TargetSubID is present, Tag 57.
Sourcepub fn set_xml_data(&mut self, v: String)
pub fn set_xml_data(&mut self, v: String)
Sets XmlData, Tag 213.
Sourcepub fn has_xml_data(&self) -> bool
pub fn has_xml_data(&self) -> bool
Returns true if XmlData is present, Tag 213.
Sourcepub fn set_xml_data_len(&mut self, v: isize)
pub fn set_xml_data_len(&mut self, v: isize)
Sets XmlDataLen, Tag 212.
Sourcepub fn has_xml_data_len(&self) -> bool
pub fn has_xml_data_len(&self) -> bool
Returns true if XmlDataLen is present, Tag 212.