Skip to main content

fixer_fix/
field.rs

1// Code generated by fixer-gen. DO NOT EDIT.
2#![allow(clippy::new_without_default)]
3#![allow(unused_imports)]
4
5use fixer::tag::Tag;
6use fixer::fix_string::FIXString;
7use fixer::fix_boolean::FIXBoolean;
8use fixer::fix_int::FIXInt;
9use fixer::fix_float::FIXFloat;
10use fixer::fix_decimal::FIXDecimal;
11use fixer::fix_utc_timestamp::FIXUTCTimestamp;
12use fixer::field::{FieldValueReader, FieldValueWriter, FieldValue};
13use simple_error::SimpleResult;
14use crate::tag;
15
16use rust_decimal::Decimal;
17
18
19use fixer::fix_utc_timestamp::TimestampPrecision;
20use jiff::Timestamp;
21
22
23
24/// `AccountField` is a `STRING` field, Tag 1.
25pub struct AccountField(pub FIXString);
26
27impl AccountField {
28
29    pub fn new(val: String) -> Self { Self(val) }
30    pub fn value(&self) -> &str { &self.0 }
31
32    pub fn tag() -> Tag { tag::ACCOUNT }
33}
34
35impl FieldValueReader for AccountField {
36    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37        self.0.read(raw)
38    }
39}
40
41impl FieldValueWriter for AccountField {
42    fn write_to(&self, buf: &mut Vec<u8>) {
43        self.0.write_to(buf);
44    }
45}
46
47impl FieldValue for AccountField {}
48
49
50/// `AccountTypeField` is a `INT` field, Tag 581.
51pub struct AccountTypeField(pub FIXInt);
52
53impl AccountTypeField {
54
55    pub fn new(val: isize) -> Self { Self(val) }
56    pub fn value(&self) -> isize { self.0 }
57
58    pub fn tag() -> Tag { tag::ACCOUNT_TYPE }
59}
60
61impl FieldValueReader for AccountTypeField {
62    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
63        self.0.read(raw)
64    }
65}
66
67impl FieldValueWriter for AccountTypeField {
68    fn write_to(&self, buf: &mut Vec<u8>) {
69        self.0.write_to(buf);
70    }
71}
72
73impl FieldValue for AccountTypeField {}
74
75
76/// `AccruedInterestAmtField` is a `AMT` field, Tag 159.
77pub struct AccruedInterestAmtField(pub FIXDecimal);
78
79impl AccruedInterestAmtField {
80
81    pub fn new(val: Decimal, scale: i32) -> Self {
82        Self(FIXDecimal { decimal: val, scale })
83    }
84    pub fn value(&self) -> Decimal { self.0.decimal }
85
86    pub fn tag() -> Tag { tag::ACCRUED_INTEREST_AMT }
87}
88
89impl FieldValueReader for AccruedInterestAmtField {
90    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
91        self.0.read(raw)
92    }
93}
94
95impl FieldValueWriter for AccruedInterestAmtField {
96    fn write_to(&self, buf: &mut Vec<u8>) {
97        self.0.write_to(buf);
98    }
99}
100
101impl FieldValue for AccruedInterestAmtField {}
102
103
104/// `AccruedInterestRateField` is a `PERCENTAGE` field, Tag 158.
105pub struct AccruedInterestRateField(pub FIXDecimal);
106
107impl AccruedInterestRateField {
108
109    pub fn new(val: Decimal, scale: i32) -> Self {
110        Self(FIXDecimal { decimal: val, scale })
111    }
112    pub fn value(&self) -> Decimal { self.0.decimal }
113
114    pub fn tag() -> Tag { tag::ACCRUED_INTEREST_RATE }
115}
116
117impl FieldValueReader for AccruedInterestRateField {
118    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
119        self.0.read(raw)
120    }
121}
122
123impl FieldValueWriter for AccruedInterestRateField {
124    fn write_to(&self, buf: &mut Vec<u8>) {
125        self.0.write_to(buf);
126    }
127}
128
129impl FieldValue for AccruedInterestRateField {}
130
131
132/// `AcctIDSourceField` is a `INT` field, Tag 660.
133pub struct AcctIDSourceField(pub FIXInt);
134
135impl AcctIDSourceField {
136
137    pub fn new(val: isize) -> Self { Self(val) }
138    pub fn value(&self) -> isize { self.0 }
139
140    pub fn tag() -> Tag { tag::ACCT_ID_SOURCE }
141}
142
143impl FieldValueReader for AcctIDSourceField {
144    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
145        self.0.read(raw)
146    }
147}
148
149impl FieldValueWriter for AcctIDSourceField {
150    fn write_to(&self, buf: &mut Vec<u8>) {
151        self.0.write_to(buf);
152    }
153}
154
155impl FieldValue for AcctIDSourceField {}
156
157
158/// `AdjustmentField` is a `INT` field, Tag 334.
159pub struct AdjustmentField(pub FIXInt);
160
161impl AdjustmentField {
162
163    pub fn new(val: isize) -> Self { Self(val) }
164    pub fn value(&self) -> isize { self.0 }
165
166    pub fn tag() -> Tag { tag::ADJUSTMENT }
167}
168
169impl FieldValueReader for AdjustmentField {
170    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
171        self.0.read(raw)
172    }
173}
174
175impl FieldValueWriter for AdjustmentField {
176    fn write_to(&self, buf: &mut Vec<u8>) {
177        self.0.write_to(buf);
178    }
179}
180
181impl FieldValue for AdjustmentField {}
182
183
184/// `AdjustmentTypeField` is a `INT` field, Tag 718.
185pub struct AdjustmentTypeField(pub FIXInt);
186
187impl AdjustmentTypeField {
188
189    pub fn new(val: isize) -> Self { Self(val) }
190    pub fn value(&self) -> isize { self.0 }
191
192    pub fn tag() -> Tag { tag::ADJUSTMENT_TYPE }
193}
194
195impl FieldValueReader for AdjustmentTypeField {
196    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
197        self.0.read(raw)
198    }
199}
200
201impl FieldValueWriter for AdjustmentTypeField {
202    fn write_to(&self, buf: &mut Vec<u8>) {
203        self.0.write_to(buf);
204    }
205}
206
207impl FieldValue for AdjustmentTypeField {}
208
209
210/// `AdvIdField` is a `STRING` field, Tag 2.
211pub struct AdvIdField(pub FIXString);
212
213impl AdvIdField {
214
215    pub fn new(val: String) -> Self { Self(val) }
216    pub fn value(&self) -> &str { &self.0 }
217
218    pub fn tag() -> Tag { tag::ADV_ID }
219}
220
221impl FieldValueReader for AdvIdField {
222    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
223        self.0.read(raw)
224    }
225}
226
227impl FieldValueWriter for AdvIdField {
228    fn write_to(&self, buf: &mut Vec<u8>) {
229        self.0.write_to(buf);
230    }
231}
232
233impl FieldValue for AdvIdField {}
234
235
236/// `AdvRefIDField` is a `STRING` field, Tag 3.
237pub struct AdvRefIDField(pub FIXString);
238
239impl AdvRefIDField {
240
241    pub fn new(val: String) -> Self { Self(val) }
242    pub fn value(&self) -> &str { &self.0 }
243
244    pub fn tag() -> Tag { tag::ADV_REF_ID }
245}
246
247impl FieldValueReader for AdvRefIDField {
248    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
249        self.0.read(raw)
250    }
251}
252
253impl FieldValueWriter for AdvRefIDField {
254    fn write_to(&self, buf: &mut Vec<u8>) {
255        self.0.write_to(buf);
256    }
257}
258
259impl FieldValue for AdvRefIDField {}
260
261
262/// `AdvSideField` is a `CHAR` field, Tag 4.
263pub struct AdvSideField(pub FIXString);
264
265impl AdvSideField {
266
267    pub fn new(val: String) -> Self { Self(val) }
268    pub fn value(&self) -> &str { &self.0 }
269
270    pub fn tag() -> Tag { tag::ADV_SIDE }
271}
272
273impl FieldValueReader for AdvSideField {
274    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
275        self.0.read(raw)
276    }
277}
278
279impl FieldValueWriter for AdvSideField {
280    fn write_to(&self, buf: &mut Vec<u8>) {
281        self.0.write_to(buf);
282    }
283}
284
285impl FieldValue for AdvSideField {}
286
287
288/// `AdvTransTypeField` is a `STRING` field, Tag 5.
289pub struct AdvTransTypeField(pub FIXString);
290
291impl AdvTransTypeField {
292
293    pub fn new(val: String) -> Self { Self(val) }
294    pub fn value(&self) -> &str { &self.0 }
295
296    pub fn tag() -> Tag { tag::ADV_TRANS_TYPE }
297}
298
299impl FieldValueReader for AdvTransTypeField {
300    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
301        self.0.read(raw)
302    }
303}
304
305impl FieldValueWriter for AdvTransTypeField {
306    fn write_to(&self, buf: &mut Vec<u8>) {
307        self.0.write_to(buf);
308    }
309}
310
311impl FieldValue for AdvTransTypeField {}
312
313
314/// `AffectedOrderIDField` is a `STRING` field, Tag 535.
315pub struct AffectedOrderIDField(pub FIXString);
316
317impl AffectedOrderIDField {
318
319    pub fn new(val: String) -> Self { Self(val) }
320    pub fn value(&self) -> &str { &self.0 }
321
322    pub fn tag() -> Tag { tag::AFFECTED_ORDER_ID }
323}
324
325impl FieldValueReader for AffectedOrderIDField {
326    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
327        self.0.read(raw)
328    }
329}
330
331impl FieldValueWriter for AffectedOrderIDField {
332    fn write_to(&self, buf: &mut Vec<u8>) {
333        self.0.write_to(buf);
334    }
335}
336
337impl FieldValue for AffectedOrderIDField {}
338
339
340/// `AffectedSecondaryOrderIDField` is a `STRING` field, Tag 536.
341pub struct AffectedSecondaryOrderIDField(pub FIXString);
342
343impl AffectedSecondaryOrderIDField {
344
345    pub fn new(val: String) -> Self { Self(val) }
346    pub fn value(&self) -> &str { &self.0 }
347
348    pub fn tag() -> Tag { tag::AFFECTED_SECONDARY_ORDER_ID }
349}
350
351impl FieldValueReader for AffectedSecondaryOrderIDField {
352    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
353        self.0.read(raw)
354    }
355}
356
357impl FieldValueWriter for AffectedSecondaryOrderIDField {
358    fn write_to(&self, buf: &mut Vec<u8>) {
359        self.0.write_to(buf);
360    }
361}
362
363impl FieldValue for AffectedSecondaryOrderIDField {}
364
365
366/// `AffirmStatusField` is a `INT` field, Tag 940.
367pub struct AffirmStatusField(pub FIXInt);
368
369impl AffirmStatusField {
370
371    pub fn new(val: isize) -> Self { Self(val) }
372    pub fn value(&self) -> isize { self.0 }
373
374    pub fn tag() -> Tag { tag::AFFIRM_STATUS }
375}
376
377impl FieldValueReader for AffirmStatusField {
378    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
379        self.0.read(raw)
380    }
381}
382
383impl FieldValueWriter for AffirmStatusField {
384    fn write_to(&self, buf: &mut Vec<u8>) {
385        self.0.write_to(buf);
386    }
387}
388
389impl FieldValue for AffirmStatusField {}
390
391
392/// `AggregatedBookField` is a `BOOLEAN` field, Tag 266.
393pub struct AggregatedBookField(pub FIXBoolean);
394
395impl AggregatedBookField {
396
397    pub fn new(val: bool) -> Self { Self(val) }
398    pub fn value(&self) -> bool { self.0 }
399
400    pub fn tag() -> Tag { tag::AGGREGATED_BOOK }
401}
402
403impl FieldValueReader for AggregatedBookField {
404    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
405        self.0.read(raw)
406    }
407}
408
409impl FieldValueWriter for AggregatedBookField {
410    fn write_to(&self, buf: &mut Vec<u8>) {
411        self.0.write_to(buf);
412    }
413}
414
415impl FieldValue for AggregatedBookField {}
416
417
418/// `AggressorIndicatorField` is a `BOOLEAN` field, Tag 1057.
419pub struct AggressorIndicatorField(pub FIXBoolean);
420
421impl AggressorIndicatorField {
422
423    pub fn new(val: bool) -> Self { Self(val) }
424    pub fn value(&self) -> bool { self.0 }
425
426    pub fn tag() -> Tag { tag::AGGRESSOR_INDICATOR }
427}
428
429impl FieldValueReader for AggressorIndicatorField {
430    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
431        self.0.read(raw)
432    }
433}
434
435impl FieldValueWriter for AggressorIndicatorField {
436    fn write_to(&self, buf: &mut Vec<u8>) {
437        self.0.write_to(buf);
438    }
439}
440
441impl FieldValue for AggressorIndicatorField {}
442
443
444/// `AgreementCurrencyField` is a `CURRENCY` field, Tag 918.
445pub struct AgreementCurrencyField(pub FIXString);
446
447impl AgreementCurrencyField {
448
449    pub fn new(val: String) -> Self { Self(val) }
450    pub fn value(&self) -> &str { &self.0 }
451
452    pub fn tag() -> Tag { tag::AGREEMENT_CURRENCY }
453}
454
455impl FieldValueReader for AgreementCurrencyField {
456    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
457        self.0.read(raw)
458    }
459}
460
461impl FieldValueWriter for AgreementCurrencyField {
462    fn write_to(&self, buf: &mut Vec<u8>) {
463        self.0.write_to(buf);
464    }
465}
466
467impl FieldValue for AgreementCurrencyField {}
468
469
470/// `AgreementDateField` is a `LOCALMKTDATE` field, Tag 915.
471pub struct AgreementDateField(pub FIXString);
472
473impl AgreementDateField {
474
475    pub fn new(val: String) -> Self { Self(val) }
476    pub fn value(&self) -> &str { &self.0 }
477
478    pub fn tag() -> Tag { tag::AGREEMENT_DATE }
479}
480
481impl FieldValueReader for AgreementDateField {
482    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
483        self.0.read(raw)
484    }
485}
486
487impl FieldValueWriter for AgreementDateField {
488    fn write_to(&self, buf: &mut Vec<u8>) {
489        self.0.write_to(buf);
490    }
491}
492
493impl FieldValue for AgreementDateField {}
494
495
496/// `AgreementDescField` is a `STRING` field, Tag 913.
497pub struct AgreementDescField(pub FIXString);
498
499impl AgreementDescField {
500
501    pub fn new(val: String) -> Self { Self(val) }
502    pub fn value(&self) -> &str { &self.0 }
503
504    pub fn tag() -> Tag { tag::AGREEMENT_DESC }
505}
506
507impl FieldValueReader for AgreementDescField {
508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
509        self.0.read(raw)
510    }
511}
512
513impl FieldValueWriter for AgreementDescField {
514    fn write_to(&self, buf: &mut Vec<u8>) {
515        self.0.write_to(buf);
516    }
517}
518
519impl FieldValue for AgreementDescField {}
520
521
522/// `AgreementIDField` is a `STRING` field, Tag 914.
523pub struct AgreementIDField(pub FIXString);
524
525impl AgreementIDField {
526
527    pub fn new(val: String) -> Self { Self(val) }
528    pub fn value(&self) -> &str { &self.0 }
529
530    pub fn tag() -> Tag { tag::AGREEMENT_ID }
531}
532
533impl FieldValueReader for AgreementIDField {
534    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
535        self.0.read(raw)
536    }
537}
538
539impl FieldValueWriter for AgreementIDField {
540    fn write_to(&self, buf: &mut Vec<u8>) {
541        self.0.write_to(buf);
542    }
543}
544
545impl FieldValue for AgreementIDField {}
546
547
548/// `AllocAccountField` is a `STRING` field, Tag 79.
549pub struct AllocAccountField(pub FIXString);
550
551impl AllocAccountField {
552
553    pub fn new(val: String) -> Self { Self(val) }
554    pub fn value(&self) -> &str { &self.0 }
555
556    pub fn tag() -> Tag { tag::ALLOC_ACCOUNT }
557}
558
559impl FieldValueReader for AllocAccountField {
560    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
561        self.0.read(raw)
562    }
563}
564
565impl FieldValueWriter for AllocAccountField {
566    fn write_to(&self, buf: &mut Vec<u8>) {
567        self.0.write_to(buf);
568    }
569}
570
571impl FieldValue for AllocAccountField {}
572
573
574/// `AllocAccountTypeField` is a `INT` field, Tag 798.
575pub struct AllocAccountTypeField(pub FIXInt);
576
577impl AllocAccountTypeField {
578
579    pub fn new(val: isize) -> Self { Self(val) }
580    pub fn value(&self) -> isize { self.0 }
581
582    pub fn tag() -> Tag { tag::ALLOC_ACCOUNT_TYPE }
583}
584
585impl FieldValueReader for AllocAccountTypeField {
586    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
587        self.0.read(raw)
588    }
589}
590
591impl FieldValueWriter for AllocAccountTypeField {
592    fn write_to(&self, buf: &mut Vec<u8>) {
593        self.0.write_to(buf);
594    }
595}
596
597impl FieldValue for AllocAccountTypeField {}
598
599
600/// `AllocAccruedInterestAmtField` is a `AMT` field, Tag 742.
601pub struct AllocAccruedInterestAmtField(pub FIXDecimal);
602
603impl AllocAccruedInterestAmtField {
604
605    pub fn new(val: Decimal, scale: i32) -> Self {
606        Self(FIXDecimal { decimal: val, scale })
607    }
608    pub fn value(&self) -> Decimal { self.0.decimal }
609
610    pub fn tag() -> Tag { tag::ALLOC_ACCRUED_INTEREST_AMT }
611}
612
613impl FieldValueReader for AllocAccruedInterestAmtField {
614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
615        self.0.read(raw)
616    }
617}
618
619impl FieldValueWriter for AllocAccruedInterestAmtField {
620    fn write_to(&self, buf: &mut Vec<u8>) {
621        self.0.write_to(buf);
622    }
623}
624
625impl FieldValue for AllocAccruedInterestAmtField {}
626
627
628/// `AllocAcctIDSourceField` is a `INT` field, Tag 661.
629pub struct AllocAcctIDSourceField(pub FIXInt);
630
631impl AllocAcctIDSourceField {
632
633    pub fn new(val: isize) -> Self { Self(val) }
634    pub fn value(&self) -> isize { self.0 }
635
636    pub fn tag() -> Tag { tag::ALLOC_ACCT_ID_SOURCE }
637}
638
639impl FieldValueReader for AllocAcctIDSourceField {
640    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
641        self.0.read(raw)
642    }
643}
644
645impl FieldValueWriter for AllocAcctIDSourceField {
646    fn write_to(&self, buf: &mut Vec<u8>) {
647        self.0.write_to(buf);
648    }
649}
650
651impl FieldValue for AllocAcctIDSourceField {}
652
653
654/// `AllocAvgPxField` is a `PRICE` field, Tag 153.
655pub struct AllocAvgPxField(pub FIXDecimal);
656
657impl AllocAvgPxField {
658
659    pub fn new(val: Decimal, scale: i32) -> Self {
660        Self(FIXDecimal { decimal: val, scale })
661    }
662    pub fn value(&self) -> Decimal { self.0.decimal }
663
664    pub fn tag() -> Tag { tag::ALLOC_AVG_PX }
665}
666
667impl FieldValueReader for AllocAvgPxField {
668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
669        self.0.read(raw)
670    }
671}
672
673impl FieldValueWriter for AllocAvgPxField {
674    fn write_to(&self, buf: &mut Vec<u8>) {
675        self.0.write_to(buf);
676    }
677}
678
679impl FieldValue for AllocAvgPxField {}
680
681
682/// `AllocCancReplaceReasonField` is a `INT` field, Tag 796.
683pub struct AllocCancReplaceReasonField(pub FIXInt);
684
685impl AllocCancReplaceReasonField {
686
687    pub fn new(val: isize) -> Self { Self(val) }
688    pub fn value(&self) -> isize { self.0 }
689
690    pub fn tag() -> Tag { tag::ALLOC_CANC_REPLACE_REASON }
691}
692
693impl FieldValueReader for AllocCancReplaceReasonField {
694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
695        self.0.read(raw)
696    }
697}
698
699impl FieldValueWriter for AllocCancReplaceReasonField {
700    fn write_to(&self, buf: &mut Vec<u8>) {
701        self.0.write_to(buf);
702    }
703}
704
705impl FieldValue for AllocCancReplaceReasonField {}
706
707
708/// `AllocClearingFeeIndicatorField` is a `STRING` field, Tag 1136.
709pub struct AllocClearingFeeIndicatorField(pub FIXString);
710
711impl AllocClearingFeeIndicatorField {
712
713    pub fn new(val: String) -> Self { Self(val) }
714    pub fn value(&self) -> &str { &self.0 }
715
716    pub fn tag() -> Tag { tag::ALLOC_CLEARING_FEE_INDICATOR }
717}
718
719impl FieldValueReader for AllocClearingFeeIndicatorField {
720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
721        self.0.read(raw)
722    }
723}
724
725impl FieldValueWriter for AllocClearingFeeIndicatorField {
726    fn write_to(&self, buf: &mut Vec<u8>) {
727        self.0.write_to(buf);
728    }
729}
730
731impl FieldValue for AllocClearingFeeIndicatorField {}
732
733
734/// `AllocCustomerCapacityField` is a `STRING` field, Tag 993.
735pub struct AllocCustomerCapacityField(pub FIXString);
736
737impl AllocCustomerCapacityField {
738
739    pub fn new(val: String) -> Self { Self(val) }
740    pub fn value(&self) -> &str { &self.0 }
741
742    pub fn tag() -> Tag { tag::ALLOC_CUSTOMER_CAPACITY }
743}
744
745impl FieldValueReader for AllocCustomerCapacityField {
746    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
747        self.0.read(raw)
748    }
749}
750
751impl FieldValueWriter for AllocCustomerCapacityField {
752    fn write_to(&self, buf: &mut Vec<u8>) {
753        self.0.write_to(buf);
754    }
755}
756
757impl FieldValue for AllocCustomerCapacityField {}
758
759
760/// `AllocHandlInstField` is a `INT` field, Tag 209.
761pub struct AllocHandlInstField(pub FIXInt);
762
763impl AllocHandlInstField {
764
765    pub fn new(val: isize) -> Self { Self(val) }
766    pub fn value(&self) -> isize { self.0 }
767
768    pub fn tag() -> Tag { tag::ALLOC_HANDL_INST }
769}
770
771impl FieldValueReader for AllocHandlInstField {
772    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
773        self.0.read(raw)
774    }
775}
776
777impl FieldValueWriter for AllocHandlInstField {
778    fn write_to(&self, buf: &mut Vec<u8>) {
779        self.0.write_to(buf);
780    }
781}
782
783impl FieldValue for AllocHandlInstField {}
784
785
786/// `AllocIDField` is a `STRING` field, Tag 70.
787pub struct AllocIDField(pub FIXString);
788
789impl AllocIDField {
790
791    pub fn new(val: String) -> Self { Self(val) }
792    pub fn value(&self) -> &str { &self.0 }
793
794    pub fn tag() -> Tag { tag::ALLOC_ID }
795}
796
797impl FieldValueReader for AllocIDField {
798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
799        self.0.read(raw)
800    }
801}
802
803impl FieldValueWriter for AllocIDField {
804    fn write_to(&self, buf: &mut Vec<u8>) {
805        self.0.write_to(buf);
806    }
807}
808
809impl FieldValue for AllocIDField {}
810
811
812/// `AllocInterestAtMaturityField` is a `AMT` field, Tag 741.
813pub struct AllocInterestAtMaturityField(pub FIXDecimal);
814
815impl AllocInterestAtMaturityField {
816
817    pub fn new(val: Decimal, scale: i32) -> Self {
818        Self(FIXDecimal { decimal: val, scale })
819    }
820    pub fn value(&self) -> Decimal { self.0.decimal }
821
822    pub fn tag() -> Tag { tag::ALLOC_INTEREST_AT_MATURITY }
823}
824
825impl FieldValueReader for AllocInterestAtMaturityField {
826    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
827        self.0.read(raw)
828    }
829}
830
831impl FieldValueWriter for AllocInterestAtMaturityField {
832    fn write_to(&self, buf: &mut Vec<u8>) {
833        self.0.write_to(buf);
834    }
835}
836
837impl FieldValue for AllocInterestAtMaturityField {}
838
839
840/// `AllocIntermedReqTypeField` is a `INT` field, Tag 808.
841pub struct AllocIntermedReqTypeField(pub FIXInt);
842
843impl AllocIntermedReqTypeField {
844
845    pub fn new(val: isize) -> Self { Self(val) }
846    pub fn value(&self) -> isize { self.0 }
847
848    pub fn tag() -> Tag { tag::ALLOC_INTERMED_REQ_TYPE }
849}
850
851impl FieldValueReader for AllocIntermedReqTypeField {
852    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
853        self.0.read(raw)
854    }
855}
856
857impl FieldValueWriter for AllocIntermedReqTypeField {
858    fn write_to(&self, buf: &mut Vec<u8>) {
859        self.0.write_to(buf);
860    }
861}
862
863impl FieldValue for AllocIntermedReqTypeField {}
864
865
866/// `AllocLinkIDField` is a `STRING` field, Tag 196.
867pub struct AllocLinkIDField(pub FIXString);
868
869impl AllocLinkIDField {
870
871    pub fn new(val: String) -> Self { Self(val) }
872    pub fn value(&self) -> &str { &self.0 }
873
874    pub fn tag() -> Tag { tag::ALLOC_LINK_ID }
875}
876
877impl FieldValueReader for AllocLinkIDField {
878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
879        self.0.read(raw)
880    }
881}
882
883impl FieldValueWriter for AllocLinkIDField {
884    fn write_to(&self, buf: &mut Vec<u8>) {
885        self.0.write_to(buf);
886    }
887}
888
889impl FieldValue for AllocLinkIDField {}
890
891
892/// `AllocLinkTypeField` is a `INT` field, Tag 197.
893pub struct AllocLinkTypeField(pub FIXInt);
894
895impl AllocLinkTypeField {
896
897    pub fn new(val: isize) -> Self { Self(val) }
898    pub fn value(&self) -> isize { self.0 }
899
900    pub fn tag() -> Tag { tag::ALLOC_LINK_TYPE }
901}
902
903impl FieldValueReader for AllocLinkTypeField {
904    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
905        self.0.read(raw)
906    }
907}
908
909impl FieldValueWriter for AllocLinkTypeField {
910    fn write_to(&self, buf: &mut Vec<u8>) {
911        self.0.write_to(buf);
912    }
913}
914
915impl FieldValue for AllocLinkTypeField {}
916
917
918/// `AllocMethodField` is a `INT` field, Tag 1002.
919pub struct AllocMethodField(pub FIXInt);
920
921impl AllocMethodField {
922
923    pub fn new(val: isize) -> Self { Self(val) }
924    pub fn value(&self) -> isize { self.0 }
925
926    pub fn tag() -> Tag { tag::ALLOC_METHOD }
927}
928
929impl FieldValueReader for AllocMethodField {
930    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
931        self.0.read(raw)
932    }
933}
934
935impl FieldValueWriter for AllocMethodField {
936    fn write_to(&self, buf: &mut Vec<u8>) {
937        self.0.write_to(buf);
938    }
939}
940
941impl FieldValue for AllocMethodField {}
942
943
944/// `AllocNetMoneyField` is a `AMT` field, Tag 154.
945pub struct AllocNetMoneyField(pub FIXDecimal);
946
947impl AllocNetMoneyField {
948
949    pub fn new(val: Decimal, scale: i32) -> Self {
950        Self(FIXDecimal { decimal: val, scale })
951    }
952    pub fn value(&self) -> Decimal { self.0.decimal }
953
954    pub fn tag() -> Tag { tag::ALLOC_NET_MONEY }
955}
956
957impl FieldValueReader for AllocNetMoneyField {
958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
959        self.0.read(raw)
960    }
961}
962
963impl FieldValueWriter for AllocNetMoneyField {
964    fn write_to(&self, buf: &mut Vec<u8>) {
965        self.0.write_to(buf);
966    }
967}
968
969impl FieldValue for AllocNetMoneyField {}
970
971
972/// `AllocNoOrdersTypeField` is a `INT` field, Tag 857.
973pub struct AllocNoOrdersTypeField(pub FIXInt);
974
975impl AllocNoOrdersTypeField {
976
977    pub fn new(val: isize) -> Self { Self(val) }
978    pub fn value(&self) -> isize { self.0 }
979
980    pub fn tag() -> Tag { tag::ALLOC_NO_ORDERS_TYPE }
981}
982
983impl FieldValueReader for AllocNoOrdersTypeField {
984    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
985        self.0.read(raw)
986    }
987}
988
989impl FieldValueWriter for AllocNoOrdersTypeField {
990    fn write_to(&self, buf: &mut Vec<u8>) {
991        self.0.write_to(buf);
992    }
993}
994
995impl FieldValue for AllocNoOrdersTypeField {}
996
997
998/// `AllocPositionEffectField` is a `CHAR` field, Tag 1047.
999pub struct AllocPositionEffectField(pub FIXString);
1000
1001impl AllocPositionEffectField {
1002
1003    pub fn new(val: String) -> Self { Self(val) }
1004    pub fn value(&self) -> &str { &self.0 }
1005
1006    pub fn tag() -> Tag { tag::ALLOC_POSITION_EFFECT }
1007}
1008
1009impl FieldValueReader for AllocPositionEffectField {
1010    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1011        self.0.read(raw)
1012    }
1013}
1014
1015impl FieldValueWriter for AllocPositionEffectField {
1016    fn write_to(&self, buf: &mut Vec<u8>) {
1017        self.0.write_to(buf);
1018    }
1019}
1020
1021impl FieldValue for AllocPositionEffectField {}
1022
1023
1024/// `AllocPriceField` is a `PRICE` field, Tag 366.
1025pub struct AllocPriceField(pub FIXDecimal);
1026
1027impl AllocPriceField {
1028
1029    pub fn new(val: Decimal, scale: i32) -> Self {
1030        Self(FIXDecimal { decimal: val, scale })
1031    }
1032    pub fn value(&self) -> Decimal { self.0.decimal }
1033
1034    pub fn tag() -> Tag { tag::ALLOC_PRICE }
1035}
1036
1037impl FieldValueReader for AllocPriceField {
1038    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1039        self.0.read(raw)
1040    }
1041}
1042
1043impl FieldValueWriter for AllocPriceField {
1044    fn write_to(&self, buf: &mut Vec<u8>) {
1045        self.0.write_to(buf);
1046    }
1047}
1048
1049impl FieldValue for AllocPriceField {}
1050
1051
1052/// `AllocQtyField` is a `QTY` field, Tag 80.
1053pub struct AllocQtyField(pub FIXDecimal);
1054
1055impl AllocQtyField {
1056
1057    pub fn new(val: Decimal, scale: i32) -> Self {
1058        Self(FIXDecimal { decimal: val, scale })
1059    }
1060    pub fn value(&self) -> Decimal { self.0.decimal }
1061
1062    pub fn tag() -> Tag { tag::ALLOC_QTY }
1063}
1064
1065impl FieldValueReader for AllocQtyField {
1066    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1067        self.0.read(raw)
1068    }
1069}
1070
1071impl FieldValueWriter for AllocQtyField {
1072    fn write_to(&self, buf: &mut Vec<u8>) {
1073        self.0.write_to(buf);
1074    }
1075}
1076
1077impl FieldValue for AllocQtyField {}
1078
1079
1080/// `AllocRejCodeField` is a `INT` field, Tag 88.
1081pub struct AllocRejCodeField(pub FIXInt);
1082
1083impl AllocRejCodeField {
1084
1085    pub fn new(val: isize) -> Self { Self(val) }
1086    pub fn value(&self) -> isize { self.0 }
1087
1088    pub fn tag() -> Tag { tag::ALLOC_REJ_CODE }
1089}
1090
1091impl FieldValueReader for AllocRejCodeField {
1092    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1093        self.0.read(raw)
1094    }
1095}
1096
1097impl FieldValueWriter for AllocRejCodeField {
1098    fn write_to(&self, buf: &mut Vec<u8>) {
1099        self.0.write_to(buf);
1100    }
1101}
1102
1103impl FieldValue for AllocRejCodeField {}
1104
1105
1106/// `AllocReportIDField` is a `STRING` field, Tag 755.
1107pub struct AllocReportIDField(pub FIXString);
1108
1109impl AllocReportIDField {
1110
1111    pub fn new(val: String) -> Self { Self(val) }
1112    pub fn value(&self) -> &str { &self.0 }
1113
1114    pub fn tag() -> Tag { tag::ALLOC_REPORT_ID }
1115}
1116
1117impl FieldValueReader for AllocReportIDField {
1118    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1119        self.0.read(raw)
1120    }
1121}
1122
1123impl FieldValueWriter for AllocReportIDField {
1124    fn write_to(&self, buf: &mut Vec<u8>) {
1125        self.0.write_to(buf);
1126    }
1127}
1128
1129impl FieldValue for AllocReportIDField {}
1130
1131
1132/// `AllocReportRefIDField` is a `STRING` field, Tag 795.
1133pub struct AllocReportRefIDField(pub FIXString);
1134
1135impl AllocReportRefIDField {
1136
1137    pub fn new(val: String) -> Self { Self(val) }
1138    pub fn value(&self) -> &str { &self.0 }
1139
1140    pub fn tag() -> Tag { tag::ALLOC_REPORT_REF_ID }
1141}
1142
1143impl FieldValueReader for AllocReportRefIDField {
1144    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1145        self.0.read(raw)
1146    }
1147}
1148
1149impl FieldValueWriter for AllocReportRefIDField {
1150    fn write_to(&self, buf: &mut Vec<u8>) {
1151        self.0.write_to(buf);
1152    }
1153}
1154
1155impl FieldValue for AllocReportRefIDField {}
1156
1157
1158/// `AllocReportTypeField` is a `INT` field, Tag 794.
1159pub struct AllocReportTypeField(pub FIXInt);
1160
1161impl AllocReportTypeField {
1162
1163    pub fn new(val: isize) -> Self { Self(val) }
1164    pub fn value(&self) -> isize { self.0 }
1165
1166    pub fn tag() -> Tag { tag::ALLOC_REPORT_TYPE }
1167}
1168
1169impl FieldValueReader for AllocReportTypeField {
1170    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1171        self.0.read(raw)
1172    }
1173}
1174
1175impl FieldValueWriter for AllocReportTypeField {
1176    fn write_to(&self, buf: &mut Vec<u8>) {
1177        self.0.write_to(buf);
1178    }
1179}
1180
1181impl FieldValue for AllocReportTypeField {}
1182
1183
1184/// `AllocSettlCurrAmtField` is a `AMT` field, Tag 737.
1185pub struct AllocSettlCurrAmtField(pub FIXDecimal);
1186
1187impl AllocSettlCurrAmtField {
1188
1189    pub fn new(val: Decimal, scale: i32) -> Self {
1190        Self(FIXDecimal { decimal: val, scale })
1191    }
1192    pub fn value(&self) -> Decimal { self.0.decimal }
1193
1194    pub fn tag() -> Tag { tag::ALLOC_SETTL_CURR_AMT }
1195}
1196
1197impl FieldValueReader for AllocSettlCurrAmtField {
1198    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1199        self.0.read(raw)
1200    }
1201}
1202
1203impl FieldValueWriter for AllocSettlCurrAmtField {
1204    fn write_to(&self, buf: &mut Vec<u8>) {
1205        self.0.write_to(buf);
1206    }
1207}
1208
1209impl FieldValue for AllocSettlCurrAmtField {}
1210
1211
1212/// `AllocSettlCurrencyField` is a `CURRENCY` field, Tag 736.
1213pub struct AllocSettlCurrencyField(pub FIXString);
1214
1215impl AllocSettlCurrencyField {
1216
1217    pub fn new(val: String) -> Self { Self(val) }
1218    pub fn value(&self) -> &str { &self.0 }
1219
1220    pub fn tag() -> Tag { tag::ALLOC_SETTL_CURRENCY }
1221}
1222
1223impl FieldValueReader for AllocSettlCurrencyField {
1224    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1225        self.0.read(raw)
1226    }
1227}
1228
1229impl FieldValueWriter for AllocSettlCurrencyField {
1230    fn write_to(&self, buf: &mut Vec<u8>) {
1231        self.0.write_to(buf);
1232    }
1233}
1234
1235impl FieldValue for AllocSettlCurrencyField {}
1236
1237
1238/// `AllocSettlInstTypeField` is a `INT` field, Tag 780.
1239pub struct AllocSettlInstTypeField(pub FIXInt);
1240
1241impl AllocSettlInstTypeField {
1242
1243    pub fn new(val: isize) -> Self { Self(val) }
1244    pub fn value(&self) -> isize { self.0 }
1245
1246    pub fn tag() -> Tag { tag::ALLOC_SETTL_INST_TYPE }
1247}
1248
1249impl FieldValueReader for AllocSettlInstTypeField {
1250    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1251        self.0.read(raw)
1252    }
1253}
1254
1255impl FieldValueWriter for AllocSettlInstTypeField {
1256    fn write_to(&self, buf: &mut Vec<u8>) {
1257        self.0.write_to(buf);
1258    }
1259}
1260
1261impl FieldValue for AllocSettlInstTypeField {}
1262
1263
1264/// `AllocSharesField` is a `QTY` field, Tag 80.
1265pub struct AllocSharesField(pub FIXDecimal);
1266
1267impl AllocSharesField {
1268
1269    pub fn new(val: Decimal, scale: i32) -> Self {
1270        Self(FIXDecimal { decimal: val, scale })
1271    }
1272    pub fn value(&self) -> Decimal { self.0.decimal }
1273
1274    pub fn tag() -> Tag { tag::ALLOC_SHARES }
1275}
1276
1277impl FieldValueReader for AllocSharesField {
1278    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1279        self.0.read(raw)
1280    }
1281}
1282
1283impl FieldValueWriter for AllocSharesField {
1284    fn write_to(&self, buf: &mut Vec<u8>) {
1285        self.0.write_to(buf);
1286    }
1287}
1288
1289impl FieldValue for AllocSharesField {}
1290
1291
1292/// `AllocStatusField` is a `INT` field, Tag 87.
1293pub struct AllocStatusField(pub FIXInt);
1294
1295impl AllocStatusField {
1296
1297    pub fn new(val: isize) -> Self { Self(val) }
1298    pub fn value(&self) -> isize { self.0 }
1299
1300    pub fn tag() -> Tag { tag::ALLOC_STATUS }
1301}
1302
1303impl FieldValueReader for AllocStatusField {
1304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1305        self.0.read(raw)
1306    }
1307}
1308
1309impl FieldValueWriter for AllocStatusField {
1310    fn write_to(&self, buf: &mut Vec<u8>) {
1311        self.0.write_to(buf);
1312    }
1313}
1314
1315impl FieldValue for AllocStatusField {}
1316
1317
1318/// `AllocTextField` is a `STRING` field, Tag 161.
1319pub struct AllocTextField(pub FIXString);
1320
1321impl AllocTextField {
1322
1323    pub fn new(val: String) -> Self { Self(val) }
1324    pub fn value(&self) -> &str { &self.0 }
1325
1326    pub fn tag() -> Tag { tag::ALLOC_TEXT }
1327}
1328
1329impl FieldValueReader for AllocTextField {
1330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1331        self.0.read(raw)
1332    }
1333}
1334
1335impl FieldValueWriter for AllocTextField {
1336    fn write_to(&self, buf: &mut Vec<u8>) {
1337        self.0.write_to(buf);
1338    }
1339}
1340
1341impl FieldValue for AllocTextField {}
1342
1343
1344/// `AllocTransTypeField` is a `CHAR` field, Tag 71.
1345pub struct AllocTransTypeField(pub FIXString);
1346
1347impl AllocTransTypeField {
1348
1349    pub fn new(val: String) -> Self { Self(val) }
1350    pub fn value(&self) -> &str { &self.0 }
1351
1352    pub fn tag() -> Tag { tag::ALLOC_TRANS_TYPE }
1353}
1354
1355impl FieldValueReader for AllocTransTypeField {
1356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1357        self.0.read(raw)
1358    }
1359}
1360
1361impl FieldValueWriter for AllocTransTypeField {
1362    fn write_to(&self, buf: &mut Vec<u8>) {
1363        self.0.write_to(buf);
1364    }
1365}
1366
1367impl FieldValue for AllocTransTypeField {}
1368
1369
1370/// `AllocTypeField` is a `INT` field, Tag 626.
1371pub struct AllocTypeField(pub FIXInt);
1372
1373impl AllocTypeField {
1374
1375    pub fn new(val: isize) -> Self { Self(val) }
1376    pub fn value(&self) -> isize { self.0 }
1377
1378    pub fn tag() -> Tag { tag::ALLOC_TYPE }
1379}
1380
1381impl FieldValueReader for AllocTypeField {
1382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1383        self.0.read(raw)
1384    }
1385}
1386
1387impl FieldValueWriter for AllocTypeField {
1388    fn write_to(&self, buf: &mut Vec<u8>) {
1389        self.0.write_to(buf);
1390    }
1391}
1392
1393impl FieldValue for AllocTypeField {}
1394
1395
1396/// `AllowableOneSidednessCurrField` is a `CURRENCY` field, Tag 767.
1397pub struct AllowableOneSidednessCurrField(pub FIXString);
1398
1399impl AllowableOneSidednessCurrField {
1400
1401    pub fn new(val: String) -> Self { Self(val) }
1402    pub fn value(&self) -> &str { &self.0 }
1403
1404    pub fn tag() -> Tag { tag::ALLOWABLE_ONE_SIDEDNESS_CURR }
1405}
1406
1407impl FieldValueReader for AllowableOneSidednessCurrField {
1408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1409        self.0.read(raw)
1410    }
1411}
1412
1413impl FieldValueWriter for AllowableOneSidednessCurrField {
1414    fn write_to(&self, buf: &mut Vec<u8>) {
1415        self.0.write_to(buf);
1416    }
1417}
1418
1419impl FieldValue for AllowableOneSidednessCurrField {}
1420
1421
1422/// `AllowableOneSidednessPctField` is a `PERCENTAGE` field, Tag 765.
1423pub struct AllowableOneSidednessPctField(pub FIXDecimal);
1424
1425impl AllowableOneSidednessPctField {
1426
1427    pub fn new(val: Decimal, scale: i32) -> Self {
1428        Self(FIXDecimal { decimal: val, scale })
1429    }
1430    pub fn value(&self) -> Decimal { self.0.decimal }
1431
1432    pub fn tag() -> Tag { tag::ALLOWABLE_ONE_SIDEDNESS_PCT }
1433}
1434
1435impl FieldValueReader for AllowableOneSidednessPctField {
1436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1437        self.0.read(raw)
1438    }
1439}
1440
1441impl FieldValueWriter for AllowableOneSidednessPctField {
1442    fn write_to(&self, buf: &mut Vec<u8>) {
1443        self.0.write_to(buf);
1444    }
1445}
1446
1447impl FieldValue for AllowableOneSidednessPctField {}
1448
1449
1450/// `AllowableOneSidednessValueField` is a `AMT` field, Tag 766.
1451pub struct AllowableOneSidednessValueField(pub FIXDecimal);
1452
1453impl AllowableOneSidednessValueField {
1454
1455    pub fn new(val: Decimal, scale: i32) -> Self {
1456        Self(FIXDecimal { decimal: val, scale })
1457    }
1458    pub fn value(&self) -> Decimal { self.0.decimal }
1459
1460    pub fn tag() -> Tag { tag::ALLOWABLE_ONE_SIDEDNESS_VALUE }
1461}
1462
1463impl FieldValueReader for AllowableOneSidednessValueField {
1464    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1465        self.0.read(raw)
1466    }
1467}
1468
1469impl FieldValueWriter for AllowableOneSidednessValueField {
1470    fn write_to(&self, buf: &mut Vec<u8>) {
1471        self.0.write_to(buf);
1472    }
1473}
1474
1475impl FieldValue for AllowableOneSidednessValueField {}
1476
1477
1478/// `AltMDSourceIDField` is a `STRING` field, Tag 817.
1479pub struct AltMDSourceIDField(pub FIXString);
1480
1481impl AltMDSourceIDField {
1482
1483    pub fn new(val: String) -> Self { Self(val) }
1484    pub fn value(&self) -> &str { &self.0 }
1485
1486    pub fn tag() -> Tag { tag::ALT_MD_SOURCE_ID }
1487}
1488
1489impl FieldValueReader for AltMDSourceIDField {
1490    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1491        self.0.read(raw)
1492    }
1493}
1494
1495impl FieldValueWriter for AltMDSourceIDField {
1496    fn write_to(&self, buf: &mut Vec<u8>) {
1497        self.0.write_to(buf);
1498    }
1499}
1500
1501impl FieldValue for AltMDSourceIDField {}
1502
1503
1504/// `ApplBegSeqNumField` is a `SEQNUM` field, Tag 1182.
1505pub struct ApplBegSeqNumField(pub FIXInt);
1506
1507impl ApplBegSeqNumField {
1508
1509    pub fn new(val: isize) -> Self { Self(val) }
1510    pub fn value(&self) -> isize { self.0 }
1511
1512    pub fn tag() -> Tag { tag::APPL_BEG_SEQ_NUM }
1513}
1514
1515impl FieldValueReader for ApplBegSeqNumField {
1516    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1517        self.0.read(raw)
1518    }
1519}
1520
1521impl FieldValueWriter for ApplBegSeqNumField {
1522    fn write_to(&self, buf: &mut Vec<u8>) {
1523        self.0.write_to(buf);
1524    }
1525}
1526
1527impl FieldValue for ApplBegSeqNumField {}
1528
1529
1530/// `ApplEndSeqNumField` is a `SEQNUM` field, Tag 1183.
1531pub struct ApplEndSeqNumField(pub FIXInt);
1532
1533impl ApplEndSeqNumField {
1534
1535    pub fn new(val: isize) -> Self { Self(val) }
1536    pub fn value(&self) -> isize { self.0 }
1537
1538    pub fn tag() -> Tag { tag::APPL_END_SEQ_NUM }
1539}
1540
1541impl FieldValueReader for ApplEndSeqNumField {
1542    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1543        self.0.read(raw)
1544    }
1545}
1546
1547impl FieldValueWriter for ApplEndSeqNumField {
1548    fn write_to(&self, buf: &mut Vec<u8>) {
1549        self.0.write_to(buf);
1550    }
1551}
1552
1553impl FieldValue for ApplEndSeqNumField {}
1554
1555
1556/// `ApplExtIDField` is a `INT` field, Tag 1156.
1557pub struct ApplExtIDField(pub FIXInt);
1558
1559impl ApplExtIDField {
1560
1561    pub fn new(val: isize) -> Self { Self(val) }
1562    pub fn value(&self) -> isize { self.0 }
1563
1564    pub fn tag() -> Tag { tag::APPL_EXT_ID }
1565}
1566
1567impl FieldValueReader for ApplExtIDField {
1568    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1569        self.0.read(raw)
1570    }
1571}
1572
1573impl FieldValueWriter for ApplExtIDField {
1574    fn write_to(&self, buf: &mut Vec<u8>) {
1575        self.0.write_to(buf);
1576    }
1577}
1578
1579impl FieldValue for ApplExtIDField {}
1580
1581
1582/// `ApplIDField` is a `STRING` field, Tag 1180.
1583pub struct ApplIDField(pub FIXString);
1584
1585impl ApplIDField {
1586
1587    pub fn new(val: String) -> Self { Self(val) }
1588    pub fn value(&self) -> &str { &self.0 }
1589
1590    pub fn tag() -> Tag { tag::APPL_ID }
1591}
1592
1593impl FieldValueReader for ApplIDField {
1594    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1595        self.0.read(raw)
1596    }
1597}
1598
1599impl FieldValueWriter for ApplIDField {
1600    fn write_to(&self, buf: &mut Vec<u8>) {
1601        self.0.write_to(buf);
1602    }
1603}
1604
1605impl FieldValue for ApplIDField {}
1606
1607
1608/// `ApplLastSeqNumField` is a `SEQNUM` field, Tag 1350.
1609pub struct ApplLastSeqNumField(pub FIXInt);
1610
1611impl ApplLastSeqNumField {
1612
1613    pub fn new(val: isize) -> Self { Self(val) }
1614    pub fn value(&self) -> isize { self.0 }
1615
1616    pub fn tag() -> Tag { tag::APPL_LAST_SEQ_NUM }
1617}
1618
1619impl FieldValueReader for ApplLastSeqNumField {
1620    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1621        self.0.read(raw)
1622    }
1623}
1624
1625impl FieldValueWriter for ApplLastSeqNumField {
1626    fn write_to(&self, buf: &mut Vec<u8>) {
1627        self.0.write_to(buf);
1628    }
1629}
1630
1631impl FieldValue for ApplLastSeqNumField {}
1632
1633
1634/// `ApplNewSeqNumField` is a `SEQNUM` field, Tag 1399.
1635pub struct ApplNewSeqNumField(pub FIXInt);
1636
1637impl ApplNewSeqNumField {
1638
1639    pub fn new(val: isize) -> Self { Self(val) }
1640    pub fn value(&self) -> isize { self.0 }
1641
1642    pub fn tag() -> Tag { tag::APPL_NEW_SEQ_NUM }
1643}
1644
1645impl FieldValueReader for ApplNewSeqNumField {
1646    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1647        self.0.read(raw)
1648    }
1649}
1650
1651impl FieldValueWriter for ApplNewSeqNumField {
1652    fn write_to(&self, buf: &mut Vec<u8>) {
1653        self.0.write_to(buf);
1654    }
1655}
1656
1657impl FieldValue for ApplNewSeqNumField {}
1658
1659
1660/// `ApplQueueActionField` is a `INT` field, Tag 815.
1661pub struct ApplQueueActionField(pub FIXInt);
1662
1663impl ApplQueueActionField {
1664
1665    pub fn new(val: isize) -> Self { Self(val) }
1666    pub fn value(&self) -> isize { self.0 }
1667
1668    pub fn tag() -> Tag { tag::APPL_QUEUE_ACTION }
1669}
1670
1671impl FieldValueReader for ApplQueueActionField {
1672    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1673        self.0.read(raw)
1674    }
1675}
1676
1677impl FieldValueWriter for ApplQueueActionField {
1678    fn write_to(&self, buf: &mut Vec<u8>) {
1679        self.0.write_to(buf);
1680    }
1681}
1682
1683impl FieldValue for ApplQueueActionField {}
1684
1685
1686/// `ApplQueueDepthField` is a `INT` field, Tag 813.
1687pub struct ApplQueueDepthField(pub FIXInt);
1688
1689impl ApplQueueDepthField {
1690
1691    pub fn new(val: isize) -> Self { Self(val) }
1692    pub fn value(&self) -> isize { self.0 }
1693
1694    pub fn tag() -> Tag { tag::APPL_QUEUE_DEPTH }
1695}
1696
1697impl FieldValueReader for ApplQueueDepthField {
1698    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1699        self.0.read(raw)
1700    }
1701}
1702
1703impl FieldValueWriter for ApplQueueDepthField {
1704    fn write_to(&self, buf: &mut Vec<u8>) {
1705        self.0.write_to(buf);
1706    }
1707}
1708
1709impl FieldValue for ApplQueueDepthField {}
1710
1711
1712/// `ApplQueueMaxField` is a `INT` field, Tag 812.
1713pub struct ApplQueueMaxField(pub FIXInt);
1714
1715impl ApplQueueMaxField {
1716
1717    pub fn new(val: isize) -> Self { Self(val) }
1718    pub fn value(&self) -> isize { self.0 }
1719
1720    pub fn tag() -> Tag { tag::APPL_QUEUE_MAX }
1721}
1722
1723impl FieldValueReader for ApplQueueMaxField {
1724    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1725        self.0.read(raw)
1726    }
1727}
1728
1729impl FieldValueWriter for ApplQueueMaxField {
1730    fn write_to(&self, buf: &mut Vec<u8>) {
1731        self.0.write_to(buf);
1732    }
1733}
1734
1735impl FieldValue for ApplQueueMaxField {}
1736
1737
1738/// `ApplQueueResolutionField` is a `INT` field, Tag 814.
1739pub struct ApplQueueResolutionField(pub FIXInt);
1740
1741impl ApplQueueResolutionField {
1742
1743    pub fn new(val: isize) -> Self { Self(val) }
1744    pub fn value(&self) -> isize { self.0 }
1745
1746    pub fn tag() -> Tag { tag::APPL_QUEUE_RESOLUTION }
1747}
1748
1749impl FieldValueReader for ApplQueueResolutionField {
1750    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1751        self.0.read(raw)
1752    }
1753}
1754
1755impl FieldValueWriter for ApplQueueResolutionField {
1756    fn write_to(&self, buf: &mut Vec<u8>) {
1757        self.0.write_to(buf);
1758    }
1759}
1760
1761impl FieldValue for ApplQueueResolutionField {}
1762
1763
1764/// `ApplReportIDField` is a `STRING` field, Tag 1356.
1765pub struct ApplReportIDField(pub FIXString);
1766
1767impl ApplReportIDField {
1768
1769    pub fn new(val: String) -> Self { Self(val) }
1770    pub fn value(&self) -> &str { &self.0 }
1771
1772    pub fn tag() -> Tag { tag::APPL_REPORT_ID }
1773}
1774
1775impl FieldValueReader for ApplReportIDField {
1776    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1777        self.0.read(raw)
1778    }
1779}
1780
1781impl FieldValueWriter for ApplReportIDField {
1782    fn write_to(&self, buf: &mut Vec<u8>) {
1783        self.0.write_to(buf);
1784    }
1785}
1786
1787impl FieldValue for ApplReportIDField {}
1788
1789
1790/// `ApplReportTypeField` is a `INT` field, Tag 1426.
1791pub struct ApplReportTypeField(pub FIXInt);
1792
1793impl ApplReportTypeField {
1794
1795    pub fn new(val: isize) -> Self { Self(val) }
1796    pub fn value(&self) -> isize { self.0 }
1797
1798    pub fn tag() -> Tag { tag::APPL_REPORT_TYPE }
1799}
1800
1801impl FieldValueReader for ApplReportTypeField {
1802    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1803        self.0.read(raw)
1804    }
1805}
1806
1807impl FieldValueWriter for ApplReportTypeField {
1808    fn write_to(&self, buf: &mut Vec<u8>) {
1809        self.0.write_to(buf);
1810    }
1811}
1812
1813impl FieldValue for ApplReportTypeField {}
1814
1815
1816/// `ApplReqIDField` is a `STRING` field, Tag 1346.
1817pub struct ApplReqIDField(pub FIXString);
1818
1819impl ApplReqIDField {
1820
1821    pub fn new(val: String) -> Self { Self(val) }
1822    pub fn value(&self) -> &str { &self.0 }
1823
1824    pub fn tag() -> Tag { tag::APPL_REQ_ID }
1825}
1826
1827impl FieldValueReader for ApplReqIDField {
1828    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1829        self.0.read(raw)
1830    }
1831}
1832
1833impl FieldValueWriter for ApplReqIDField {
1834    fn write_to(&self, buf: &mut Vec<u8>) {
1835        self.0.write_to(buf);
1836    }
1837}
1838
1839impl FieldValue for ApplReqIDField {}
1840
1841
1842/// `ApplReqTypeField` is a `INT` field, Tag 1347.
1843pub struct ApplReqTypeField(pub FIXInt);
1844
1845impl ApplReqTypeField {
1846
1847    pub fn new(val: isize) -> Self { Self(val) }
1848    pub fn value(&self) -> isize { self.0 }
1849
1850    pub fn tag() -> Tag { tag::APPL_REQ_TYPE }
1851}
1852
1853impl FieldValueReader for ApplReqTypeField {
1854    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1855        self.0.read(raw)
1856    }
1857}
1858
1859impl FieldValueWriter for ApplReqTypeField {
1860    fn write_to(&self, buf: &mut Vec<u8>) {
1861        self.0.write_to(buf);
1862    }
1863}
1864
1865impl FieldValue for ApplReqTypeField {}
1866
1867
1868/// `ApplResendFlagField` is a `BOOLEAN` field, Tag 1352.
1869pub struct ApplResendFlagField(pub FIXBoolean);
1870
1871impl ApplResendFlagField {
1872
1873    pub fn new(val: bool) -> Self { Self(val) }
1874    pub fn value(&self) -> bool { self.0 }
1875
1876    pub fn tag() -> Tag { tag::APPL_RESEND_FLAG }
1877}
1878
1879impl FieldValueReader for ApplResendFlagField {
1880    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1881        self.0.read(raw)
1882    }
1883}
1884
1885impl FieldValueWriter for ApplResendFlagField {
1886    fn write_to(&self, buf: &mut Vec<u8>) {
1887        self.0.write_to(buf);
1888    }
1889}
1890
1891impl FieldValue for ApplResendFlagField {}
1892
1893
1894/// `ApplResponseErrorField` is a `INT` field, Tag 1354.
1895pub struct ApplResponseErrorField(pub FIXInt);
1896
1897impl ApplResponseErrorField {
1898
1899    pub fn new(val: isize) -> Self { Self(val) }
1900    pub fn value(&self) -> isize { self.0 }
1901
1902    pub fn tag() -> Tag { tag::APPL_RESPONSE_ERROR }
1903}
1904
1905impl FieldValueReader for ApplResponseErrorField {
1906    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1907        self.0.read(raw)
1908    }
1909}
1910
1911impl FieldValueWriter for ApplResponseErrorField {
1912    fn write_to(&self, buf: &mut Vec<u8>) {
1913        self.0.write_to(buf);
1914    }
1915}
1916
1917impl FieldValue for ApplResponseErrorField {}
1918
1919
1920/// `ApplResponseIDField` is a `STRING` field, Tag 1353.
1921pub struct ApplResponseIDField(pub FIXString);
1922
1923impl ApplResponseIDField {
1924
1925    pub fn new(val: String) -> Self { Self(val) }
1926    pub fn value(&self) -> &str { &self.0 }
1927
1928    pub fn tag() -> Tag { tag::APPL_RESPONSE_ID }
1929}
1930
1931impl FieldValueReader for ApplResponseIDField {
1932    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1933        self.0.read(raw)
1934    }
1935}
1936
1937impl FieldValueWriter for ApplResponseIDField {
1938    fn write_to(&self, buf: &mut Vec<u8>) {
1939        self.0.write_to(buf);
1940    }
1941}
1942
1943impl FieldValue for ApplResponseIDField {}
1944
1945
1946/// `ApplResponseTypeField` is a `INT` field, Tag 1348.
1947pub struct ApplResponseTypeField(pub FIXInt);
1948
1949impl ApplResponseTypeField {
1950
1951    pub fn new(val: isize) -> Self { Self(val) }
1952    pub fn value(&self) -> isize { self.0 }
1953
1954    pub fn tag() -> Tag { tag::APPL_RESPONSE_TYPE }
1955}
1956
1957impl FieldValueReader for ApplResponseTypeField {
1958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1959        self.0.read(raw)
1960    }
1961}
1962
1963impl FieldValueWriter for ApplResponseTypeField {
1964    fn write_to(&self, buf: &mut Vec<u8>) {
1965        self.0.write_to(buf);
1966    }
1967}
1968
1969impl FieldValue for ApplResponseTypeField {}
1970
1971
1972/// `ApplSeqNumField` is a `SEQNUM` field, Tag 1181.
1973pub struct ApplSeqNumField(pub FIXInt);
1974
1975impl ApplSeqNumField {
1976
1977    pub fn new(val: isize) -> Self { Self(val) }
1978    pub fn value(&self) -> isize { self.0 }
1979
1980    pub fn tag() -> Tag { tag::APPL_SEQ_NUM }
1981}
1982
1983impl FieldValueReader for ApplSeqNumField {
1984    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
1985        self.0.read(raw)
1986    }
1987}
1988
1989impl FieldValueWriter for ApplSeqNumField {
1990    fn write_to(&self, buf: &mut Vec<u8>) {
1991        self.0.write_to(buf);
1992    }
1993}
1994
1995impl FieldValue for ApplSeqNumField {}
1996
1997
1998/// `ApplTotalMessageCountField` is a `INT` field, Tag 1349.
1999pub struct ApplTotalMessageCountField(pub FIXInt);
2000
2001impl ApplTotalMessageCountField {
2002
2003    pub fn new(val: isize) -> Self { Self(val) }
2004    pub fn value(&self) -> isize { self.0 }
2005
2006    pub fn tag() -> Tag { tag::APPL_TOTAL_MESSAGE_COUNT }
2007}
2008
2009impl FieldValueReader for ApplTotalMessageCountField {
2010    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2011        self.0.read(raw)
2012    }
2013}
2014
2015impl FieldValueWriter for ApplTotalMessageCountField {
2016    fn write_to(&self, buf: &mut Vec<u8>) {
2017        self.0.write_to(buf);
2018    }
2019}
2020
2021impl FieldValue for ApplTotalMessageCountField {}
2022
2023
2024/// `ApplVerIDField` is a `STRING` field, Tag 1128.
2025pub struct ApplVerIDField(pub FIXString);
2026
2027impl ApplVerIDField {
2028
2029    pub fn new(val: String) -> Self { Self(val) }
2030    pub fn value(&self) -> &str { &self.0 }
2031
2032    pub fn tag() -> Tag { tag::APPL_VER_ID }
2033}
2034
2035impl FieldValueReader for ApplVerIDField {
2036    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2037        self.0.read(raw)
2038    }
2039}
2040
2041impl FieldValueWriter for ApplVerIDField {
2042    fn write_to(&self, buf: &mut Vec<u8>) {
2043        self.0.write_to(buf);
2044    }
2045}
2046
2047impl FieldValue for ApplVerIDField {}
2048
2049
2050/// `AsOfIndicatorField` is a `CHAR` field, Tag 1015.
2051pub struct AsOfIndicatorField(pub FIXString);
2052
2053impl AsOfIndicatorField {
2054
2055    pub fn new(val: String) -> Self { Self(val) }
2056    pub fn value(&self) -> &str { &self.0 }
2057
2058    pub fn tag() -> Tag { tag::AS_OF_INDICATOR }
2059}
2060
2061impl FieldValueReader for AsOfIndicatorField {
2062    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2063        self.0.read(raw)
2064    }
2065}
2066
2067impl FieldValueWriter for AsOfIndicatorField {
2068    fn write_to(&self, buf: &mut Vec<u8>) {
2069        self.0.write_to(buf);
2070    }
2071}
2072
2073impl FieldValue for AsOfIndicatorField {}
2074
2075
2076/// `AsgnReqIDField` is a `STRING` field, Tag 831.
2077pub struct AsgnReqIDField(pub FIXString);
2078
2079impl AsgnReqIDField {
2080
2081    pub fn new(val: String) -> Self { Self(val) }
2082    pub fn value(&self) -> &str { &self.0 }
2083
2084    pub fn tag() -> Tag { tag::ASGN_REQ_ID }
2085}
2086
2087impl FieldValueReader for AsgnReqIDField {
2088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2089        self.0.read(raw)
2090    }
2091}
2092
2093impl FieldValueWriter for AsgnReqIDField {
2094    fn write_to(&self, buf: &mut Vec<u8>) {
2095        self.0.write_to(buf);
2096    }
2097}
2098
2099impl FieldValue for AsgnReqIDField {}
2100
2101
2102/// `AsgnRptIDField` is a `STRING` field, Tag 833.
2103pub struct AsgnRptIDField(pub FIXString);
2104
2105impl AsgnRptIDField {
2106
2107    pub fn new(val: String) -> Self { Self(val) }
2108    pub fn value(&self) -> &str { &self.0 }
2109
2110    pub fn tag() -> Tag { tag::ASGN_RPT_ID }
2111}
2112
2113impl FieldValueReader for AsgnRptIDField {
2114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2115        self.0.read(raw)
2116    }
2117}
2118
2119impl FieldValueWriter for AsgnRptIDField {
2120    fn write_to(&self, buf: &mut Vec<u8>) {
2121        self.0.write_to(buf);
2122    }
2123}
2124
2125impl FieldValue for AsgnRptIDField {}
2126
2127
2128/// `AssignmentMethodField` is a `CHAR` field, Tag 744.
2129pub struct AssignmentMethodField(pub FIXString);
2130
2131impl AssignmentMethodField {
2132
2133    pub fn new(val: String) -> Self { Self(val) }
2134    pub fn value(&self) -> &str { &self.0 }
2135
2136    pub fn tag() -> Tag { tag::ASSIGNMENT_METHOD }
2137}
2138
2139impl FieldValueReader for AssignmentMethodField {
2140    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2141        self.0.read(raw)
2142    }
2143}
2144
2145impl FieldValueWriter for AssignmentMethodField {
2146    fn write_to(&self, buf: &mut Vec<u8>) {
2147        self.0.write_to(buf);
2148    }
2149}
2150
2151impl FieldValue for AssignmentMethodField {}
2152
2153
2154/// `AssignmentUnitField` is a `QTY` field, Tag 745.
2155pub struct AssignmentUnitField(pub FIXDecimal);
2156
2157impl AssignmentUnitField {
2158
2159    pub fn new(val: Decimal, scale: i32) -> Self {
2160        Self(FIXDecimal { decimal: val, scale })
2161    }
2162    pub fn value(&self) -> Decimal { self.0.decimal }
2163
2164    pub fn tag() -> Tag { tag::ASSIGNMENT_UNIT }
2165}
2166
2167impl FieldValueReader for AssignmentUnitField {
2168    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2169        self.0.read(raw)
2170    }
2171}
2172
2173impl FieldValueWriter for AssignmentUnitField {
2174    fn write_to(&self, buf: &mut Vec<u8>) {
2175        self.0.write_to(buf);
2176    }
2177}
2178
2179impl FieldValue for AssignmentUnitField {}
2180
2181
2182/// `AttachmentPointField` is a `PERCENTAGE` field, Tag 1457.
2183pub struct AttachmentPointField(pub FIXDecimal);
2184
2185impl AttachmentPointField {
2186
2187    pub fn new(val: Decimal, scale: i32) -> Self {
2188        Self(FIXDecimal { decimal: val, scale })
2189    }
2190    pub fn value(&self) -> Decimal { self.0.decimal }
2191
2192    pub fn tag() -> Tag { tag::ATTACHMENT_POINT }
2193}
2194
2195impl FieldValueReader for AttachmentPointField {
2196    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2197        self.0.read(raw)
2198    }
2199}
2200
2201impl FieldValueWriter for AttachmentPointField {
2202    fn write_to(&self, buf: &mut Vec<u8>) {
2203        self.0.write_to(buf);
2204    }
2205}
2206
2207impl FieldValue for AttachmentPointField {}
2208
2209
2210/// `AutoAcceptIndicatorField` is a `BOOLEAN` field, Tag 754.
2211pub struct AutoAcceptIndicatorField(pub FIXBoolean);
2212
2213impl AutoAcceptIndicatorField {
2214
2215    pub fn new(val: bool) -> Self { Self(val) }
2216    pub fn value(&self) -> bool { self.0 }
2217
2218    pub fn tag() -> Tag { tag::AUTO_ACCEPT_INDICATOR }
2219}
2220
2221impl FieldValueReader for AutoAcceptIndicatorField {
2222    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2223        self.0.read(raw)
2224    }
2225}
2226
2227impl FieldValueWriter for AutoAcceptIndicatorField {
2228    fn write_to(&self, buf: &mut Vec<u8>) {
2229        self.0.write_to(buf);
2230    }
2231}
2232
2233impl FieldValue for AutoAcceptIndicatorField {}
2234
2235
2236/// `AvgParPxField` is a `PRICE` field, Tag 860.
2237pub struct AvgParPxField(pub FIXDecimal);
2238
2239impl AvgParPxField {
2240
2241    pub fn new(val: Decimal, scale: i32) -> Self {
2242        Self(FIXDecimal { decimal: val, scale })
2243    }
2244    pub fn value(&self) -> Decimal { self.0.decimal }
2245
2246    pub fn tag() -> Tag { tag::AVG_PAR_PX }
2247}
2248
2249impl FieldValueReader for AvgParPxField {
2250    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2251        self.0.read(raw)
2252    }
2253}
2254
2255impl FieldValueWriter for AvgParPxField {
2256    fn write_to(&self, buf: &mut Vec<u8>) {
2257        self.0.write_to(buf);
2258    }
2259}
2260
2261impl FieldValue for AvgParPxField {}
2262
2263
2264/// `AvgPrxPrecisionField` is a `INT` field, Tag 74.
2265pub struct AvgPrxPrecisionField(pub FIXInt);
2266
2267impl AvgPrxPrecisionField {
2268
2269    pub fn new(val: isize) -> Self { Self(val) }
2270    pub fn value(&self) -> isize { self.0 }
2271
2272    pub fn tag() -> Tag { tag::AVG_PRX_PRECISION }
2273}
2274
2275impl FieldValueReader for AvgPrxPrecisionField {
2276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2277        self.0.read(raw)
2278    }
2279}
2280
2281impl FieldValueWriter for AvgPrxPrecisionField {
2282    fn write_to(&self, buf: &mut Vec<u8>) {
2283        self.0.write_to(buf);
2284    }
2285}
2286
2287impl FieldValue for AvgPrxPrecisionField {}
2288
2289
2290/// `AvgPxField` is a `PRICE` field, Tag 6.
2291pub struct AvgPxField(pub FIXDecimal);
2292
2293impl AvgPxField {
2294
2295    pub fn new(val: Decimal, scale: i32) -> Self {
2296        Self(FIXDecimal { decimal: val, scale })
2297    }
2298    pub fn value(&self) -> Decimal { self.0.decimal }
2299
2300    pub fn tag() -> Tag { tag::AVG_PX }
2301}
2302
2303impl FieldValueReader for AvgPxField {
2304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2305        self.0.read(raw)
2306    }
2307}
2308
2309impl FieldValueWriter for AvgPxField {
2310    fn write_to(&self, buf: &mut Vec<u8>) {
2311        self.0.write_to(buf);
2312    }
2313}
2314
2315impl FieldValue for AvgPxField {}
2316
2317
2318/// `AvgPxIndicatorField` is a `INT` field, Tag 819.
2319pub struct AvgPxIndicatorField(pub FIXInt);
2320
2321impl AvgPxIndicatorField {
2322
2323    pub fn new(val: isize) -> Self { Self(val) }
2324    pub fn value(&self) -> isize { self.0 }
2325
2326    pub fn tag() -> Tag { tag::AVG_PX_INDICATOR }
2327}
2328
2329impl FieldValueReader for AvgPxIndicatorField {
2330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2331        self.0.read(raw)
2332    }
2333}
2334
2335impl FieldValueWriter for AvgPxIndicatorField {
2336    fn write_to(&self, buf: &mut Vec<u8>) {
2337        self.0.write_to(buf);
2338    }
2339}
2340
2341impl FieldValue for AvgPxIndicatorField {}
2342
2343
2344/// `AvgPxPrecisionField` is a `INT` field, Tag 74.
2345pub struct AvgPxPrecisionField(pub FIXInt);
2346
2347impl AvgPxPrecisionField {
2348
2349    pub fn new(val: isize) -> Self { Self(val) }
2350    pub fn value(&self) -> isize { self.0 }
2351
2352    pub fn tag() -> Tag { tag::AVG_PX_PRECISION }
2353}
2354
2355impl FieldValueReader for AvgPxPrecisionField {
2356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2357        self.0.read(raw)
2358    }
2359}
2360
2361impl FieldValueWriter for AvgPxPrecisionField {
2362    fn write_to(&self, buf: &mut Vec<u8>) {
2363        self.0.write_to(buf);
2364    }
2365}
2366
2367impl FieldValue for AvgPxPrecisionField {}
2368
2369
2370/// `BasisFeatureDateField` is a `LOCALMKTDATE` field, Tag 259.
2371pub struct BasisFeatureDateField(pub FIXString);
2372
2373impl BasisFeatureDateField {
2374
2375    pub fn new(val: String) -> Self { Self(val) }
2376    pub fn value(&self) -> &str { &self.0 }
2377
2378    pub fn tag() -> Tag { tag::BASIS_FEATURE_DATE }
2379}
2380
2381impl FieldValueReader for BasisFeatureDateField {
2382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2383        self.0.read(raw)
2384    }
2385}
2386
2387impl FieldValueWriter for BasisFeatureDateField {
2388    fn write_to(&self, buf: &mut Vec<u8>) {
2389        self.0.write_to(buf);
2390    }
2391}
2392
2393impl FieldValue for BasisFeatureDateField {}
2394
2395
2396/// `BasisFeaturePriceField` is a `PRICE` field, Tag 260.
2397pub struct BasisFeaturePriceField(pub FIXDecimal);
2398
2399impl BasisFeaturePriceField {
2400
2401    pub fn new(val: Decimal, scale: i32) -> Self {
2402        Self(FIXDecimal { decimal: val, scale })
2403    }
2404    pub fn value(&self) -> Decimal { self.0.decimal }
2405
2406    pub fn tag() -> Tag { tag::BASIS_FEATURE_PRICE }
2407}
2408
2409impl FieldValueReader for BasisFeaturePriceField {
2410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2411        self.0.read(raw)
2412    }
2413}
2414
2415impl FieldValueWriter for BasisFeaturePriceField {
2416    fn write_to(&self, buf: &mut Vec<u8>) {
2417        self.0.write_to(buf);
2418    }
2419}
2420
2421impl FieldValue for BasisFeaturePriceField {}
2422
2423
2424/// `BasisPxTypeField` is a `CHAR` field, Tag 419.
2425pub struct BasisPxTypeField(pub FIXString);
2426
2427impl BasisPxTypeField {
2428
2429    pub fn new(val: String) -> Self { Self(val) }
2430    pub fn value(&self) -> &str { &self.0 }
2431
2432    pub fn tag() -> Tag { tag::BASIS_PX_TYPE }
2433}
2434
2435impl FieldValueReader for BasisPxTypeField {
2436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2437        self.0.read(raw)
2438    }
2439}
2440
2441impl FieldValueWriter for BasisPxTypeField {
2442    fn write_to(&self, buf: &mut Vec<u8>) {
2443        self.0.write_to(buf);
2444    }
2445}
2446
2447impl FieldValue for BasisPxTypeField {}
2448
2449
2450/// `BeginSeqNoField` is a `SEQNUM` field, Tag 7.
2451pub struct BeginSeqNoField(pub FIXInt);
2452
2453impl BeginSeqNoField {
2454
2455    pub fn new(val: isize) -> Self { Self(val) }
2456    pub fn value(&self) -> isize { self.0 }
2457
2458    pub fn tag() -> Tag { tag::BEGIN_SEQ_NO }
2459}
2460
2461impl FieldValueReader for BeginSeqNoField {
2462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2463        self.0.read(raw)
2464    }
2465}
2466
2467impl FieldValueWriter for BeginSeqNoField {
2468    fn write_to(&self, buf: &mut Vec<u8>) {
2469        self.0.write_to(buf);
2470    }
2471}
2472
2473impl FieldValue for BeginSeqNoField {}
2474
2475
2476/// `BeginStringField` is a `STRING` field, Tag 8.
2477pub struct BeginStringField(pub FIXString);
2478
2479impl BeginStringField {
2480
2481    pub fn new(val: String) -> Self { Self(val) }
2482    pub fn value(&self) -> &str { &self.0 }
2483
2484    pub fn tag() -> Tag { tag::BEGIN_STRING }
2485}
2486
2487impl FieldValueReader for BeginStringField {
2488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2489        self.0.read(raw)
2490    }
2491}
2492
2493impl FieldValueWriter for BeginStringField {
2494    fn write_to(&self, buf: &mut Vec<u8>) {
2495        self.0.write_to(buf);
2496    }
2497}
2498
2499impl FieldValue for BeginStringField {}
2500
2501
2502/// `BenchmarkField` is a `CHAR` field, Tag 219.
2503pub struct BenchmarkField(pub FIXString);
2504
2505impl BenchmarkField {
2506
2507    pub fn new(val: String) -> Self { Self(val) }
2508    pub fn value(&self) -> &str { &self.0 }
2509
2510    pub fn tag() -> Tag { tag::BENCHMARK }
2511}
2512
2513impl FieldValueReader for BenchmarkField {
2514    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2515        self.0.read(raw)
2516    }
2517}
2518
2519impl FieldValueWriter for BenchmarkField {
2520    fn write_to(&self, buf: &mut Vec<u8>) {
2521        self.0.write_to(buf);
2522    }
2523}
2524
2525impl FieldValue for BenchmarkField {}
2526
2527
2528/// `BenchmarkCurveCurrencyField` is a `CURRENCY` field, Tag 220.
2529pub struct BenchmarkCurveCurrencyField(pub FIXString);
2530
2531impl BenchmarkCurveCurrencyField {
2532
2533    pub fn new(val: String) -> Self { Self(val) }
2534    pub fn value(&self) -> &str { &self.0 }
2535
2536    pub fn tag() -> Tag { tag::BENCHMARK_CURVE_CURRENCY }
2537}
2538
2539impl FieldValueReader for BenchmarkCurveCurrencyField {
2540    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2541        self.0.read(raw)
2542    }
2543}
2544
2545impl FieldValueWriter for BenchmarkCurveCurrencyField {
2546    fn write_to(&self, buf: &mut Vec<u8>) {
2547        self.0.write_to(buf);
2548    }
2549}
2550
2551impl FieldValue for BenchmarkCurveCurrencyField {}
2552
2553
2554/// `BenchmarkCurveNameField` is a `STRING` field, Tag 221.
2555pub struct BenchmarkCurveNameField(pub FIXString);
2556
2557impl BenchmarkCurveNameField {
2558
2559    pub fn new(val: String) -> Self { Self(val) }
2560    pub fn value(&self) -> &str { &self.0 }
2561
2562    pub fn tag() -> Tag { tag::BENCHMARK_CURVE_NAME }
2563}
2564
2565impl FieldValueReader for BenchmarkCurveNameField {
2566    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2567        self.0.read(raw)
2568    }
2569}
2570
2571impl FieldValueWriter for BenchmarkCurveNameField {
2572    fn write_to(&self, buf: &mut Vec<u8>) {
2573        self.0.write_to(buf);
2574    }
2575}
2576
2577impl FieldValue for BenchmarkCurveNameField {}
2578
2579
2580/// `BenchmarkCurvePointField` is a `STRING` field, Tag 222.
2581pub struct BenchmarkCurvePointField(pub FIXString);
2582
2583impl BenchmarkCurvePointField {
2584
2585    pub fn new(val: String) -> Self { Self(val) }
2586    pub fn value(&self) -> &str { &self.0 }
2587
2588    pub fn tag() -> Tag { tag::BENCHMARK_CURVE_POINT }
2589}
2590
2591impl FieldValueReader for BenchmarkCurvePointField {
2592    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2593        self.0.read(raw)
2594    }
2595}
2596
2597impl FieldValueWriter for BenchmarkCurvePointField {
2598    fn write_to(&self, buf: &mut Vec<u8>) {
2599        self.0.write_to(buf);
2600    }
2601}
2602
2603impl FieldValue for BenchmarkCurvePointField {}
2604
2605
2606/// `BenchmarkPriceField` is a `PRICE` field, Tag 662.
2607pub struct BenchmarkPriceField(pub FIXDecimal);
2608
2609impl BenchmarkPriceField {
2610
2611    pub fn new(val: Decimal, scale: i32) -> Self {
2612        Self(FIXDecimal { decimal: val, scale })
2613    }
2614    pub fn value(&self) -> Decimal { self.0.decimal }
2615
2616    pub fn tag() -> Tag { tag::BENCHMARK_PRICE }
2617}
2618
2619impl FieldValueReader for BenchmarkPriceField {
2620    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2621        self.0.read(raw)
2622    }
2623}
2624
2625impl FieldValueWriter for BenchmarkPriceField {
2626    fn write_to(&self, buf: &mut Vec<u8>) {
2627        self.0.write_to(buf);
2628    }
2629}
2630
2631impl FieldValue for BenchmarkPriceField {}
2632
2633
2634/// `BenchmarkPriceTypeField` is a `INT` field, Tag 663.
2635pub struct BenchmarkPriceTypeField(pub FIXInt);
2636
2637impl BenchmarkPriceTypeField {
2638
2639    pub fn new(val: isize) -> Self { Self(val) }
2640    pub fn value(&self) -> isize { self.0 }
2641
2642    pub fn tag() -> Tag { tag::BENCHMARK_PRICE_TYPE }
2643}
2644
2645impl FieldValueReader for BenchmarkPriceTypeField {
2646    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2647        self.0.read(raw)
2648    }
2649}
2650
2651impl FieldValueWriter for BenchmarkPriceTypeField {
2652    fn write_to(&self, buf: &mut Vec<u8>) {
2653        self.0.write_to(buf);
2654    }
2655}
2656
2657impl FieldValue for BenchmarkPriceTypeField {}
2658
2659
2660/// `BenchmarkSecurityIDField` is a `STRING` field, Tag 699.
2661pub struct BenchmarkSecurityIDField(pub FIXString);
2662
2663impl BenchmarkSecurityIDField {
2664
2665    pub fn new(val: String) -> Self { Self(val) }
2666    pub fn value(&self) -> &str { &self.0 }
2667
2668    pub fn tag() -> Tag { tag::BENCHMARK_SECURITY_ID }
2669}
2670
2671impl FieldValueReader for BenchmarkSecurityIDField {
2672    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2673        self.0.read(raw)
2674    }
2675}
2676
2677impl FieldValueWriter for BenchmarkSecurityIDField {
2678    fn write_to(&self, buf: &mut Vec<u8>) {
2679        self.0.write_to(buf);
2680    }
2681}
2682
2683impl FieldValue for BenchmarkSecurityIDField {}
2684
2685
2686/// `BenchmarkSecurityIDSourceField` is a `STRING` field, Tag 761.
2687pub struct BenchmarkSecurityIDSourceField(pub FIXString);
2688
2689impl BenchmarkSecurityIDSourceField {
2690
2691    pub fn new(val: String) -> Self { Self(val) }
2692    pub fn value(&self) -> &str { &self.0 }
2693
2694    pub fn tag() -> Tag { tag::BENCHMARK_SECURITY_ID_SOURCE }
2695}
2696
2697impl FieldValueReader for BenchmarkSecurityIDSourceField {
2698    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2699        self.0.read(raw)
2700    }
2701}
2702
2703impl FieldValueWriter for BenchmarkSecurityIDSourceField {
2704    fn write_to(&self, buf: &mut Vec<u8>) {
2705        self.0.write_to(buf);
2706    }
2707}
2708
2709impl FieldValue for BenchmarkSecurityIDSourceField {}
2710
2711
2712/// `BidDescriptorField` is a `STRING` field, Tag 400.
2713pub struct BidDescriptorField(pub FIXString);
2714
2715impl BidDescriptorField {
2716
2717    pub fn new(val: String) -> Self { Self(val) }
2718    pub fn value(&self) -> &str { &self.0 }
2719
2720    pub fn tag() -> Tag { tag::BID_DESCRIPTOR }
2721}
2722
2723impl FieldValueReader for BidDescriptorField {
2724    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2725        self.0.read(raw)
2726    }
2727}
2728
2729impl FieldValueWriter for BidDescriptorField {
2730    fn write_to(&self, buf: &mut Vec<u8>) {
2731        self.0.write_to(buf);
2732    }
2733}
2734
2735impl FieldValue for BidDescriptorField {}
2736
2737
2738/// `BidDescriptorTypeField` is a `INT` field, Tag 399.
2739pub struct BidDescriptorTypeField(pub FIXInt);
2740
2741impl BidDescriptorTypeField {
2742
2743    pub fn new(val: isize) -> Self { Self(val) }
2744    pub fn value(&self) -> isize { self.0 }
2745
2746    pub fn tag() -> Tag { tag::BID_DESCRIPTOR_TYPE }
2747}
2748
2749impl FieldValueReader for BidDescriptorTypeField {
2750    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2751        self.0.read(raw)
2752    }
2753}
2754
2755impl FieldValueWriter for BidDescriptorTypeField {
2756    fn write_to(&self, buf: &mut Vec<u8>) {
2757        self.0.write_to(buf);
2758    }
2759}
2760
2761impl FieldValue for BidDescriptorTypeField {}
2762
2763
2764/// `BidForwardPointsField` is a `PRICEOFFSET` field, Tag 189.
2765pub struct BidForwardPointsField(pub FIXDecimal);
2766
2767impl BidForwardPointsField {
2768
2769    pub fn new(val: Decimal, scale: i32) -> Self {
2770        Self(FIXDecimal { decimal: val, scale })
2771    }
2772    pub fn value(&self) -> Decimal { self.0.decimal }
2773
2774    pub fn tag() -> Tag { tag::BID_FORWARD_POINTS }
2775}
2776
2777impl FieldValueReader for BidForwardPointsField {
2778    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2779        self.0.read(raw)
2780    }
2781}
2782
2783impl FieldValueWriter for BidForwardPointsField {
2784    fn write_to(&self, buf: &mut Vec<u8>) {
2785        self.0.write_to(buf);
2786    }
2787}
2788
2789impl FieldValue for BidForwardPointsField {}
2790
2791
2792/// `BidForwardPoints2Field` is a `PRICEOFFSET` field, Tag 642.
2793pub struct BidForwardPoints2Field(pub FIXDecimal);
2794
2795impl BidForwardPoints2Field {
2796
2797    pub fn new(val: Decimal, scale: i32) -> Self {
2798        Self(FIXDecimal { decimal: val, scale })
2799    }
2800    pub fn value(&self) -> Decimal { self.0.decimal }
2801
2802    pub fn tag() -> Tag { tag::BID_FORWARD_POINTS2 }
2803}
2804
2805impl FieldValueReader for BidForwardPoints2Field {
2806    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2807        self.0.read(raw)
2808    }
2809}
2810
2811impl FieldValueWriter for BidForwardPoints2Field {
2812    fn write_to(&self, buf: &mut Vec<u8>) {
2813        self.0.write_to(buf);
2814    }
2815}
2816
2817impl FieldValue for BidForwardPoints2Field {}
2818
2819
2820/// `BidIDField` is a `STRING` field, Tag 390.
2821pub struct BidIDField(pub FIXString);
2822
2823impl BidIDField {
2824
2825    pub fn new(val: String) -> Self { Self(val) }
2826    pub fn value(&self) -> &str { &self.0 }
2827
2828    pub fn tag() -> Tag { tag::BID_ID }
2829}
2830
2831impl FieldValueReader for BidIDField {
2832    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2833        self.0.read(raw)
2834    }
2835}
2836
2837impl FieldValueWriter for BidIDField {
2838    fn write_to(&self, buf: &mut Vec<u8>) {
2839        self.0.write_to(buf);
2840    }
2841}
2842
2843impl FieldValue for BidIDField {}
2844
2845
2846/// `BidPxField` is a `PRICE` field, Tag 132.
2847pub struct BidPxField(pub FIXDecimal);
2848
2849impl BidPxField {
2850
2851    pub fn new(val: Decimal, scale: i32) -> Self {
2852        Self(FIXDecimal { decimal: val, scale })
2853    }
2854    pub fn value(&self) -> Decimal { self.0.decimal }
2855
2856    pub fn tag() -> Tag { tag::BID_PX }
2857}
2858
2859impl FieldValueReader for BidPxField {
2860    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2861        self.0.read(raw)
2862    }
2863}
2864
2865impl FieldValueWriter for BidPxField {
2866    fn write_to(&self, buf: &mut Vec<u8>) {
2867        self.0.write_to(buf);
2868    }
2869}
2870
2871impl FieldValue for BidPxField {}
2872
2873
2874/// `BidRequestTransTypeField` is a `CHAR` field, Tag 374.
2875pub struct BidRequestTransTypeField(pub FIXString);
2876
2877impl BidRequestTransTypeField {
2878
2879    pub fn new(val: String) -> Self { Self(val) }
2880    pub fn value(&self) -> &str { &self.0 }
2881
2882    pub fn tag() -> Tag { tag::BID_REQUEST_TRANS_TYPE }
2883}
2884
2885impl FieldValueReader for BidRequestTransTypeField {
2886    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2887        self.0.read(raw)
2888    }
2889}
2890
2891impl FieldValueWriter for BidRequestTransTypeField {
2892    fn write_to(&self, buf: &mut Vec<u8>) {
2893        self.0.write_to(buf);
2894    }
2895}
2896
2897impl FieldValue for BidRequestTransTypeField {}
2898
2899
2900/// `BidSizeField` is a `QTY` field, Tag 134.
2901pub struct BidSizeField(pub FIXDecimal);
2902
2903impl BidSizeField {
2904
2905    pub fn new(val: Decimal, scale: i32) -> Self {
2906        Self(FIXDecimal { decimal: val, scale })
2907    }
2908    pub fn value(&self) -> Decimal { self.0.decimal }
2909
2910    pub fn tag() -> Tag { tag::BID_SIZE }
2911}
2912
2913impl FieldValueReader for BidSizeField {
2914    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2915        self.0.read(raw)
2916    }
2917}
2918
2919impl FieldValueWriter for BidSizeField {
2920    fn write_to(&self, buf: &mut Vec<u8>) {
2921        self.0.write_to(buf);
2922    }
2923}
2924
2925impl FieldValue for BidSizeField {}
2926
2927
2928/// `BidSpotRateField` is a `PRICE` field, Tag 188.
2929pub struct BidSpotRateField(pub FIXDecimal);
2930
2931impl BidSpotRateField {
2932
2933    pub fn new(val: Decimal, scale: i32) -> Self {
2934        Self(FIXDecimal { decimal: val, scale })
2935    }
2936    pub fn value(&self) -> Decimal { self.0.decimal }
2937
2938    pub fn tag() -> Tag { tag::BID_SPOT_RATE }
2939}
2940
2941impl FieldValueReader for BidSpotRateField {
2942    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2943        self.0.read(raw)
2944    }
2945}
2946
2947impl FieldValueWriter for BidSpotRateField {
2948    fn write_to(&self, buf: &mut Vec<u8>) {
2949        self.0.write_to(buf);
2950    }
2951}
2952
2953impl FieldValue for BidSpotRateField {}
2954
2955
2956/// `BidSwapPointsField` is a `PRICEOFFSET` field, Tag 1065.
2957pub struct BidSwapPointsField(pub FIXDecimal);
2958
2959impl BidSwapPointsField {
2960
2961    pub fn new(val: Decimal, scale: i32) -> Self {
2962        Self(FIXDecimal { decimal: val, scale })
2963    }
2964    pub fn value(&self) -> Decimal { self.0.decimal }
2965
2966    pub fn tag() -> Tag { tag::BID_SWAP_POINTS }
2967}
2968
2969impl FieldValueReader for BidSwapPointsField {
2970    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2971        self.0.read(raw)
2972    }
2973}
2974
2975impl FieldValueWriter for BidSwapPointsField {
2976    fn write_to(&self, buf: &mut Vec<u8>) {
2977        self.0.write_to(buf);
2978    }
2979}
2980
2981impl FieldValue for BidSwapPointsField {}
2982
2983
2984/// `BidTradeTypeField` is a `CHAR` field, Tag 418.
2985pub struct BidTradeTypeField(pub FIXString);
2986
2987impl BidTradeTypeField {
2988
2989    pub fn new(val: String) -> Self { Self(val) }
2990    pub fn value(&self) -> &str { &self.0 }
2991
2992    pub fn tag() -> Tag { tag::BID_TRADE_TYPE }
2993}
2994
2995impl FieldValueReader for BidTradeTypeField {
2996    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
2997        self.0.read(raw)
2998    }
2999}
3000
3001impl FieldValueWriter for BidTradeTypeField {
3002    fn write_to(&self, buf: &mut Vec<u8>) {
3003        self.0.write_to(buf);
3004    }
3005}
3006
3007impl FieldValue for BidTradeTypeField {}
3008
3009
3010/// `BidTypeField` is a `INT` field, Tag 394.
3011pub struct BidTypeField(pub FIXInt);
3012
3013impl BidTypeField {
3014
3015    pub fn new(val: isize) -> Self { Self(val) }
3016    pub fn value(&self) -> isize { self.0 }
3017
3018    pub fn tag() -> Tag { tag::BID_TYPE }
3019}
3020
3021impl FieldValueReader for BidTypeField {
3022    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3023        self.0.read(raw)
3024    }
3025}
3026
3027impl FieldValueWriter for BidTypeField {
3028    fn write_to(&self, buf: &mut Vec<u8>) {
3029        self.0.write_to(buf);
3030    }
3031}
3032
3033impl FieldValue for BidTypeField {}
3034
3035
3036/// `BidYieldField` is a `PERCENTAGE` field, Tag 632.
3037pub struct BidYieldField(pub FIXDecimal);
3038
3039impl BidYieldField {
3040
3041    pub fn new(val: Decimal, scale: i32) -> Self {
3042        Self(FIXDecimal { decimal: val, scale })
3043    }
3044    pub fn value(&self) -> Decimal { self.0.decimal }
3045
3046    pub fn tag() -> Tag { tag::BID_YIELD }
3047}
3048
3049impl FieldValueReader for BidYieldField {
3050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3051        self.0.read(raw)
3052    }
3053}
3054
3055impl FieldValueWriter for BidYieldField {
3056    fn write_to(&self, buf: &mut Vec<u8>) {
3057        self.0.write_to(buf);
3058    }
3059}
3060
3061impl FieldValue for BidYieldField {}
3062
3063
3064/// `BodyLengthField` is a `LENGTH` field, Tag 9.
3065pub struct BodyLengthField(pub FIXInt);
3066
3067impl BodyLengthField {
3068
3069    pub fn new(val: isize) -> Self { Self(val) }
3070    pub fn value(&self) -> isize { self.0 }
3071
3072    pub fn tag() -> Tag { tag::BODY_LENGTH }
3073}
3074
3075impl FieldValueReader for BodyLengthField {
3076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3077        self.0.read(raw)
3078    }
3079}
3080
3081impl FieldValueWriter for BodyLengthField {
3082    fn write_to(&self, buf: &mut Vec<u8>) {
3083        self.0.write_to(buf);
3084    }
3085}
3086
3087impl FieldValue for BodyLengthField {}
3088
3089
3090/// `BookingRefIDField` is a `STRING` field, Tag 466.
3091pub struct BookingRefIDField(pub FIXString);
3092
3093impl BookingRefIDField {
3094
3095    pub fn new(val: String) -> Self { Self(val) }
3096    pub fn value(&self) -> &str { &self.0 }
3097
3098    pub fn tag() -> Tag { tag::BOOKING_REF_ID }
3099}
3100
3101impl FieldValueReader for BookingRefIDField {
3102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3103        self.0.read(raw)
3104    }
3105}
3106
3107impl FieldValueWriter for BookingRefIDField {
3108    fn write_to(&self, buf: &mut Vec<u8>) {
3109        self.0.write_to(buf);
3110    }
3111}
3112
3113impl FieldValue for BookingRefIDField {}
3114
3115
3116/// `BookingTypeField` is a `INT` field, Tag 775.
3117pub struct BookingTypeField(pub FIXInt);
3118
3119impl BookingTypeField {
3120
3121    pub fn new(val: isize) -> Self { Self(val) }
3122    pub fn value(&self) -> isize { self.0 }
3123
3124    pub fn tag() -> Tag { tag::BOOKING_TYPE }
3125}
3126
3127impl FieldValueReader for BookingTypeField {
3128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3129        self.0.read(raw)
3130    }
3131}
3132
3133impl FieldValueWriter for BookingTypeField {
3134    fn write_to(&self, buf: &mut Vec<u8>) {
3135        self.0.write_to(buf);
3136    }
3137}
3138
3139impl FieldValue for BookingTypeField {}
3140
3141
3142/// `BookingUnitField` is a `CHAR` field, Tag 590.
3143pub struct BookingUnitField(pub FIXString);
3144
3145impl BookingUnitField {
3146
3147    pub fn new(val: String) -> Self { Self(val) }
3148    pub fn value(&self) -> &str { &self.0 }
3149
3150    pub fn tag() -> Tag { tag::BOOKING_UNIT }
3151}
3152
3153impl FieldValueReader for BookingUnitField {
3154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3155        self.0.read(raw)
3156    }
3157}
3158
3159impl FieldValueWriter for BookingUnitField {
3160    fn write_to(&self, buf: &mut Vec<u8>) {
3161        self.0.write_to(buf);
3162    }
3163}
3164
3165impl FieldValue for BookingUnitField {}
3166
3167
3168/// `BrokerOfCreditField` is a `STRING` field, Tag 92.
3169pub struct BrokerOfCreditField(pub FIXString);
3170
3171impl BrokerOfCreditField {
3172
3173    pub fn new(val: String) -> Self { Self(val) }
3174    pub fn value(&self) -> &str { &self.0 }
3175
3176    pub fn tag() -> Tag { tag::BROKER_OF_CREDIT }
3177}
3178
3179impl FieldValueReader for BrokerOfCreditField {
3180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3181        self.0.read(raw)
3182    }
3183}
3184
3185impl FieldValueWriter for BrokerOfCreditField {
3186    fn write_to(&self, buf: &mut Vec<u8>) {
3187        self.0.write_to(buf);
3188    }
3189}
3190
3191impl FieldValue for BrokerOfCreditField {}
3192
3193
3194/// `BusinessRejectReasonField` is a `INT` field, Tag 380.
3195pub struct BusinessRejectReasonField(pub FIXInt);
3196
3197impl BusinessRejectReasonField {
3198
3199    pub fn new(val: isize) -> Self { Self(val) }
3200    pub fn value(&self) -> isize { self.0 }
3201
3202    pub fn tag() -> Tag { tag::BUSINESS_REJECT_REASON }
3203}
3204
3205impl FieldValueReader for BusinessRejectReasonField {
3206    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3207        self.0.read(raw)
3208    }
3209}
3210
3211impl FieldValueWriter for BusinessRejectReasonField {
3212    fn write_to(&self, buf: &mut Vec<u8>) {
3213        self.0.write_to(buf);
3214    }
3215}
3216
3217impl FieldValue for BusinessRejectReasonField {}
3218
3219
3220/// `BusinessRejectRefIDField` is a `STRING` field, Tag 379.
3221pub struct BusinessRejectRefIDField(pub FIXString);
3222
3223impl BusinessRejectRefIDField {
3224
3225    pub fn new(val: String) -> Self { Self(val) }
3226    pub fn value(&self) -> &str { &self.0 }
3227
3228    pub fn tag() -> Tag { tag::BUSINESS_REJECT_REF_ID }
3229}
3230
3231impl FieldValueReader for BusinessRejectRefIDField {
3232    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3233        self.0.read(raw)
3234    }
3235}
3236
3237impl FieldValueWriter for BusinessRejectRefIDField {
3238    fn write_to(&self, buf: &mut Vec<u8>) {
3239        self.0.write_to(buf);
3240    }
3241}
3242
3243impl FieldValue for BusinessRejectRefIDField {}
3244
3245
3246/// `BuyVolumeField` is a `QTY` field, Tag 330.
3247pub struct BuyVolumeField(pub FIXDecimal);
3248
3249impl BuyVolumeField {
3250
3251    pub fn new(val: Decimal, scale: i32) -> Self {
3252        Self(FIXDecimal { decimal: val, scale })
3253    }
3254    pub fn value(&self) -> Decimal { self.0.decimal }
3255
3256    pub fn tag() -> Tag { tag::BUY_VOLUME }
3257}
3258
3259impl FieldValueReader for BuyVolumeField {
3260    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3261        self.0.read(raw)
3262    }
3263}
3264
3265impl FieldValueWriter for BuyVolumeField {
3266    fn write_to(&self, buf: &mut Vec<u8>) {
3267        self.0.write_to(buf);
3268    }
3269}
3270
3271impl FieldValue for BuyVolumeField {}
3272
3273
3274/// `CFICodeField` is a `STRING` field, Tag 461.
3275pub struct CFICodeField(pub FIXString);
3276
3277impl CFICodeField {
3278
3279    pub fn new(val: String) -> Self { Self(val) }
3280    pub fn value(&self) -> &str { &self.0 }
3281
3282    pub fn tag() -> Tag { tag::CFI_CODE }
3283}
3284
3285impl FieldValueReader for CFICodeField {
3286    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3287        self.0.read(raw)
3288    }
3289}
3290
3291impl FieldValueWriter for CFICodeField {
3292    fn write_to(&self, buf: &mut Vec<u8>) {
3293        self.0.write_to(buf);
3294    }
3295}
3296
3297impl FieldValue for CFICodeField {}
3298
3299
3300/// `CPProgramField` is a `INT` field, Tag 875.
3301pub struct CPProgramField(pub FIXInt);
3302
3303impl CPProgramField {
3304
3305    pub fn new(val: isize) -> Self { Self(val) }
3306    pub fn value(&self) -> isize { self.0 }
3307
3308    pub fn tag() -> Tag { tag::CP_PROGRAM }
3309}
3310
3311impl FieldValueReader for CPProgramField {
3312    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3313        self.0.read(raw)
3314    }
3315}
3316
3317impl FieldValueWriter for CPProgramField {
3318    fn write_to(&self, buf: &mut Vec<u8>) {
3319        self.0.write_to(buf);
3320    }
3321}
3322
3323impl FieldValue for CPProgramField {}
3324
3325
3326/// `CPRegTypeField` is a `STRING` field, Tag 876.
3327pub struct CPRegTypeField(pub FIXString);
3328
3329impl CPRegTypeField {
3330
3331    pub fn new(val: String) -> Self { Self(val) }
3332    pub fn value(&self) -> &str { &self.0 }
3333
3334    pub fn tag() -> Tag { tag::CP_REG_TYPE }
3335}
3336
3337impl FieldValueReader for CPRegTypeField {
3338    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3339        self.0.read(raw)
3340    }
3341}
3342
3343impl FieldValueWriter for CPRegTypeField {
3344    fn write_to(&self, buf: &mut Vec<u8>) {
3345        self.0.write_to(buf);
3346    }
3347}
3348
3349impl FieldValue for CPRegTypeField {}
3350
3351
3352/// `CalculatedCcyLastQtyField` is a `QTY` field, Tag 1056.
3353pub struct CalculatedCcyLastQtyField(pub FIXDecimal);
3354
3355impl CalculatedCcyLastQtyField {
3356
3357    pub fn new(val: Decimal, scale: i32) -> Self {
3358        Self(FIXDecimal { decimal: val, scale })
3359    }
3360    pub fn value(&self) -> Decimal { self.0.decimal }
3361
3362    pub fn tag() -> Tag { tag::CALCULATED_CCY_LAST_QTY }
3363}
3364
3365impl FieldValueReader for CalculatedCcyLastQtyField {
3366    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3367        self.0.read(raw)
3368    }
3369}
3370
3371impl FieldValueWriter for CalculatedCcyLastQtyField {
3372    fn write_to(&self, buf: &mut Vec<u8>) {
3373        self.0.write_to(buf);
3374    }
3375}
3376
3377impl FieldValue for CalculatedCcyLastQtyField {}
3378
3379
3380/// `CancellationRightsField` is a `CHAR` field, Tag 480.
3381pub struct CancellationRightsField(pub FIXString);
3382
3383impl CancellationRightsField {
3384
3385    pub fn new(val: String) -> Self { Self(val) }
3386    pub fn value(&self) -> &str { &self.0 }
3387
3388    pub fn tag() -> Tag { tag::CANCELLATION_RIGHTS }
3389}
3390
3391impl FieldValueReader for CancellationRightsField {
3392    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3393        self.0.read(raw)
3394    }
3395}
3396
3397impl FieldValueWriter for CancellationRightsField {
3398    fn write_to(&self, buf: &mut Vec<u8>) {
3399        self.0.write_to(buf);
3400    }
3401}
3402
3403impl FieldValue for CancellationRightsField {}
3404
3405
3406/// `CapPriceField` is a `PRICE` field, Tag 1199.
3407pub struct CapPriceField(pub FIXDecimal);
3408
3409impl CapPriceField {
3410
3411    pub fn new(val: Decimal, scale: i32) -> Self {
3412        Self(FIXDecimal { decimal: val, scale })
3413    }
3414    pub fn value(&self) -> Decimal { self.0.decimal }
3415
3416    pub fn tag() -> Tag { tag::CAP_PRICE }
3417}
3418
3419impl FieldValueReader for CapPriceField {
3420    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3421        self.0.read(raw)
3422    }
3423}
3424
3425impl FieldValueWriter for CapPriceField {
3426    fn write_to(&self, buf: &mut Vec<u8>) {
3427        self.0.write_to(buf);
3428    }
3429}
3430
3431impl FieldValue for CapPriceField {}
3432
3433
3434/// `CardExpDateField` is a `LOCALMKTDATE` field, Tag 490.
3435pub struct CardExpDateField(pub FIXString);
3436
3437impl CardExpDateField {
3438
3439    pub fn new(val: String) -> Self { Self(val) }
3440    pub fn value(&self) -> &str { &self.0 }
3441
3442    pub fn tag() -> Tag { tag::CARD_EXP_DATE }
3443}
3444
3445impl FieldValueReader for CardExpDateField {
3446    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3447        self.0.read(raw)
3448    }
3449}
3450
3451impl FieldValueWriter for CardExpDateField {
3452    fn write_to(&self, buf: &mut Vec<u8>) {
3453        self.0.write_to(buf);
3454    }
3455}
3456
3457impl FieldValue for CardExpDateField {}
3458
3459
3460/// `CardHolderNameField` is a `STRING` field, Tag 488.
3461pub struct CardHolderNameField(pub FIXString);
3462
3463impl CardHolderNameField {
3464
3465    pub fn new(val: String) -> Self { Self(val) }
3466    pub fn value(&self) -> &str { &self.0 }
3467
3468    pub fn tag() -> Tag { tag::CARD_HOLDER_NAME }
3469}
3470
3471impl FieldValueReader for CardHolderNameField {
3472    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3473        self.0.read(raw)
3474    }
3475}
3476
3477impl FieldValueWriter for CardHolderNameField {
3478    fn write_to(&self, buf: &mut Vec<u8>) {
3479        self.0.write_to(buf);
3480    }
3481}
3482
3483impl FieldValue for CardHolderNameField {}
3484
3485
3486/// `CardIssNoField` is a `STRING` field, Tag 491.
3487pub struct CardIssNoField(pub FIXString);
3488
3489impl CardIssNoField {
3490
3491    pub fn new(val: String) -> Self { Self(val) }
3492    pub fn value(&self) -> &str { &self.0 }
3493
3494    pub fn tag() -> Tag { tag::CARD_ISS_NO }
3495}
3496
3497impl FieldValueReader for CardIssNoField {
3498    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3499        self.0.read(raw)
3500    }
3501}
3502
3503impl FieldValueWriter for CardIssNoField {
3504    fn write_to(&self, buf: &mut Vec<u8>) {
3505        self.0.write_to(buf);
3506    }
3507}
3508
3509impl FieldValue for CardIssNoField {}
3510
3511
3512/// `CardIssNumField` is a `STRING` field, Tag 491.
3513pub struct CardIssNumField(pub FIXString);
3514
3515impl CardIssNumField {
3516
3517    pub fn new(val: String) -> Self { Self(val) }
3518    pub fn value(&self) -> &str { &self.0 }
3519
3520    pub fn tag() -> Tag { tag::CARD_ISS_NUM }
3521}
3522
3523impl FieldValueReader for CardIssNumField {
3524    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3525        self.0.read(raw)
3526    }
3527}
3528
3529impl FieldValueWriter for CardIssNumField {
3530    fn write_to(&self, buf: &mut Vec<u8>) {
3531        self.0.write_to(buf);
3532    }
3533}
3534
3535impl FieldValue for CardIssNumField {}
3536
3537
3538/// `CardNumberField` is a `STRING` field, Tag 489.
3539pub struct CardNumberField(pub FIXString);
3540
3541impl CardNumberField {
3542
3543    pub fn new(val: String) -> Self { Self(val) }
3544    pub fn value(&self) -> &str { &self.0 }
3545
3546    pub fn tag() -> Tag { tag::CARD_NUMBER }
3547}
3548
3549impl FieldValueReader for CardNumberField {
3550    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3551        self.0.read(raw)
3552    }
3553}
3554
3555impl FieldValueWriter for CardNumberField {
3556    fn write_to(&self, buf: &mut Vec<u8>) {
3557        self.0.write_to(buf);
3558    }
3559}
3560
3561impl FieldValue for CardNumberField {}
3562
3563
3564/// `CardStartDateField` is a `LOCALMKTDATE` field, Tag 503.
3565pub struct CardStartDateField(pub FIXString);
3566
3567impl CardStartDateField {
3568
3569    pub fn new(val: String) -> Self { Self(val) }
3570    pub fn value(&self) -> &str { &self.0 }
3571
3572    pub fn tag() -> Tag { tag::CARD_START_DATE }
3573}
3574
3575impl FieldValueReader for CardStartDateField {
3576    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3577        self.0.read(raw)
3578    }
3579}
3580
3581impl FieldValueWriter for CardStartDateField {
3582    fn write_to(&self, buf: &mut Vec<u8>) {
3583        self.0.write_to(buf);
3584    }
3585}
3586
3587impl FieldValue for CardStartDateField {}
3588
3589
3590/// `CashDistribAgentAcctNameField` is a `STRING` field, Tag 502.
3591pub struct CashDistribAgentAcctNameField(pub FIXString);
3592
3593impl CashDistribAgentAcctNameField {
3594
3595    pub fn new(val: String) -> Self { Self(val) }
3596    pub fn value(&self) -> &str { &self.0 }
3597
3598    pub fn tag() -> Tag { tag::CASH_DISTRIB_AGENT_ACCT_NAME }
3599}
3600
3601impl FieldValueReader for CashDistribAgentAcctNameField {
3602    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3603        self.0.read(raw)
3604    }
3605}
3606
3607impl FieldValueWriter for CashDistribAgentAcctNameField {
3608    fn write_to(&self, buf: &mut Vec<u8>) {
3609        self.0.write_to(buf);
3610    }
3611}
3612
3613impl FieldValue for CashDistribAgentAcctNameField {}
3614
3615
3616/// `CashDistribAgentAcctNumberField` is a `STRING` field, Tag 500.
3617pub struct CashDistribAgentAcctNumberField(pub FIXString);
3618
3619impl CashDistribAgentAcctNumberField {
3620
3621    pub fn new(val: String) -> Self { Self(val) }
3622    pub fn value(&self) -> &str { &self.0 }
3623
3624    pub fn tag() -> Tag { tag::CASH_DISTRIB_AGENT_ACCT_NUMBER }
3625}
3626
3627impl FieldValueReader for CashDistribAgentAcctNumberField {
3628    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3629        self.0.read(raw)
3630    }
3631}
3632
3633impl FieldValueWriter for CashDistribAgentAcctNumberField {
3634    fn write_to(&self, buf: &mut Vec<u8>) {
3635        self.0.write_to(buf);
3636    }
3637}
3638
3639impl FieldValue for CashDistribAgentAcctNumberField {}
3640
3641
3642/// `CashDistribAgentCodeField` is a `STRING` field, Tag 499.
3643pub struct CashDistribAgentCodeField(pub FIXString);
3644
3645impl CashDistribAgentCodeField {
3646
3647    pub fn new(val: String) -> Self { Self(val) }
3648    pub fn value(&self) -> &str { &self.0 }
3649
3650    pub fn tag() -> Tag { tag::CASH_DISTRIB_AGENT_CODE }
3651}
3652
3653impl FieldValueReader for CashDistribAgentCodeField {
3654    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3655        self.0.read(raw)
3656    }
3657}
3658
3659impl FieldValueWriter for CashDistribAgentCodeField {
3660    fn write_to(&self, buf: &mut Vec<u8>) {
3661        self.0.write_to(buf);
3662    }
3663}
3664
3665impl FieldValue for CashDistribAgentCodeField {}
3666
3667
3668/// `CashDistribAgentNameField` is a `STRING` field, Tag 498.
3669pub struct CashDistribAgentNameField(pub FIXString);
3670
3671impl CashDistribAgentNameField {
3672
3673    pub fn new(val: String) -> Self { Self(val) }
3674    pub fn value(&self) -> &str { &self.0 }
3675
3676    pub fn tag() -> Tag { tag::CASH_DISTRIB_AGENT_NAME }
3677}
3678
3679impl FieldValueReader for CashDistribAgentNameField {
3680    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3681        self.0.read(raw)
3682    }
3683}
3684
3685impl FieldValueWriter for CashDistribAgentNameField {
3686    fn write_to(&self, buf: &mut Vec<u8>) {
3687        self.0.write_to(buf);
3688    }
3689}
3690
3691impl FieldValue for CashDistribAgentNameField {}
3692
3693
3694/// `CashDistribCurrField` is a `CURRENCY` field, Tag 478.
3695pub struct CashDistribCurrField(pub FIXString);
3696
3697impl CashDistribCurrField {
3698
3699    pub fn new(val: String) -> Self { Self(val) }
3700    pub fn value(&self) -> &str { &self.0 }
3701
3702    pub fn tag() -> Tag { tag::CASH_DISTRIB_CURR }
3703}
3704
3705impl FieldValueReader for CashDistribCurrField {
3706    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3707        self.0.read(raw)
3708    }
3709}
3710
3711impl FieldValueWriter for CashDistribCurrField {
3712    fn write_to(&self, buf: &mut Vec<u8>) {
3713        self.0.write_to(buf);
3714    }
3715}
3716
3717impl FieldValue for CashDistribCurrField {}
3718
3719
3720/// `CashDistribPayRefField` is a `STRING` field, Tag 501.
3721pub struct CashDistribPayRefField(pub FIXString);
3722
3723impl CashDistribPayRefField {
3724
3725    pub fn new(val: String) -> Self { Self(val) }
3726    pub fn value(&self) -> &str { &self.0 }
3727
3728    pub fn tag() -> Tag { tag::CASH_DISTRIB_PAY_REF }
3729}
3730
3731impl FieldValueReader for CashDistribPayRefField {
3732    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3733        self.0.read(raw)
3734    }
3735}
3736
3737impl FieldValueWriter for CashDistribPayRefField {
3738    fn write_to(&self, buf: &mut Vec<u8>) {
3739        self.0.write_to(buf);
3740    }
3741}
3742
3743impl FieldValue for CashDistribPayRefField {}
3744
3745
3746/// `CashMarginField` is a `CHAR` field, Tag 544.
3747pub struct CashMarginField(pub FIXString);
3748
3749impl CashMarginField {
3750
3751    pub fn new(val: String) -> Self { Self(val) }
3752    pub fn value(&self) -> &str { &self.0 }
3753
3754    pub fn tag() -> Tag { tag::CASH_MARGIN }
3755}
3756
3757impl FieldValueReader for CashMarginField {
3758    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3759        self.0.read(raw)
3760    }
3761}
3762
3763impl FieldValueWriter for CashMarginField {
3764    fn write_to(&self, buf: &mut Vec<u8>) {
3765        self.0.write_to(buf);
3766    }
3767}
3768
3769impl FieldValue for CashMarginField {}
3770
3771
3772/// `CashOrderQtyField` is a `QTY` field, Tag 152.
3773pub struct CashOrderQtyField(pub FIXDecimal);
3774
3775impl CashOrderQtyField {
3776
3777    pub fn new(val: Decimal, scale: i32) -> Self {
3778        Self(FIXDecimal { decimal: val, scale })
3779    }
3780    pub fn value(&self) -> Decimal { self.0.decimal }
3781
3782    pub fn tag() -> Tag { tag::CASH_ORDER_QTY }
3783}
3784
3785impl FieldValueReader for CashOrderQtyField {
3786    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3787        self.0.read(raw)
3788    }
3789}
3790
3791impl FieldValueWriter for CashOrderQtyField {
3792    fn write_to(&self, buf: &mut Vec<u8>) {
3793        self.0.write_to(buf);
3794    }
3795}
3796
3797impl FieldValue for CashOrderQtyField {}
3798
3799
3800/// `CashOutstandingField` is a `AMT` field, Tag 901.
3801pub struct CashOutstandingField(pub FIXDecimal);
3802
3803impl CashOutstandingField {
3804
3805    pub fn new(val: Decimal, scale: i32) -> Self {
3806        Self(FIXDecimal { decimal: val, scale })
3807    }
3808    pub fn value(&self) -> Decimal { self.0.decimal }
3809
3810    pub fn tag() -> Tag { tag::CASH_OUTSTANDING }
3811}
3812
3813impl FieldValueReader for CashOutstandingField {
3814    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3815        self.0.read(raw)
3816    }
3817}
3818
3819impl FieldValueWriter for CashOutstandingField {
3820    fn write_to(&self, buf: &mut Vec<u8>) {
3821        self.0.write_to(buf);
3822    }
3823}
3824
3825impl FieldValue for CashOutstandingField {}
3826
3827
3828/// `CashSettlAgentAcctNameField` is a `STRING` field, Tag 185.
3829pub struct CashSettlAgentAcctNameField(pub FIXString);
3830
3831impl CashSettlAgentAcctNameField {
3832
3833    pub fn new(val: String) -> Self { Self(val) }
3834    pub fn value(&self) -> &str { &self.0 }
3835
3836    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_ACCT_NAME }
3837}
3838
3839impl FieldValueReader for CashSettlAgentAcctNameField {
3840    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3841        self.0.read(raw)
3842    }
3843}
3844
3845impl FieldValueWriter for CashSettlAgentAcctNameField {
3846    fn write_to(&self, buf: &mut Vec<u8>) {
3847        self.0.write_to(buf);
3848    }
3849}
3850
3851impl FieldValue for CashSettlAgentAcctNameField {}
3852
3853
3854/// `CashSettlAgentAcctNumField` is a `STRING` field, Tag 184.
3855pub struct CashSettlAgentAcctNumField(pub FIXString);
3856
3857impl CashSettlAgentAcctNumField {
3858
3859    pub fn new(val: String) -> Self { Self(val) }
3860    pub fn value(&self) -> &str { &self.0 }
3861
3862    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_ACCT_NUM }
3863}
3864
3865impl FieldValueReader for CashSettlAgentAcctNumField {
3866    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3867        self.0.read(raw)
3868    }
3869}
3870
3871impl FieldValueWriter for CashSettlAgentAcctNumField {
3872    fn write_to(&self, buf: &mut Vec<u8>) {
3873        self.0.write_to(buf);
3874    }
3875}
3876
3877impl FieldValue for CashSettlAgentAcctNumField {}
3878
3879
3880/// `CashSettlAgentCodeField` is a `STRING` field, Tag 183.
3881pub struct CashSettlAgentCodeField(pub FIXString);
3882
3883impl CashSettlAgentCodeField {
3884
3885    pub fn new(val: String) -> Self { Self(val) }
3886    pub fn value(&self) -> &str { &self.0 }
3887
3888    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_CODE }
3889}
3890
3891impl FieldValueReader for CashSettlAgentCodeField {
3892    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3893        self.0.read(raw)
3894    }
3895}
3896
3897impl FieldValueWriter for CashSettlAgentCodeField {
3898    fn write_to(&self, buf: &mut Vec<u8>) {
3899        self.0.write_to(buf);
3900    }
3901}
3902
3903impl FieldValue for CashSettlAgentCodeField {}
3904
3905
3906/// `CashSettlAgentContactNameField` is a `STRING` field, Tag 186.
3907pub struct CashSettlAgentContactNameField(pub FIXString);
3908
3909impl CashSettlAgentContactNameField {
3910
3911    pub fn new(val: String) -> Self { Self(val) }
3912    pub fn value(&self) -> &str { &self.0 }
3913
3914    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_CONTACT_NAME }
3915}
3916
3917impl FieldValueReader for CashSettlAgentContactNameField {
3918    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3919        self.0.read(raw)
3920    }
3921}
3922
3923impl FieldValueWriter for CashSettlAgentContactNameField {
3924    fn write_to(&self, buf: &mut Vec<u8>) {
3925        self.0.write_to(buf);
3926    }
3927}
3928
3929impl FieldValue for CashSettlAgentContactNameField {}
3930
3931
3932/// `CashSettlAgentContactPhoneField` is a `STRING` field, Tag 187.
3933pub struct CashSettlAgentContactPhoneField(pub FIXString);
3934
3935impl CashSettlAgentContactPhoneField {
3936
3937    pub fn new(val: String) -> Self { Self(val) }
3938    pub fn value(&self) -> &str { &self.0 }
3939
3940    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_CONTACT_PHONE }
3941}
3942
3943impl FieldValueReader for CashSettlAgentContactPhoneField {
3944    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3945        self.0.read(raw)
3946    }
3947}
3948
3949impl FieldValueWriter for CashSettlAgentContactPhoneField {
3950    fn write_to(&self, buf: &mut Vec<u8>) {
3951        self.0.write_to(buf);
3952    }
3953}
3954
3955impl FieldValue for CashSettlAgentContactPhoneField {}
3956
3957
3958/// `CashSettlAgentNameField` is a `STRING` field, Tag 182.
3959pub struct CashSettlAgentNameField(pub FIXString);
3960
3961impl CashSettlAgentNameField {
3962
3963    pub fn new(val: String) -> Self { Self(val) }
3964    pub fn value(&self) -> &str { &self.0 }
3965
3966    pub fn tag() -> Tag { tag::CASH_SETTL_AGENT_NAME }
3967}
3968
3969impl FieldValueReader for CashSettlAgentNameField {
3970    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3971        self.0.read(raw)
3972    }
3973}
3974
3975impl FieldValueWriter for CashSettlAgentNameField {
3976    fn write_to(&self, buf: &mut Vec<u8>) {
3977        self.0.write_to(buf);
3978    }
3979}
3980
3981impl FieldValue for CashSettlAgentNameField {}
3982
3983
3984/// `CcyAmtField` is a `AMT` field, Tag 1157.
3985pub struct CcyAmtField(pub FIXDecimal);
3986
3987impl CcyAmtField {
3988
3989    pub fn new(val: Decimal, scale: i32) -> Self {
3990        Self(FIXDecimal { decimal: val, scale })
3991    }
3992    pub fn value(&self) -> Decimal { self.0.decimal }
3993
3994    pub fn tag() -> Tag { tag::CCY_AMT }
3995}
3996
3997impl FieldValueReader for CcyAmtField {
3998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
3999        self.0.read(raw)
4000    }
4001}
4002
4003impl FieldValueWriter for CcyAmtField {
4004    fn write_to(&self, buf: &mut Vec<u8>) {
4005        self.0.write_to(buf);
4006    }
4007}
4008
4009impl FieldValue for CcyAmtField {}
4010
4011
4012/// `CheckSumField` is a `STRING` field, Tag 10.
4013pub struct CheckSumField(pub FIXString);
4014
4015impl CheckSumField {
4016
4017    pub fn new(val: String) -> Self { Self(val) }
4018    pub fn value(&self) -> &str { &self.0 }
4019
4020    pub fn tag() -> Tag { tag::CHECK_SUM }
4021}
4022
4023impl FieldValueReader for CheckSumField {
4024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4025        self.0.read(raw)
4026    }
4027}
4028
4029impl FieldValueWriter for CheckSumField {
4030    fn write_to(&self, buf: &mut Vec<u8>) {
4031        self.0.write_to(buf);
4032    }
4033}
4034
4035impl FieldValue for CheckSumField {}
4036
4037
4038/// `ClOrdIDField` is a `STRING` field, Tag 11.
4039pub struct ClOrdIDField(pub FIXString);
4040
4041impl ClOrdIDField {
4042
4043    pub fn new(val: String) -> Self { Self(val) }
4044    pub fn value(&self) -> &str { &self.0 }
4045
4046    pub fn tag() -> Tag { tag::CL_ORD_ID }
4047}
4048
4049impl FieldValueReader for ClOrdIDField {
4050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4051        self.0.read(raw)
4052    }
4053}
4054
4055impl FieldValueWriter for ClOrdIDField {
4056    fn write_to(&self, buf: &mut Vec<u8>) {
4057        self.0.write_to(buf);
4058    }
4059}
4060
4061impl FieldValue for ClOrdIDField {}
4062
4063
4064/// `ClOrdLinkIDField` is a `STRING` field, Tag 583.
4065pub struct ClOrdLinkIDField(pub FIXString);
4066
4067impl ClOrdLinkIDField {
4068
4069    pub fn new(val: String) -> Self { Self(val) }
4070    pub fn value(&self) -> &str { &self.0 }
4071
4072    pub fn tag() -> Tag { tag::CL_ORD_LINK_ID }
4073}
4074
4075impl FieldValueReader for ClOrdLinkIDField {
4076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4077        self.0.read(raw)
4078    }
4079}
4080
4081impl FieldValueWriter for ClOrdLinkIDField {
4082    fn write_to(&self, buf: &mut Vec<u8>) {
4083        self.0.write_to(buf);
4084    }
4085}
4086
4087impl FieldValue for ClOrdLinkIDField {}
4088
4089
4090/// `ClearingAccountField` is a `STRING` field, Tag 440.
4091pub struct ClearingAccountField(pub FIXString);
4092
4093impl ClearingAccountField {
4094
4095    pub fn new(val: String) -> Self { Self(val) }
4096    pub fn value(&self) -> &str { &self.0 }
4097
4098    pub fn tag() -> Tag { tag::CLEARING_ACCOUNT }
4099}
4100
4101impl FieldValueReader for ClearingAccountField {
4102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4103        self.0.read(raw)
4104    }
4105}
4106
4107impl FieldValueWriter for ClearingAccountField {
4108    fn write_to(&self, buf: &mut Vec<u8>) {
4109        self.0.write_to(buf);
4110    }
4111}
4112
4113impl FieldValue for ClearingAccountField {}
4114
4115
4116/// `ClearingBusinessDateField` is a `LOCALMKTDATE` field, Tag 715.
4117pub struct ClearingBusinessDateField(pub FIXString);
4118
4119impl ClearingBusinessDateField {
4120
4121    pub fn new(val: String) -> Self { Self(val) }
4122    pub fn value(&self) -> &str { &self.0 }
4123
4124    pub fn tag() -> Tag { tag::CLEARING_BUSINESS_DATE }
4125}
4126
4127impl FieldValueReader for ClearingBusinessDateField {
4128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4129        self.0.read(raw)
4130    }
4131}
4132
4133impl FieldValueWriter for ClearingBusinessDateField {
4134    fn write_to(&self, buf: &mut Vec<u8>) {
4135        self.0.write_to(buf);
4136    }
4137}
4138
4139impl FieldValue for ClearingBusinessDateField {}
4140
4141
4142/// `ClearingFeeIndicatorField` is a `STRING` field, Tag 635.
4143pub struct ClearingFeeIndicatorField(pub FIXString);
4144
4145impl ClearingFeeIndicatorField {
4146
4147    pub fn new(val: String) -> Self { Self(val) }
4148    pub fn value(&self) -> &str { &self.0 }
4149
4150    pub fn tag() -> Tag { tag::CLEARING_FEE_INDICATOR }
4151}
4152
4153impl FieldValueReader for ClearingFeeIndicatorField {
4154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4155        self.0.read(raw)
4156    }
4157}
4158
4159impl FieldValueWriter for ClearingFeeIndicatorField {
4160    fn write_to(&self, buf: &mut Vec<u8>) {
4161        self.0.write_to(buf);
4162    }
4163}
4164
4165impl FieldValue for ClearingFeeIndicatorField {}
4166
4167
4168/// `ClearingFirmField` is a `STRING` field, Tag 439.
4169pub struct ClearingFirmField(pub FIXString);
4170
4171impl ClearingFirmField {
4172
4173    pub fn new(val: String) -> Self { Self(val) }
4174    pub fn value(&self) -> &str { &self.0 }
4175
4176    pub fn tag() -> Tag { tag::CLEARING_FIRM }
4177}
4178
4179impl FieldValueReader for ClearingFirmField {
4180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4181        self.0.read(raw)
4182    }
4183}
4184
4185impl FieldValueWriter for ClearingFirmField {
4186    fn write_to(&self, buf: &mut Vec<u8>) {
4187        self.0.write_to(buf);
4188    }
4189}
4190
4191impl FieldValue for ClearingFirmField {}
4192
4193
4194/// `ClearingInstructionField` is a `INT` field, Tag 577.
4195pub struct ClearingInstructionField(pub FIXInt);
4196
4197impl ClearingInstructionField {
4198
4199    pub fn new(val: isize) -> Self { Self(val) }
4200    pub fn value(&self) -> isize { self.0 }
4201
4202    pub fn tag() -> Tag { tag::CLEARING_INSTRUCTION }
4203}
4204
4205impl FieldValueReader for ClearingInstructionField {
4206    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4207        self.0.read(raw)
4208    }
4209}
4210
4211impl FieldValueWriter for ClearingInstructionField {
4212    fn write_to(&self, buf: &mut Vec<u8>) {
4213        self.0.write_to(buf);
4214    }
4215}
4216
4217impl FieldValue for ClearingInstructionField {}
4218
4219
4220/// `ClientBidIDField` is a `STRING` field, Tag 391.
4221pub struct ClientBidIDField(pub FIXString);
4222
4223impl ClientBidIDField {
4224
4225    pub fn new(val: String) -> Self { Self(val) }
4226    pub fn value(&self) -> &str { &self.0 }
4227
4228    pub fn tag() -> Tag { tag::CLIENT_BID_ID }
4229}
4230
4231impl FieldValueReader for ClientBidIDField {
4232    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4233        self.0.read(raw)
4234    }
4235}
4236
4237impl FieldValueWriter for ClientBidIDField {
4238    fn write_to(&self, buf: &mut Vec<u8>) {
4239        self.0.write_to(buf);
4240    }
4241}
4242
4243impl FieldValue for ClientBidIDField {}
4244
4245
4246/// `ClientIDField` is a `STRING` field, Tag 109.
4247pub struct ClientIDField(pub FIXString);
4248
4249impl ClientIDField {
4250
4251    pub fn new(val: String) -> Self { Self(val) }
4252    pub fn value(&self) -> &str { &self.0 }
4253
4254    pub fn tag() -> Tag { tag::CLIENT_ID }
4255}
4256
4257impl FieldValueReader for ClientIDField {
4258    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4259        self.0.read(raw)
4260    }
4261}
4262
4263impl FieldValueWriter for ClientIDField {
4264    fn write_to(&self, buf: &mut Vec<u8>) {
4265        self.0.write_to(buf);
4266    }
4267}
4268
4269impl FieldValue for ClientIDField {}
4270
4271
4272/// `CollActionField` is a `INT` field, Tag 944.
4273pub struct CollActionField(pub FIXInt);
4274
4275impl CollActionField {
4276
4277    pub fn new(val: isize) -> Self { Self(val) }
4278    pub fn value(&self) -> isize { self.0 }
4279
4280    pub fn tag() -> Tag { tag::COLL_ACTION }
4281}
4282
4283impl FieldValueReader for CollActionField {
4284    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4285        self.0.read(raw)
4286    }
4287}
4288
4289impl FieldValueWriter for CollActionField {
4290    fn write_to(&self, buf: &mut Vec<u8>) {
4291        self.0.write_to(buf);
4292    }
4293}
4294
4295impl FieldValue for CollActionField {}
4296
4297
4298/// `CollApplTypeField` is a `INT` field, Tag 1043.
4299pub struct CollApplTypeField(pub FIXInt);
4300
4301impl CollApplTypeField {
4302
4303    pub fn new(val: isize) -> Self { Self(val) }
4304    pub fn value(&self) -> isize { self.0 }
4305
4306    pub fn tag() -> Tag { tag::COLL_APPL_TYPE }
4307}
4308
4309impl FieldValueReader for CollApplTypeField {
4310    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4311        self.0.read(raw)
4312    }
4313}
4314
4315impl FieldValueWriter for CollApplTypeField {
4316    fn write_to(&self, buf: &mut Vec<u8>) {
4317        self.0.write_to(buf);
4318    }
4319}
4320
4321impl FieldValue for CollApplTypeField {}
4322
4323
4324/// `CollAsgnIDField` is a `STRING` field, Tag 902.
4325pub struct CollAsgnIDField(pub FIXString);
4326
4327impl CollAsgnIDField {
4328
4329    pub fn new(val: String) -> Self { Self(val) }
4330    pub fn value(&self) -> &str { &self.0 }
4331
4332    pub fn tag() -> Tag { tag::COLL_ASGN_ID }
4333}
4334
4335impl FieldValueReader for CollAsgnIDField {
4336    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4337        self.0.read(raw)
4338    }
4339}
4340
4341impl FieldValueWriter for CollAsgnIDField {
4342    fn write_to(&self, buf: &mut Vec<u8>) {
4343        self.0.write_to(buf);
4344    }
4345}
4346
4347impl FieldValue for CollAsgnIDField {}
4348
4349
4350/// `CollAsgnReasonField` is a `INT` field, Tag 895.
4351pub struct CollAsgnReasonField(pub FIXInt);
4352
4353impl CollAsgnReasonField {
4354
4355    pub fn new(val: isize) -> Self { Self(val) }
4356    pub fn value(&self) -> isize { self.0 }
4357
4358    pub fn tag() -> Tag { tag::COLL_ASGN_REASON }
4359}
4360
4361impl FieldValueReader for CollAsgnReasonField {
4362    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4363        self.0.read(raw)
4364    }
4365}
4366
4367impl FieldValueWriter for CollAsgnReasonField {
4368    fn write_to(&self, buf: &mut Vec<u8>) {
4369        self.0.write_to(buf);
4370    }
4371}
4372
4373impl FieldValue for CollAsgnReasonField {}
4374
4375
4376/// `CollAsgnRefIDField` is a `STRING` field, Tag 907.
4377pub struct CollAsgnRefIDField(pub FIXString);
4378
4379impl CollAsgnRefIDField {
4380
4381    pub fn new(val: String) -> Self { Self(val) }
4382    pub fn value(&self) -> &str { &self.0 }
4383
4384    pub fn tag() -> Tag { tag::COLL_ASGN_REF_ID }
4385}
4386
4387impl FieldValueReader for CollAsgnRefIDField {
4388    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4389        self.0.read(raw)
4390    }
4391}
4392
4393impl FieldValueWriter for CollAsgnRefIDField {
4394    fn write_to(&self, buf: &mut Vec<u8>) {
4395        self.0.write_to(buf);
4396    }
4397}
4398
4399impl FieldValue for CollAsgnRefIDField {}
4400
4401
4402/// `CollAsgnRejectReasonField` is a `INT` field, Tag 906.
4403pub struct CollAsgnRejectReasonField(pub FIXInt);
4404
4405impl CollAsgnRejectReasonField {
4406
4407    pub fn new(val: isize) -> Self { Self(val) }
4408    pub fn value(&self) -> isize { self.0 }
4409
4410    pub fn tag() -> Tag { tag::COLL_ASGN_REJECT_REASON }
4411}
4412
4413impl FieldValueReader for CollAsgnRejectReasonField {
4414    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4415        self.0.read(raw)
4416    }
4417}
4418
4419impl FieldValueWriter for CollAsgnRejectReasonField {
4420    fn write_to(&self, buf: &mut Vec<u8>) {
4421        self.0.write_to(buf);
4422    }
4423}
4424
4425impl FieldValue for CollAsgnRejectReasonField {}
4426
4427
4428/// `CollAsgnRespTypeField` is a `INT` field, Tag 905.
4429pub struct CollAsgnRespTypeField(pub FIXInt);
4430
4431impl CollAsgnRespTypeField {
4432
4433    pub fn new(val: isize) -> Self { Self(val) }
4434    pub fn value(&self) -> isize { self.0 }
4435
4436    pub fn tag() -> Tag { tag::COLL_ASGN_RESP_TYPE }
4437}
4438
4439impl FieldValueReader for CollAsgnRespTypeField {
4440    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4441        self.0.read(raw)
4442    }
4443}
4444
4445impl FieldValueWriter for CollAsgnRespTypeField {
4446    fn write_to(&self, buf: &mut Vec<u8>) {
4447        self.0.write_to(buf);
4448    }
4449}
4450
4451impl FieldValue for CollAsgnRespTypeField {}
4452
4453
4454/// `CollAsgnTransTypeField` is a `INT` field, Tag 903.
4455pub struct CollAsgnTransTypeField(pub FIXInt);
4456
4457impl CollAsgnTransTypeField {
4458
4459    pub fn new(val: isize) -> Self { Self(val) }
4460    pub fn value(&self) -> isize { self.0 }
4461
4462    pub fn tag() -> Tag { tag::COLL_ASGN_TRANS_TYPE }
4463}
4464
4465impl FieldValueReader for CollAsgnTransTypeField {
4466    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4467        self.0.read(raw)
4468    }
4469}
4470
4471impl FieldValueWriter for CollAsgnTransTypeField {
4472    fn write_to(&self, buf: &mut Vec<u8>) {
4473        self.0.write_to(buf);
4474    }
4475}
4476
4477impl FieldValue for CollAsgnTransTypeField {}
4478
4479
4480/// `CollInquiryIDField` is a `STRING` field, Tag 909.
4481pub struct CollInquiryIDField(pub FIXString);
4482
4483impl CollInquiryIDField {
4484
4485    pub fn new(val: String) -> Self { Self(val) }
4486    pub fn value(&self) -> &str { &self.0 }
4487
4488    pub fn tag() -> Tag { tag::COLL_INQUIRY_ID }
4489}
4490
4491impl FieldValueReader for CollInquiryIDField {
4492    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4493        self.0.read(raw)
4494    }
4495}
4496
4497impl FieldValueWriter for CollInquiryIDField {
4498    fn write_to(&self, buf: &mut Vec<u8>) {
4499        self.0.write_to(buf);
4500    }
4501}
4502
4503impl FieldValue for CollInquiryIDField {}
4504
4505
4506/// `CollInquiryQualifierField` is a `INT` field, Tag 896.
4507pub struct CollInquiryQualifierField(pub FIXInt);
4508
4509impl CollInquiryQualifierField {
4510
4511    pub fn new(val: isize) -> Self { Self(val) }
4512    pub fn value(&self) -> isize { self.0 }
4513
4514    pub fn tag() -> Tag { tag::COLL_INQUIRY_QUALIFIER }
4515}
4516
4517impl FieldValueReader for CollInquiryQualifierField {
4518    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4519        self.0.read(raw)
4520    }
4521}
4522
4523impl FieldValueWriter for CollInquiryQualifierField {
4524    fn write_to(&self, buf: &mut Vec<u8>) {
4525        self.0.write_to(buf);
4526    }
4527}
4528
4529impl FieldValue for CollInquiryQualifierField {}
4530
4531
4532/// `CollInquiryResultField` is a `INT` field, Tag 946.
4533pub struct CollInquiryResultField(pub FIXInt);
4534
4535impl CollInquiryResultField {
4536
4537    pub fn new(val: isize) -> Self { Self(val) }
4538    pub fn value(&self) -> isize { self.0 }
4539
4540    pub fn tag() -> Tag { tag::COLL_INQUIRY_RESULT }
4541}
4542
4543impl FieldValueReader for CollInquiryResultField {
4544    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4545        self.0.read(raw)
4546    }
4547}
4548
4549impl FieldValueWriter for CollInquiryResultField {
4550    fn write_to(&self, buf: &mut Vec<u8>) {
4551        self.0.write_to(buf);
4552    }
4553}
4554
4555impl FieldValue for CollInquiryResultField {}
4556
4557
4558/// `CollInquiryStatusField` is a `INT` field, Tag 945.
4559pub struct CollInquiryStatusField(pub FIXInt);
4560
4561impl CollInquiryStatusField {
4562
4563    pub fn new(val: isize) -> Self { Self(val) }
4564    pub fn value(&self) -> isize { self.0 }
4565
4566    pub fn tag() -> Tag { tag::COLL_INQUIRY_STATUS }
4567}
4568
4569impl FieldValueReader for CollInquiryStatusField {
4570    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4571        self.0.read(raw)
4572    }
4573}
4574
4575impl FieldValueWriter for CollInquiryStatusField {
4576    fn write_to(&self, buf: &mut Vec<u8>) {
4577        self.0.write_to(buf);
4578    }
4579}
4580
4581impl FieldValue for CollInquiryStatusField {}
4582
4583
4584/// `CollReqIDField` is a `STRING` field, Tag 894.
4585pub struct CollReqIDField(pub FIXString);
4586
4587impl CollReqIDField {
4588
4589    pub fn new(val: String) -> Self { Self(val) }
4590    pub fn value(&self) -> &str { &self.0 }
4591
4592    pub fn tag() -> Tag { tag::COLL_REQ_ID }
4593}
4594
4595impl FieldValueReader for CollReqIDField {
4596    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4597        self.0.read(raw)
4598    }
4599}
4600
4601impl FieldValueWriter for CollReqIDField {
4602    fn write_to(&self, buf: &mut Vec<u8>) {
4603        self.0.write_to(buf);
4604    }
4605}
4606
4607impl FieldValue for CollReqIDField {}
4608
4609
4610/// `CollRespIDField` is a `STRING` field, Tag 904.
4611pub struct CollRespIDField(pub FIXString);
4612
4613impl CollRespIDField {
4614
4615    pub fn new(val: String) -> Self { Self(val) }
4616    pub fn value(&self) -> &str { &self.0 }
4617
4618    pub fn tag() -> Tag { tag::COLL_RESP_ID }
4619}
4620
4621impl FieldValueReader for CollRespIDField {
4622    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4623        self.0.read(raw)
4624    }
4625}
4626
4627impl FieldValueWriter for CollRespIDField {
4628    fn write_to(&self, buf: &mut Vec<u8>) {
4629        self.0.write_to(buf);
4630    }
4631}
4632
4633impl FieldValue for CollRespIDField {}
4634
4635
4636/// `CollRptIDField` is a `STRING` field, Tag 908.
4637pub struct CollRptIDField(pub FIXString);
4638
4639impl CollRptIDField {
4640
4641    pub fn new(val: String) -> Self { Self(val) }
4642    pub fn value(&self) -> &str { &self.0 }
4643
4644    pub fn tag() -> Tag { tag::COLL_RPT_ID }
4645}
4646
4647impl FieldValueReader for CollRptIDField {
4648    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4649        self.0.read(raw)
4650    }
4651}
4652
4653impl FieldValueWriter for CollRptIDField {
4654    fn write_to(&self, buf: &mut Vec<u8>) {
4655        self.0.write_to(buf);
4656    }
4657}
4658
4659impl FieldValue for CollRptIDField {}
4660
4661
4662/// `CollStatusField` is a `INT` field, Tag 910.
4663pub struct CollStatusField(pub FIXInt);
4664
4665impl CollStatusField {
4666
4667    pub fn new(val: isize) -> Self { Self(val) }
4668    pub fn value(&self) -> isize { self.0 }
4669
4670    pub fn tag() -> Tag { tag::COLL_STATUS }
4671}
4672
4673impl FieldValueReader for CollStatusField {
4674    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4675        self.0.read(raw)
4676    }
4677}
4678
4679impl FieldValueWriter for CollStatusField {
4680    fn write_to(&self, buf: &mut Vec<u8>) {
4681        self.0.write_to(buf);
4682    }
4683}
4684
4685impl FieldValue for CollStatusField {}
4686
4687
4688/// `CommCurrencyField` is a `CURRENCY` field, Tag 479.
4689pub struct CommCurrencyField(pub FIXString);
4690
4691impl CommCurrencyField {
4692
4693    pub fn new(val: String) -> Self { Self(val) }
4694    pub fn value(&self) -> &str { &self.0 }
4695
4696    pub fn tag() -> Tag { tag::COMM_CURRENCY }
4697}
4698
4699impl FieldValueReader for CommCurrencyField {
4700    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4701        self.0.read(raw)
4702    }
4703}
4704
4705impl FieldValueWriter for CommCurrencyField {
4706    fn write_to(&self, buf: &mut Vec<u8>) {
4707        self.0.write_to(buf);
4708    }
4709}
4710
4711impl FieldValue for CommCurrencyField {}
4712
4713
4714/// `CommTypeField` is a `CHAR` field, Tag 13.
4715pub struct CommTypeField(pub FIXString);
4716
4717impl CommTypeField {
4718
4719    pub fn new(val: String) -> Self { Self(val) }
4720    pub fn value(&self) -> &str { &self.0 }
4721
4722    pub fn tag() -> Tag { tag::COMM_TYPE }
4723}
4724
4725impl FieldValueReader for CommTypeField {
4726    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4727        self.0.read(raw)
4728    }
4729}
4730
4731impl FieldValueWriter for CommTypeField {
4732    fn write_to(&self, buf: &mut Vec<u8>) {
4733        self.0.write_to(buf);
4734    }
4735}
4736
4737impl FieldValue for CommTypeField {}
4738
4739
4740/// `CommissionField` is a `AMT` field, Tag 12.
4741pub struct CommissionField(pub FIXDecimal);
4742
4743impl CommissionField {
4744
4745    pub fn new(val: Decimal, scale: i32) -> Self {
4746        Self(FIXDecimal { decimal: val, scale })
4747    }
4748    pub fn value(&self) -> Decimal { self.0.decimal }
4749
4750    pub fn tag() -> Tag { tag::COMMISSION }
4751}
4752
4753impl FieldValueReader for CommissionField {
4754    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4755        self.0.read(raw)
4756    }
4757}
4758
4759impl FieldValueWriter for CommissionField {
4760    fn write_to(&self, buf: &mut Vec<u8>) {
4761        self.0.write_to(buf);
4762    }
4763}
4764
4765impl FieldValue for CommissionField {}
4766
4767
4768/// `ComplexEventConditionField` is a `INT` field, Tag 1490.
4769pub struct ComplexEventConditionField(pub FIXInt);
4770
4771impl ComplexEventConditionField {
4772
4773    pub fn new(val: isize) -> Self { Self(val) }
4774    pub fn value(&self) -> isize { self.0 }
4775
4776    pub fn tag() -> Tag { tag::COMPLEX_EVENT_CONDITION }
4777}
4778
4779impl FieldValueReader for ComplexEventConditionField {
4780    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4781        self.0.read(raw)
4782    }
4783}
4784
4785impl FieldValueWriter for ComplexEventConditionField {
4786    fn write_to(&self, buf: &mut Vec<u8>) {
4787        self.0.write_to(buf);
4788    }
4789}
4790
4791impl FieldValue for ComplexEventConditionField {}
4792
4793
4794/// `ComplexEventEndDateField` is a `UTCTIMESTAMP` field, Tag 1493.
4795pub struct ComplexEventEndDateField(pub FIXUTCTimestamp);
4796
4797impl ComplexEventEndDateField {
4798
4799    pub fn new(val: Timestamp) -> Self {
4800        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
4801    }
4802    pub fn value(&self) -> Timestamp { self.0.time }
4803
4804    pub fn tag() -> Tag { tag::COMPLEX_EVENT_END_DATE }
4805}
4806
4807impl FieldValueReader for ComplexEventEndDateField {
4808    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4809        self.0.read(raw)
4810    }
4811}
4812
4813impl FieldValueWriter for ComplexEventEndDateField {
4814    fn write_to(&self, buf: &mut Vec<u8>) {
4815        self.0.write_to(buf);
4816    }
4817}
4818
4819impl FieldValue for ComplexEventEndDateField {}
4820
4821
4822/// `ComplexEventEndTimeField` is a `UTCTIMEONLY` field, Tag 1496.
4823pub struct ComplexEventEndTimeField(pub FIXString);
4824
4825impl ComplexEventEndTimeField {
4826
4827    pub fn new(val: String) -> Self { Self(val) }
4828    pub fn value(&self) -> &str { &self.0 }
4829
4830    pub fn tag() -> Tag { tag::COMPLEX_EVENT_END_TIME }
4831}
4832
4833impl FieldValueReader for ComplexEventEndTimeField {
4834    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4835        self.0.read(raw)
4836    }
4837}
4838
4839impl FieldValueWriter for ComplexEventEndTimeField {
4840    fn write_to(&self, buf: &mut Vec<u8>) {
4841        self.0.write_to(buf);
4842    }
4843}
4844
4845impl FieldValue for ComplexEventEndTimeField {}
4846
4847
4848/// `ComplexEventPriceField` is a `PRICE` field, Tag 1486.
4849pub struct ComplexEventPriceField(pub FIXDecimal);
4850
4851impl ComplexEventPriceField {
4852
4853    pub fn new(val: Decimal, scale: i32) -> Self {
4854        Self(FIXDecimal { decimal: val, scale })
4855    }
4856    pub fn value(&self) -> Decimal { self.0.decimal }
4857
4858    pub fn tag() -> Tag { tag::COMPLEX_EVENT_PRICE }
4859}
4860
4861impl FieldValueReader for ComplexEventPriceField {
4862    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4863        self.0.read(raw)
4864    }
4865}
4866
4867impl FieldValueWriter for ComplexEventPriceField {
4868    fn write_to(&self, buf: &mut Vec<u8>) {
4869        self.0.write_to(buf);
4870    }
4871}
4872
4873impl FieldValue for ComplexEventPriceField {}
4874
4875
4876/// `ComplexEventPriceBoundaryMethodField` is a `INT` field, Tag 1487.
4877pub struct ComplexEventPriceBoundaryMethodField(pub FIXInt);
4878
4879impl ComplexEventPriceBoundaryMethodField {
4880
4881    pub fn new(val: isize) -> Self { Self(val) }
4882    pub fn value(&self) -> isize { self.0 }
4883
4884    pub fn tag() -> Tag { tag::COMPLEX_EVENT_PRICE_BOUNDARY_METHOD }
4885}
4886
4887impl FieldValueReader for ComplexEventPriceBoundaryMethodField {
4888    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4889        self.0.read(raw)
4890    }
4891}
4892
4893impl FieldValueWriter for ComplexEventPriceBoundaryMethodField {
4894    fn write_to(&self, buf: &mut Vec<u8>) {
4895        self.0.write_to(buf);
4896    }
4897}
4898
4899impl FieldValue for ComplexEventPriceBoundaryMethodField {}
4900
4901
4902/// `ComplexEventPriceBoundaryPrecisionField` is a `PERCENTAGE` field, Tag 1488.
4903pub struct ComplexEventPriceBoundaryPrecisionField(pub FIXDecimal);
4904
4905impl ComplexEventPriceBoundaryPrecisionField {
4906
4907    pub fn new(val: Decimal, scale: i32) -> Self {
4908        Self(FIXDecimal { decimal: val, scale })
4909    }
4910    pub fn value(&self) -> Decimal { self.0.decimal }
4911
4912    pub fn tag() -> Tag { tag::COMPLEX_EVENT_PRICE_BOUNDARY_PRECISION }
4913}
4914
4915impl FieldValueReader for ComplexEventPriceBoundaryPrecisionField {
4916    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4917        self.0.read(raw)
4918    }
4919}
4920
4921impl FieldValueWriter for ComplexEventPriceBoundaryPrecisionField {
4922    fn write_to(&self, buf: &mut Vec<u8>) {
4923        self.0.write_to(buf);
4924    }
4925}
4926
4927impl FieldValue for ComplexEventPriceBoundaryPrecisionField {}
4928
4929
4930/// `ComplexEventPriceTimeTypeField` is a `INT` field, Tag 1489.
4931pub struct ComplexEventPriceTimeTypeField(pub FIXInt);
4932
4933impl ComplexEventPriceTimeTypeField {
4934
4935    pub fn new(val: isize) -> Self { Self(val) }
4936    pub fn value(&self) -> isize { self.0 }
4937
4938    pub fn tag() -> Tag { tag::COMPLEX_EVENT_PRICE_TIME_TYPE }
4939}
4940
4941impl FieldValueReader for ComplexEventPriceTimeTypeField {
4942    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4943        self.0.read(raw)
4944    }
4945}
4946
4947impl FieldValueWriter for ComplexEventPriceTimeTypeField {
4948    fn write_to(&self, buf: &mut Vec<u8>) {
4949        self.0.write_to(buf);
4950    }
4951}
4952
4953impl FieldValue for ComplexEventPriceTimeTypeField {}
4954
4955
4956/// `ComplexEventStartDateField` is a `UTCTIMESTAMP` field, Tag 1492.
4957pub struct ComplexEventStartDateField(pub FIXUTCTimestamp);
4958
4959impl ComplexEventStartDateField {
4960
4961    pub fn new(val: Timestamp) -> Self {
4962        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
4963    }
4964    pub fn value(&self) -> Timestamp { self.0.time }
4965
4966    pub fn tag() -> Tag { tag::COMPLEX_EVENT_START_DATE }
4967}
4968
4969impl FieldValueReader for ComplexEventStartDateField {
4970    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4971        self.0.read(raw)
4972    }
4973}
4974
4975impl FieldValueWriter for ComplexEventStartDateField {
4976    fn write_to(&self, buf: &mut Vec<u8>) {
4977        self.0.write_to(buf);
4978    }
4979}
4980
4981impl FieldValue for ComplexEventStartDateField {}
4982
4983
4984/// `ComplexEventStartTimeField` is a `UTCTIMEONLY` field, Tag 1495.
4985pub struct ComplexEventStartTimeField(pub FIXString);
4986
4987impl ComplexEventStartTimeField {
4988
4989    pub fn new(val: String) -> Self { Self(val) }
4990    pub fn value(&self) -> &str { &self.0 }
4991
4992    pub fn tag() -> Tag { tag::COMPLEX_EVENT_START_TIME }
4993}
4994
4995impl FieldValueReader for ComplexEventStartTimeField {
4996    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
4997        self.0.read(raw)
4998    }
4999}
5000
5001impl FieldValueWriter for ComplexEventStartTimeField {
5002    fn write_to(&self, buf: &mut Vec<u8>) {
5003        self.0.write_to(buf);
5004    }
5005}
5006
5007impl FieldValue for ComplexEventStartTimeField {}
5008
5009
5010/// `ComplexEventTypeField` is a `INT` field, Tag 1484.
5011pub struct ComplexEventTypeField(pub FIXInt);
5012
5013impl ComplexEventTypeField {
5014
5015    pub fn new(val: isize) -> Self { Self(val) }
5016    pub fn value(&self) -> isize { self.0 }
5017
5018    pub fn tag() -> Tag { tag::COMPLEX_EVENT_TYPE }
5019}
5020
5021impl FieldValueReader for ComplexEventTypeField {
5022    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5023        self.0.read(raw)
5024    }
5025}
5026
5027impl FieldValueWriter for ComplexEventTypeField {
5028    fn write_to(&self, buf: &mut Vec<u8>) {
5029        self.0.write_to(buf);
5030    }
5031}
5032
5033impl FieldValue for ComplexEventTypeField {}
5034
5035
5036/// `ComplexOptPayoutAmountField` is a `AMT` field, Tag 1485.
5037pub struct ComplexOptPayoutAmountField(pub FIXDecimal);
5038
5039impl ComplexOptPayoutAmountField {
5040
5041    pub fn new(val: Decimal, scale: i32) -> Self {
5042        Self(FIXDecimal { decimal: val, scale })
5043    }
5044    pub fn value(&self) -> Decimal { self.0.decimal }
5045
5046    pub fn tag() -> Tag { tag::COMPLEX_OPT_PAYOUT_AMOUNT }
5047}
5048
5049impl FieldValueReader for ComplexOptPayoutAmountField {
5050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5051        self.0.read(raw)
5052    }
5053}
5054
5055impl FieldValueWriter for ComplexOptPayoutAmountField {
5056    fn write_to(&self, buf: &mut Vec<u8>) {
5057        self.0.write_to(buf);
5058    }
5059}
5060
5061impl FieldValue for ComplexOptPayoutAmountField {}
5062
5063
5064/// `ComplianceIDField` is a `STRING` field, Tag 376.
5065pub struct ComplianceIDField(pub FIXString);
5066
5067impl ComplianceIDField {
5068
5069    pub fn new(val: String) -> Self { Self(val) }
5070    pub fn value(&self) -> &str { &self.0 }
5071
5072    pub fn tag() -> Tag { tag::COMPLIANCE_ID }
5073}
5074
5075impl FieldValueReader for ComplianceIDField {
5076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5077        self.0.read(raw)
5078    }
5079}
5080
5081impl FieldValueWriter for ComplianceIDField {
5082    fn write_to(&self, buf: &mut Vec<u8>) {
5083        self.0.write_to(buf);
5084    }
5085}
5086
5087impl FieldValue for ComplianceIDField {}
5088
5089
5090/// `ConcessionField` is a `AMT` field, Tag 238.
5091pub struct ConcessionField(pub FIXDecimal);
5092
5093impl ConcessionField {
5094
5095    pub fn new(val: Decimal, scale: i32) -> Self {
5096        Self(FIXDecimal { decimal: val, scale })
5097    }
5098    pub fn value(&self) -> Decimal { self.0.decimal }
5099
5100    pub fn tag() -> Tag { tag::CONCESSION }
5101}
5102
5103impl FieldValueReader for ConcessionField {
5104    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5105        self.0.read(raw)
5106    }
5107}
5108
5109impl FieldValueWriter for ConcessionField {
5110    fn write_to(&self, buf: &mut Vec<u8>) {
5111        self.0.write_to(buf);
5112    }
5113}
5114
5115impl FieldValue for ConcessionField {}
5116
5117
5118/// `ConfirmIDField` is a `STRING` field, Tag 664.
5119pub struct ConfirmIDField(pub FIXString);
5120
5121impl ConfirmIDField {
5122
5123    pub fn new(val: String) -> Self { Self(val) }
5124    pub fn value(&self) -> &str { &self.0 }
5125
5126    pub fn tag() -> Tag { tag::CONFIRM_ID }
5127}
5128
5129impl FieldValueReader for ConfirmIDField {
5130    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5131        self.0.read(raw)
5132    }
5133}
5134
5135impl FieldValueWriter for ConfirmIDField {
5136    fn write_to(&self, buf: &mut Vec<u8>) {
5137        self.0.write_to(buf);
5138    }
5139}
5140
5141impl FieldValue for ConfirmIDField {}
5142
5143
5144/// `ConfirmRefIDField` is a `STRING` field, Tag 772.
5145pub struct ConfirmRefIDField(pub FIXString);
5146
5147impl ConfirmRefIDField {
5148
5149    pub fn new(val: String) -> Self { Self(val) }
5150    pub fn value(&self) -> &str { &self.0 }
5151
5152    pub fn tag() -> Tag { tag::CONFIRM_REF_ID }
5153}
5154
5155impl FieldValueReader for ConfirmRefIDField {
5156    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5157        self.0.read(raw)
5158    }
5159}
5160
5161impl FieldValueWriter for ConfirmRefIDField {
5162    fn write_to(&self, buf: &mut Vec<u8>) {
5163        self.0.write_to(buf);
5164    }
5165}
5166
5167impl FieldValue for ConfirmRefIDField {}
5168
5169
5170/// `ConfirmRejReasonField` is a `INT` field, Tag 774.
5171pub struct ConfirmRejReasonField(pub FIXInt);
5172
5173impl ConfirmRejReasonField {
5174
5175    pub fn new(val: isize) -> Self { Self(val) }
5176    pub fn value(&self) -> isize { self.0 }
5177
5178    pub fn tag() -> Tag { tag::CONFIRM_REJ_REASON }
5179}
5180
5181impl FieldValueReader for ConfirmRejReasonField {
5182    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5183        self.0.read(raw)
5184    }
5185}
5186
5187impl FieldValueWriter for ConfirmRejReasonField {
5188    fn write_to(&self, buf: &mut Vec<u8>) {
5189        self.0.write_to(buf);
5190    }
5191}
5192
5193impl FieldValue for ConfirmRejReasonField {}
5194
5195
5196/// `ConfirmReqIDField` is a `STRING` field, Tag 859.
5197pub struct ConfirmReqIDField(pub FIXString);
5198
5199impl ConfirmReqIDField {
5200
5201    pub fn new(val: String) -> Self { Self(val) }
5202    pub fn value(&self) -> &str { &self.0 }
5203
5204    pub fn tag() -> Tag { tag::CONFIRM_REQ_ID }
5205}
5206
5207impl FieldValueReader for ConfirmReqIDField {
5208    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5209        self.0.read(raw)
5210    }
5211}
5212
5213impl FieldValueWriter for ConfirmReqIDField {
5214    fn write_to(&self, buf: &mut Vec<u8>) {
5215        self.0.write_to(buf);
5216    }
5217}
5218
5219impl FieldValue for ConfirmReqIDField {}
5220
5221
5222/// `ConfirmStatusField` is a `INT` field, Tag 665.
5223pub struct ConfirmStatusField(pub FIXInt);
5224
5225impl ConfirmStatusField {
5226
5227    pub fn new(val: isize) -> Self { Self(val) }
5228    pub fn value(&self) -> isize { self.0 }
5229
5230    pub fn tag() -> Tag { tag::CONFIRM_STATUS }
5231}
5232
5233impl FieldValueReader for ConfirmStatusField {
5234    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5235        self.0.read(raw)
5236    }
5237}
5238
5239impl FieldValueWriter for ConfirmStatusField {
5240    fn write_to(&self, buf: &mut Vec<u8>) {
5241        self.0.write_to(buf);
5242    }
5243}
5244
5245impl FieldValue for ConfirmStatusField {}
5246
5247
5248/// `ConfirmTransTypeField` is a `INT` field, Tag 666.
5249pub struct ConfirmTransTypeField(pub FIXInt);
5250
5251impl ConfirmTransTypeField {
5252
5253    pub fn new(val: isize) -> Self { Self(val) }
5254    pub fn value(&self) -> isize { self.0 }
5255
5256    pub fn tag() -> Tag { tag::CONFIRM_TRANS_TYPE }
5257}
5258
5259impl FieldValueReader for ConfirmTransTypeField {
5260    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5261        self.0.read(raw)
5262    }
5263}
5264
5265impl FieldValueWriter for ConfirmTransTypeField {
5266    fn write_to(&self, buf: &mut Vec<u8>) {
5267        self.0.write_to(buf);
5268    }
5269}
5270
5271impl FieldValue for ConfirmTransTypeField {}
5272
5273
5274/// `ConfirmTypeField` is a `INT` field, Tag 773.
5275pub struct ConfirmTypeField(pub FIXInt);
5276
5277impl ConfirmTypeField {
5278
5279    pub fn new(val: isize) -> Self { Self(val) }
5280    pub fn value(&self) -> isize { self.0 }
5281
5282    pub fn tag() -> Tag { tag::CONFIRM_TYPE }
5283}
5284
5285impl FieldValueReader for ConfirmTypeField {
5286    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5287        self.0.read(raw)
5288    }
5289}
5290
5291impl FieldValueWriter for ConfirmTypeField {
5292    fn write_to(&self, buf: &mut Vec<u8>) {
5293        self.0.write_to(buf);
5294    }
5295}
5296
5297impl FieldValue for ConfirmTypeField {}
5298
5299
5300/// `ContAmtCurrField` is a `CURRENCY` field, Tag 521.
5301pub struct ContAmtCurrField(pub FIXString);
5302
5303impl ContAmtCurrField {
5304
5305    pub fn new(val: String) -> Self { Self(val) }
5306    pub fn value(&self) -> &str { &self.0 }
5307
5308    pub fn tag() -> Tag { tag::CONT_AMT_CURR }
5309}
5310
5311impl FieldValueReader for ContAmtCurrField {
5312    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5313        self.0.read(raw)
5314    }
5315}
5316
5317impl FieldValueWriter for ContAmtCurrField {
5318    fn write_to(&self, buf: &mut Vec<u8>) {
5319        self.0.write_to(buf);
5320    }
5321}
5322
5323impl FieldValue for ContAmtCurrField {}
5324
5325
5326/// `ContAmtTypeField` is a `INT` field, Tag 519.
5327pub struct ContAmtTypeField(pub FIXInt);
5328
5329impl ContAmtTypeField {
5330
5331    pub fn new(val: isize) -> Self { Self(val) }
5332    pub fn value(&self) -> isize { self.0 }
5333
5334    pub fn tag() -> Tag { tag::CONT_AMT_TYPE }
5335}
5336
5337impl FieldValueReader for ContAmtTypeField {
5338    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5339        self.0.read(raw)
5340    }
5341}
5342
5343impl FieldValueWriter for ContAmtTypeField {
5344    fn write_to(&self, buf: &mut Vec<u8>) {
5345        self.0.write_to(buf);
5346    }
5347}
5348
5349impl FieldValue for ContAmtTypeField {}
5350
5351
5352/// `ContAmtValueField` is a `FLOAT` field, Tag 520.
5353pub struct ContAmtValueField(pub FIXDecimal);
5354
5355impl ContAmtValueField {
5356
5357    pub fn new(val: Decimal, scale: i32) -> Self {
5358        Self(FIXDecimal { decimal: val, scale })
5359    }
5360    pub fn value(&self) -> Decimal { self.0.decimal }
5361
5362    pub fn tag() -> Tag { tag::CONT_AMT_VALUE }
5363}
5364
5365impl FieldValueReader for ContAmtValueField {
5366    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5367        self.0.read(raw)
5368    }
5369}
5370
5371impl FieldValueWriter for ContAmtValueField {
5372    fn write_to(&self, buf: &mut Vec<u8>) {
5373        self.0.write_to(buf);
5374    }
5375}
5376
5377impl FieldValue for ContAmtValueField {}
5378
5379
5380/// `ContIntRptIDField` is a `STRING` field, Tag 977.
5381pub struct ContIntRptIDField(pub FIXString);
5382
5383impl ContIntRptIDField {
5384
5385    pub fn new(val: String) -> Self { Self(val) }
5386    pub fn value(&self) -> &str { &self.0 }
5387
5388    pub fn tag() -> Tag { tag::CONT_INT_RPT_ID }
5389}
5390
5391impl FieldValueReader for ContIntRptIDField {
5392    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5393        self.0.read(raw)
5394    }
5395}
5396
5397impl FieldValueWriter for ContIntRptIDField {
5398    fn write_to(&self, buf: &mut Vec<u8>) {
5399        self.0.write_to(buf);
5400    }
5401}
5402
5403impl FieldValue for ContIntRptIDField {}
5404
5405
5406/// `ContextPartyIDField` is a `STRING` field, Tag 1523.
5407pub struct ContextPartyIDField(pub FIXString);
5408
5409impl ContextPartyIDField {
5410
5411    pub fn new(val: String) -> Self { Self(val) }
5412    pub fn value(&self) -> &str { &self.0 }
5413
5414    pub fn tag() -> Tag { tag::CONTEXT_PARTY_ID }
5415}
5416
5417impl FieldValueReader for ContextPartyIDField {
5418    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5419        self.0.read(raw)
5420    }
5421}
5422
5423impl FieldValueWriter for ContextPartyIDField {
5424    fn write_to(&self, buf: &mut Vec<u8>) {
5425        self.0.write_to(buf);
5426    }
5427}
5428
5429impl FieldValue for ContextPartyIDField {}
5430
5431
5432/// `ContextPartyIDSourceField` is a `CHAR` field, Tag 1524.
5433pub struct ContextPartyIDSourceField(pub FIXString);
5434
5435impl ContextPartyIDSourceField {
5436
5437    pub fn new(val: String) -> Self { Self(val) }
5438    pub fn value(&self) -> &str { &self.0 }
5439
5440    pub fn tag() -> Tag { tag::CONTEXT_PARTY_ID_SOURCE }
5441}
5442
5443impl FieldValueReader for ContextPartyIDSourceField {
5444    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5445        self.0.read(raw)
5446    }
5447}
5448
5449impl FieldValueWriter for ContextPartyIDSourceField {
5450    fn write_to(&self, buf: &mut Vec<u8>) {
5451        self.0.write_to(buf);
5452    }
5453}
5454
5455impl FieldValue for ContextPartyIDSourceField {}
5456
5457
5458/// `ContextPartyRoleField` is a `INT` field, Tag 1525.
5459pub struct ContextPartyRoleField(pub FIXInt);
5460
5461impl ContextPartyRoleField {
5462
5463    pub fn new(val: isize) -> Self { Self(val) }
5464    pub fn value(&self) -> isize { self.0 }
5465
5466    pub fn tag() -> Tag { tag::CONTEXT_PARTY_ROLE }
5467}
5468
5469impl FieldValueReader for ContextPartyRoleField {
5470    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5471        self.0.read(raw)
5472    }
5473}
5474
5475impl FieldValueWriter for ContextPartyRoleField {
5476    fn write_to(&self, buf: &mut Vec<u8>) {
5477        self.0.write_to(buf);
5478    }
5479}
5480
5481impl FieldValue for ContextPartyRoleField {}
5482
5483
5484/// `ContextPartySubIDField` is a `STRING` field, Tag 1527.
5485pub struct ContextPartySubIDField(pub FIXString);
5486
5487impl ContextPartySubIDField {
5488
5489    pub fn new(val: String) -> Self { Self(val) }
5490    pub fn value(&self) -> &str { &self.0 }
5491
5492    pub fn tag() -> Tag { tag::CONTEXT_PARTY_SUB_ID }
5493}
5494
5495impl FieldValueReader for ContextPartySubIDField {
5496    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5497        self.0.read(raw)
5498    }
5499}
5500
5501impl FieldValueWriter for ContextPartySubIDField {
5502    fn write_to(&self, buf: &mut Vec<u8>) {
5503        self.0.write_to(buf);
5504    }
5505}
5506
5507impl FieldValue for ContextPartySubIDField {}
5508
5509
5510/// `ContextPartySubIDTypeField` is a `INT` field, Tag 1528.
5511pub struct ContextPartySubIDTypeField(pub FIXInt);
5512
5513impl ContextPartySubIDTypeField {
5514
5515    pub fn new(val: isize) -> Self { Self(val) }
5516    pub fn value(&self) -> isize { self.0 }
5517
5518    pub fn tag() -> Tag { tag::CONTEXT_PARTY_SUB_ID_TYPE }
5519}
5520
5521impl FieldValueReader for ContextPartySubIDTypeField {
5522    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5523        self.0.read(raw)
5524    }
5525}
5526
5527impl FieldValueWriter for ContextPartySubIDTypeField {
5528    fn write_to(&self, buf: &mut Vec<u8>) {
5529        self.0.write_to(buf);
5530    }
5531}
5532
5533impl FieldValue for ContextPartySubIDTypeField {}
5534
5535
5536/// `ContingencyTypeField` is a `INT` field, Tag 1385.
5537pub struct ContingencyTypeField(pub FIXInt);
5538
5539impl ContingencyTypeField {
5540
5541    pub fn new(val: isize) -> Self { Self(val) }
5542    pub fn value(&self) -> isize { self.0 }
5543
5544    pub fn tag() -> Tag { tag::CONTINGENCY_TYPE }
5545}
5546
5547impl FieldValueReader for ContingencyTypeField {
5548    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5549        self.0.read(raw)
5550    }
5551}
5552
5553impl FieldValueWriter for ContingencyTypeField {
5554    fn write_to(&self, buf: &mut Vec<u8>) {
5555        self.0.write_to(buf);
5556    }
5557}
5558
5559impl FieldValue for ContingencyTypeField {}
5560
5561
5562/// `ContraBrokerField` is a `STRING` field, Tag 375.
5563pub struct ContraBrokerField(pub FIXString);
5564
5565impl ContraBrokerField {
5566
5567    pub fn new(val: String) -> Self { Self(val) }
5568    pub fn value(&self) -> &str { &self.0 }
5569
5570    pub fn tag() -> Tag { tag::CONTRA_BROKER }
5571}
5572
5573impl FieldValueReader for ContraBrokerField {
5574    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5575        self.0.read(raw)
5576    }
5577}
5578
5579impl FieldValueWriter for ContraBrokerField {
5580    fn write_to(&self, buf: &mut Vec<u8>) {
5581        self.0.write_to(buf);
5582    }
5583}
5584
5585impl FieldValue for ContraBrokerField {}
5586
5587
5588/// `ContraLegRefIDField` is a `STRING` field, Tag 655.
5589pub struct ContraLegRefIDField(pub FIXString);
5590
5591impl ContraLegRefIDField {
5592
5593    pub fn new(val: String) -> Self { Self(val) }
5594    pub fn value(&self) -> &str { &self.0 }
5595
5596    pub fn tag() -> Tag { tag::CONTRA_LEG_REF_ID }
5597}
5598
5599impl FieldValueReader for ContraLegRefIDField {
5600    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5601        self.0.read(raw)
5602    }
5603}
5604
5605impl FieldValueWriter for ContraLegRefIDField {
5606    fn write_to(&self, buf: &mut Vec<u8>) {
5607        self.0.write_to(buf);
5608    }
5609}
5610
5611impl FieldValue for ContraLegRefIDField {}
5612
5613
5614/// `ContraTradeQtyField` is a `QTY` field, Tag 437.
5615pub struct ContraTradeQtyField(pub FIXDecimal);
5616
5617impl ContraTradeQtyField {
5618
5619    pub fn new(val: Decimal, scale: i32) -> Self {
5620        Self(FIXDecimal { decimal: val, scale })
5621    }
5622    pub fn value(&self) -> Decimal { self.0.decimal }
5623
5624    pub fn tag() -> Tag { tag::CONTRA_TRADE_QTY }
5625}
5626
5627impl FieldValueReader for ContraTradeQtyField {
5628    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5629        self.0.read(raw)
5630    }
5631}
5632
5633impl FieldValueWriter for ContraTradeQtyField {
5634    fn write_to(&self, buf: &mut Vec<u8>) {
5635        self.0.write_to(buf);
5636    }
5637}
5638
5639impl FieldValue for ContraTradeQtyField {}
5640
5641
5642/// `ContraTradeTimeField` is a `UTCTIMESTAMP` field, Tag 438.
5643pub struct ContraTradeTimeField(pub FIXUTCTimestamp);
5644
5645impl ContraTradeTimeField {
5646
5647    pub fn new(val: Timestamp) -> Self {
5648        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
5649    }
5650    pub fn value(&self) -> Timestamp { self.0.time }
5651
5652    pub fn tag() -> Tag { tag::CONTRA_TRADE_TIME }
5653}
5654
5655impl FieldValueReader for ContraTradeTimeField {
5656    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5657        self.0.read(raw)
5658    }
5659}
5660
5661impl FieldValueWriter for ContraTradeTimeField {
5662    fn write_to(&self, buf: &mut Vec<u8>) {
5663        self.0.write_to(buf);
5664    }
5665}
5666
5667impl FieldValue for ContraTradeTimeField {}
5668
5669
5670/// `ContraTraderField` is a `STRING` field, Tag 337.
5671pub struct ContraTraderField(pub FIXString);
5672
5673impl ContraTraderField {
5674
5675    pub fn new(val: String) -> Self { Self(val) }
5676    pub fn value(&self) -> &str { &self.0 }
5677
5678    pub fn tag() -> Tag { tag::CONTRA_TRADER }
5679}
5680
5681impl FieldValueReader for ContraTraderField {
5682    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5683        self.0.read(raw)
5684    }
5685}
5686
5687impl FieldValueWriter for ContraTraderField {
5688    fn write_to(&self, buf: &mut Vec<u8>) {
5689        self.0.write_to(buf);
5690    }
5691}
5692
5693impl FieldValue for ContraTraderField {}
5694
5695
5696/// `ContractMultiplierField` is a `FLOAT` field, Tag 231.
5697pub struct ContractMultiplierField(pub FIXDecimal);
5698
5699impl ContractMultiplierField {
5700
5701    pub fn new(val: Decimal, scale: i32) -> Self {
5702        Self(FIXDecimal { decimal: val, scale })
5703    }
5704    pub fn value(&self) -> Decimal { self.0.decimal }
5705
5706    pub fn tag() -> Tag { tag::CONTRACT_MULTIPLIER }
5707}
5708
5709impl FieldValueReader for ContractMultiplierField {
5710    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5711        self.0.read(raw)
5712    }
5713}
5714
5715impl FieldValueWriter for ContractMultiplierField {
5716    fn write_to(&self, buf: &mut Vec<u8>) {
5717        self.0.write_to(buf);
5718    }
5719}
5720
5721impl FieldValue for ContractMultiplierField {}
5722
5723
5724/// `ContractMultiplierUnitField` is a `INT` field, Tag 1435.
5725pub struct ContractMultiplierUnitField(pub FIXInt);
5726
5727impl ContractMultiplierUnitField {
5728
5729    pub fn new(val: isize) -> Self { Self(val) }
5730    pub fn value(&self) -> isize { self.0 }
5731
5732    pub fn tag() -> Tag { tag::CONTRACT_MULTIPLIER_UNIT }
5733}
5734
5735impl FieldValueReader for ContractMultiplierUnitField {
5736    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5737        self.0.read(raw)
5738    }
5739}
5740
5741impl FieldValueWriter for ContractMultiplierUnitField {
5742    fn write_to(&self, buf: &mut Vec<u8>) {
5743        self.0.write_to(buf);
5744    }
5745}
5746
5747impl FieldValue for ContractMultiplierUnitField {}
5748
5749
5750/// `ContractSettlMonthField` is a `MONTHYEAR` field, Tag 667.
5751pub struct ContractSettlMonthField(pub FIXString);
5752
5753impl ContractSettlMonthField {
5754
5755    pub fn new(val: String) -> Self { Self(val) }
5756    pub fn value(&self) -> &str { &self.0 }
5757
5758    pub fn tag() -> Tag { tag::CONTRACT_SETTL_MONTH }
5759}
5760
5761impl FieldValueReader for ContractSettlMonthField {
5762    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5763        self.0.read(raw)
5764    }
5765}
5766
5767impl FieldValueWriter for ContractSettlMonthField {
5768    fn write_to(&self, buf: &mut Vec<u8>) {
5769        self.0.write_to(buf);
5770    }
5771}
5772
5773impl FieldValue for ContractSettlMonthField {}
5774
5775
5776/// `ContraryInstructionIndicatorField` is a `BOOLEAN` field, Tag 719.
5777pub struct ContraryInstructionIndicatorField(pub FIXBoolean);
5778
5779impl ContraryInstructionIndicatorField {
5780
5781    pub fn new(val: bool) -> Self { Self(val) }
5782    pub fn value(&self) -> bool { self.0 }
5783
5784    pub fn tag() -> Tag { tag::CONTRARY_INSTRUCTION_INDICATOR }
5785}
5786
5787impl FieldValueReader for ContraryInstructionIndicatorField {
5788    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5789        self.0.read(raw)
5790    }
5791}
5792
5793impl FieldValueWriter for ContraryInstructionIndicatorField {
5794    fn write_to(&self, buf: &mut Vec<u8>) {
5795        self.0.write_to(buf);
5796    }
5797}
5798
5799impl FieldValue for ContraryInstructionIndicatorField {}
5800
5801
5802/// `CopyMsgIndicatorField` is a `BOOLEAN` field, Tag 797.
5803pub struct CopyMsgIndicatorField(pub FIXBoolean);
5804
5805impl CopyMsgIndicatorField {
5806
5807    pub fn new(val: bool) -> Self { Self(val) }
5808    pub fn value(&self) -> bool { self.0 }
5809
5810    pub fn tag() -> Tag { tag::COPY_MSG_INDICATOR }
5811}
5812
5813impl FieldValueReader for CopyMsgIndicatorField {
5814    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5815        self.0.read(raw)
5816    }
5817}
5818
5819impl FieldValueWriter for CopyMsgIndicatorField {
5820    fn write_to(&self, buf: &mut Vec<u8>) {
5821        self.0.write_to(buf);
5822    }
5823}
5824
5825impl FieldValue for CopyMsgIndicatorField {}
5826
5827
5828/// `CorporateActionField` is a `MULTIPLECHARVALUE` field, Tag 292.
5829pub struct CorporateActionField(pub FIXString);
5830
5831impl CorporateActionField {
5832
5833    pub fn new(val: String) -> Self { Self(val) }
5834    pub fn value(&self) -> &str { &self.0 }
5835
5836    pub fn tag() -> Tag { tag::CORPORATE_ACTION }
5837}
5838
5839impl FieldValueReader for CorporateActionField {
5840    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5841        self.0.read(raw)
5842    }
5843}
5844
5845impl FieldValueWriter for CorporateActionField {
5846    fn write_to(&self, buf: &mut Vec<u8>) {
5847        self.0.write_to(buf);
5848    }
5849}
5850
5851impl FieldValue for CorporateActionField {}
5852
5853
5854/// `CountryField` is a `COUNTRY` field, Tag 421.
5855pub struct CountryField(pub FIXString);
5856
5857impl CountryField {
5858
5859    pub fn new(val: String) -> Self { Self(val) }
5860    pub fn value(&self) -> &str { &self.0 }
5861
5862    pub fn tag() -> Tag { tag::COUNTRY }
5863}
5864
5865impl FieldValueReader for CountryField {
5866    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5867        self.0.read(raw)
5868    }
5869}
5870
5871impl FieldValueWriter for CountryField {
5872    fn write_to(&self, buf: &mut Vec<u8>) {
5873        self.0.write_to(buf);
5874    }
5875}
5876
5877impl FieldValue for CountryField {}
5878
5879
5880/// `CountryOfIssueField` is a `COUNTRY` field, Tag 470.
5881pub struct CountryOfIssueField(pub FIXString);
5882
5883impl CountryOfIssueField {
5884
5885    pub fn new(val: String) -> Self { Self(val) }
5886    pub fn value(&self) -> &str { &self.0 }
5887
5888    pub fn tag() -> Tag { tag::COUNTRY_OF_ISSUE }
5889}
5890
5891impl FieldValueReader for CountryOfIssueField {
5892    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5893        self.0.read(raw)
5894    }
5895}
5896
5897impl FieldValueWriter for CountryOfIssueField {
5898    fn write_to(&self, buf: &mut Vec<u8>) {
5899        self.0.write_to(buf);
5900    }
5901}
5902
5903impl FieldValue for CountryOfIssueField {}
5904
5905
5906/// `CouponPaymentDateField` is a `LOCALMKTDATE` field, Tag 224.
5907pub struct CouponPaymentDateField(pub FIXString);
5908
5909impl CouponPaymentDateField {
5910
5911    pub fn new(val: String) -> Self { Self(val) }
5912    pub fn value(&self) -> &str { &self.0 }
5913
5914    pub fn tag() -> Tag { tag::COUPON_PAYMENT_DATE }
5915}
5916
5917impl FieldValueReader for CouponPaymentDateField {
5918    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5919        self.0.read(raw)
5920    }
5921}
5922
5923impl FieldValueWriter for CouponPaymentDateField {
5924    fn write_to(&self, buf: &mut Vec<u8>) {
5925        self.0.write_to(buf);
5926    }
5927}
5928
5929impl FieldValue for CouponPaymentDateField {}
5930
5931
5932/// `CouponRateField` is a `PERCENTAGE` field, Tag 223.
5933pub struct CouponRateField(pub FIXDecimal);
5934
5935impl CouponRateField {
5936
5937    pub fn new(val: Decimal, scale: i32) -> Self {
5938        Self(FIXDecimal { decimal: val, scale })
5939    }
5940    pub fn value(&self) -> Decimal { self.0.decimal }
5941
5942    pub fn tag() -> Tag { tag::COUPON_RATE }
5943}
5944
5945impl FieldValueReader for CouponRateField {
5946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5947        self.0.read(raw)
5948    }
5949}
5950
5951impl FieldValueWriter for CouponRateField {
5952    fn write_to(&self, buf: &mut Vec<u8>) {
5953        self.0.write_to(buf);
5954    }
5955}
5956
5957impl FieldValue for CouponRateField {}
5958
5959
5960/// `CoveredOrUncoveredField` is a `INT` field, Tag 203.
5961pub struct CoveredOrUncoveredField(pub FIXInt);
5962
5963impl CoveredOrUncoveredField {
5964
5965    pub fn new(val: isize) -> Self { Self(val) }
5966    pub fn value(&self) -> isize { self.0 }
5967
5968    pub fn tag() -> Tag { tag::COVERED_OR_UNCOVERED }
5969}
5970
5971impl FieldValueReader for CoveredOrUncoveredField {
5972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5973        self.0.read(raw)
5974    }
5975}
5976
5977impl FieldValueWriter for CoveredOrUncoveredField {
5978    fn write_to(&self, buf: &mut Vec<u8>) {
5979        self.0.write_to(buf);
5980    }
5981}
5982
5983impl FieldValue for CoveredOrUncoveredField {}
5984
5985
5986/// `CreditRatingField` is a `STRING` field, Tag 255.
5987pub struct CreditRatingField(pub FIXString);
5988
5989impl CreditRatingField {
5990
5991    pub fn new(val: String) -> Self { Self(val) }
5992    pub fn value(&self) -> &str { &self.0 }
5993
5994    pub fn tag() -> Tag { tag::CREDIT_RATING }
5995}
5996
5997impl FieldValueReader for CreditRatingField {
5998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
5999        self.0.read(raw)
6000    }
6001}
6002
6003impl FieldValueWriter for CreditRatingField {
6004    fn write_to(&self, buf: &mut Vec<u8>) {
6005        self.0.write_to(buf);
6006    }
6007}
6008
6009impl FieldValue for CreditRatingField {}
6010
6011
6012/// `CrossIDField` is a `STRING` field, Tag 548.
6013pub struct CrossIDField(pub FIXString);
6014
6015impl CrossIDField {
6016
6017    pub fn new(val: String) -> Self { Self(val) }
6018    pub fn value(&self) -> &str { &self.0 }
6019
6020    pub fn tag() -> Tag { tag::CROSS_ID }
6021}
6022
6023impl FieldValueReader for CrossIDField {
6024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6025        self.0.read(raw)
6026    }
6027}
6028
6029impl FieldValueWriter for CrossIDField {
6030    fn write_to(&self, buf: &mut Vec<u8>) {
6031        self.0.write_to(buf);
6032    }
6033}
6034
6035impl FieldValue for CrossIDField {}
6036
6037
6038/// `CrossPercentField` is a `PERCENTAGE` field, Tag 413.
6039pub struct CrossPercentField(pub FIXDecimal);
6040
6041impl CrossPercentField {
6042
6043    pub fn new(val: Decimal, scale: i32) -> Self {
6044        Self(FIXDecimal { decimal: val, scale })
6045    }
6046    pub fn value(&self) -> Decimal { self.0.decimal }
6047
6048    pub fn tag() -> Tag { tag::CROSS_PERCENT }
6049}
6050
6051impl FieldValueReader for CrossPercentField {
6052    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6053        self.0.read(raw)
6054    }
6055}
6056
6057impl FieldValueWriter for CrossPercentField {
6058    fn write_to(&self, buf: &mut Vec<u8>) {
6059        self.0.write_to(buf);
6060    }
6061}
6062
6063impl FieldValue for CrossPercentField {}
6064
6065
6066/// `CrossPrioritizationField` is a `INT` field, Tag 550.
6067pub struct CrossPrioritizationField(pub FIXInt);
6068
6069impl CrossPrioritizationField {
6070
6071    pub fn new(val: isize) -> Self { Self(val) }
6072    pub fn value(&self) -> isize { self.0 }
6073
6074    pub fn tag() -> Tag { tag::CROSS_PRIORITIZATION }
6075}
6076
6077impl FieldValueReader for CrossPrioritizationField {
6078    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6079        self.0.read(raw)
6080    }
6081}
6082
6083impl FieldValueWriter for CrossPrioritizationField {
6084    fn write_to(&self, buf: &mut Vec<u8>) {
6085        self.0.write_to(buf);
6086    }
6087}
6088
6089impl FieldValue for CrossPrioritizationField {}
6090
6091
6092/// `CrossTypeField` is a `INT` field, Tag 549.
6093pub struct CrossTypeField(pub FIXInt);
6094
6095impl CrossTypeField {
6096
6097    pub fn new(val: isize) -> Self { Self(val) }
6098    pub fn value(&self) -> isize { self.0 }
6099
6100    pub fn tag() -> Tag { tag::CROSS_TYPE }
6101}
6102
6103impl FieldValueReader for CrossTypeField {
6104    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6105        self.0.read(raw)
6106    }
6107}
6108
6109impl FieldValueWriter for CrossTypeField {
6110    fn write_to(&self, buf: &mut Vec<u8>) {
6111        self.0.write_to(buf);
6112    }
6113}
6114
6115impl FieldValue for CrossTypeField {}
6116
6117
6118/// `CstmApplVerIDField` is a `STRING` field, Tag 1129.
6119pub struct CstmApplVerIDField(pub FIXString);
6120
6121impl CstmApplVerIDField {
6122
6123    pub fn new(val: String) -> Self { Self(val) }
6124    pub fn value(&self) -> &str { &self.0 }
6125
6126    pub fn tag() -> Tag { tag::CSTM_APPL_VER_ID }
6127}
6128
6129impl FieldValueReader for CstmApplVerIDField {
6130    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6131        self.0.read(raw)
6132    }
6133}
6134
6135impl FieldValueWriter for CstmApplVerIDField {
6136    fn write_to(&self, buf: &mut Vec<u8>) {
6137        self.0.write_to(buf);
6138    }
6139}
6140
6141impl FieldValue for CstmApplVerIDField {}
6142
6143
6144/// `CumQtyField` is a `QTY` field, Tag 14.
6145pub struct CumQtyField(pub FIXDecimal);
6146
6147impl CumQtyField {
6148
6149    pub fn new(val: Decimal, scale: i32) -> Self {
6150        Self(FIXDecimal { decimal: val, scale })
6151    }
6152    pub fn value(&self) -> Decimal { self.0.decimal }
6153
6154    pub fn tag() -> Tag { tag::CUM_QTY }
6155}
6156
6157impl FieldValueReader for CumQtyField {
6158    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6159        self.0.read(raw)
6160    }
6161}
6162
6163impl FieldValueWriter for CumQtyField {
6164    fn write_to(&self, buf: &mut Vec<u8>) {
6165        self.0.write_to(buf);
6166    }
6167}
6168
6169impl FieldValue for CumQtyField {}
6170
6171
6172/// `CurrencyField` is a `CURRENCY` field, Tag 15.
6173pub struct CurrencyField(pub FIXString);
6174
6175impl CurrencyField {
6176
6177    pub fn new(val: String) -> Self { Self(val) }
6178    pub fn value(&self) -> &str { &self.0 }
6179
6180    pub fn tag() -> Tag { tag::CURRENCY }
6181}
6182
6183impl FieldValueReader for CurrencyField {
6184    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6185        self.0.read(raw)
6186    }
6187}
6188
6189impl FieldValueWriter for CurrencyField {
6190    fn write_to(&self, buf: &mut Vec<u8>) {
6191        self.0.write_to(buf);
6192    }
6193}
6194
6195impl FieldValue for CurrencyField {}
6196
6197
6198/// `CurrencyRatioField` is a `FLOAT` field, Tag 1382.
6199pub struct CurrencyRatioField(pub FIXDecimal);
6200
6201impl CurrencyRatioField {
6202
6203    pub fn new(val: Decimal, scale: i32) -> Self {
6204        Self(FIXDecimal { decimal: val, scale })
6205    }
6206    pub fn value(&self) -> Decimal { self.0.decimal }
6207
6208    pub fn tag() -> Tag { tag::CURRENCY_RATIO }
6209}
6210
6211impl FieldValueReader for CurrencyRatioField {
6212    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6213        self.0.read(raw)
6214    }
6215}
6216
6217impl FieldValueWriter for CurrencyRatioField {
6218    fn write_to(&self, buf: &mut Vec<u8>) {
6219        self.0.write_to(buf);
6220    }
6221}
6222
6223impl FieldValue for CurrencyRatioField {}
6224
6225
6226/// `CustDirectedOrderField` is a `BOOLEAN` field, Tag 1029.
6227pub struct CustDirectedOrderField(pub FIXBoolean);
6228
6229impl CustDirectedOrderField {
6230
6231    pub fn new(val: bool) -> Self { Self(val) }
6232    pub fn value(&self) -> bool { self.0 }
6233
6234    pub fn tag() -> Tag { tag::CUST_DIRECTED_ORDER }
6235}
6236
6237impl FieldValueReader for CustDirectedOrderField {
6238    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6239        self.0.read(raw)
6240    }
6241}
6242
6243impl FieldValueWriter for CustDirectedOrderField {
6244    fn write_to(&self, buf: &mut Vec<u8>) {
6245        self.0.write_to(buf);
6246    }
6247}
6248
6249impl FieldValue for CustDirectedOrderField {}
6250
6251
6252/// `CustOrderCapacityField` is a `INT` field, Tag 582.
6253pub struct CustOrderCapacityField(pub FIXInt);
6254
6255impl CustOrderCapacityField {
6256
6257    pub fn new(val: isize) -> Self { Self(val) }
6258    pub fn value(&self) -> isize { self.0 }
6259
6260    pub fn tag() -> Tag { tag::CUST_ORDER_CAPACITY }
6261}
6262
6263impl FieldValueReader for CustOrderCapacityField {
6264    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6265        self.0.read(raw)
6266    }
6267}
6268
6269impl FieldValueWriter for CustOrderCapacityField {
6270    fn write_to(&self, buf: &mut Vec<u8>) {
6271        self.0.write_to(buf);
6272    }
6273}
6274
6275impl FieldValue for CustOrderCapacityField {}
6276
6277
6278/// `CustOrderHandlingInstField` is a `MULTIPLESTRINGVALUE` field, Tag 1031.
6279pub struct CustOrderHandlingInstField(pub FIXString);
6280
6281impl CustOrderHandlingInstField {
6282
6283    pub fn new(val: String) -> Self { Self(val) }
6284    pub fn value(&self) -> &str { &self.0 }
6285
6286    pub fn tag() -> Tag { tag::CUST_ORDER_HANDLING_INST }
6287}
6288
6289impl FieldValueReader for CustOrderHandlingInstField {
6290    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6291        self.0.read(raw)
6292    }
6293}
6294
6295impl FieldValueWriter for CustOrderHandlingInstField {
6296    fn write_to(&self, buf: &mut Vec<u8>) {
6297        self.0.write_to(buf);
6298    }
6299}
6300
6301impl FieldValue for CustOrderHandlingInstField {}
6302
6303
6304/// `CustomerOrFirmField` is a `INT` field, Tag 204.
6305pub struct CustomerOrFirmField(pub FIXInt);
6306
6307impl CustomerOrFirmField {
6308
6309    pub fn new(val: isize) -> Self { Self(val) }
6310    pub fn value(&self) -> isize { self.0 }
6311
6312    pub fn tag() -> Tag { tag::CUSTOMER_OR_FIRM }
6313}
6314
6315impl FieldValueReader for CustomerOrFirmField {
6316    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6317        self.0.read(raw)
6318    }
6319}
6320
6321impl FieldValueWriter for CustomerOrFirmField {
6322    fn write_to(&self, buf: &mut Vec<u8>) {
6323        self.0.write_to(buf);
6324    }
6325}
6326
6327impl FieldValue for CustomerOrFirmField {}
6328
6329
6330/// `CxlQtyField` is a `QTY` field, Tag 84.
6331pub struct CxlQtyField(pub FIXDecimal);
6332
6333impl CxlQtyField {
6334
6335    pub fn new(val: Decimal, scale: i32) -> Self {
6336        Self(FIXDecimal { decimal: val, scale })
6337    }
6338    pub fn value(&self) -> Decimal { self.0.decimal }
6339
6340    pub fn tag() -> Tag { tag::CXL_QTY }
6341}
6342
6343impl FieldValueReader for CxlQtyField {
6344    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6345        self.0.read(raw)
6346    }
6347}
6348
6349impl FieldValueWriter for CxlQtyField {
6350    fn write_to(&self, buf: &mut Vec<u8>) {
6351        self.0.write_to(buf);
6352    }
6353}
6354
6355impl FieldValue for CxlQtyField {}
6356
6357
6358/// `CxlRejReasonField` is a `INT` field, Tag 102.
6359pub struct CxlRejReasonField(pub FIXInt);
6360
6361impl CxlRejReasonField {
6362
6363    pub fn new(val: isize) -> Self { Self(val) }
6364    pub fn value(&self) -> isize { self.0 }
6365
6366    pub fn tag() -> Tag { tag::CXL_REJ_REASON }
6367}
6368
6369impl FieldValueReader for CxlRejReasonField {
6370    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6371        self.0.read(raw)
6372    }
6373}
6374
6375impl FieldValueWriter for CxlRejReasonField {
6376    fn write_to(&self, buf: &mut Vec<u8>) {
6377        self.0.write_to(buf);
6378    }
6379}
6380
6381impl FieldValue for CxlRejReasonField {}
6382
6383
6384/// `CxlRejResponseToField` is a `CHAR` field, Tag 434.
6385pub struct CxlRejResponseToField(pub FIXString);
6386
6387impl CxlRejResponseToField {
6388
6389    pub fn new(val: String) -> Self { Self(val) }
6390    pub fn value(&self) -> &str { &self.0 }
6391
6392    pub fn tag() -> Tag { tag::CXL_REJ_RESPONSE_TO }
6393}
6394
6395impl FieldValueReader for CxlRejResponseToField {
6396    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6397        self.0.read(raw)
6398    }
6399}
6400
6401impl FieldValueWriter for CxlRejResponseToField {
6402    fn write_to(&self, buf: &mut Vec<u8>) {
6403        self.0.write_to(buf);
6404    }
6405}
6406
6407impl FieldValue for CxlRejResponseToField {}
6408
6409
6410/// `CxlTypeField` is a `CHAR` field, Tag 125.
6411pub struct CxlTypeField(pub FIXString);
6412
6413impl CxlTypeField {
6414
6415    pub fn new(val: String) -> Self { Self(val) }
6416    pub fn value(&self) -> &str { &self.0 }
6417
6418    pub fn tag() -> Tag { tag::CXL_TYPE }
6419}
6420
6421impl FieldValueReader for CxlTypeField {
6422    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6423        self.0.read(raw)
6424    }
6425}
6426
6427impl FieldValueWriter for CxlTypeField {
6428    fn write_to(&self, buf: &mut Vec<u8>) {
6429        self.0.write_to(buf);
6430    }
6431}
6432
6433impl FieldValue for CxlTypeField {}
6434
6435
6436/// `DKReasonField` is a `CHAR` field, Tag 127.
6437pub struct DKReasonField(pub FIXString);
6438
6439impl DKReasonField {
6440
6441    pub fn new(val: String) -> Self { Self(val) }
6442    pub fn value(&self) -> &str { &self.0 }
6443
6444    pub fn tag() -> Tag { tag::DK_REASON }
6445}
6446
6447impl FieldValueReader for DKReasonField {
6448    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6449        self.0.read(raw)
6450    }
6451}
6452
6453impl FieldValueWriter for DKReasonField {
6454    fn write_to(&self, buf: &mut Vec<u8>) {
6455        self.0.write_to(buf);
6456    }
6457}
6458
6459impl FieldValue for DKReasonField {}
6460
6461
6462/// `DateOfBirthField` is a `LOCALMKTDATE` field, Tag 486.
6463pub struct DateOfBirthField(pub FIXString);
6464
6465impl DateOfBirthField {
6466
6467    pub fn new(val: String) -> Self { Self(val) }
6468    pub fn value(&self) -> &str { &self.0 }
6469
6470    pub fn tag() -> Tag { tag::DATE_OF_BIRTH }
6471}
6472
6473impl FieldValueReader for DateOfBirthField {
6474    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6475        self.0.read(raw)
6476    }
6477}
6478
6479impl FieldValueWriter for DateOfBirthField {
6480    fn write_to(&self, buf: &mut Vec<u8>) {
6481        self.0.write_to(buf);
6482    }
6483}
6484
6485impl FieldValue for DateOfBirthField {}
6486
6487
6488/// `DatedDateField` is a `LOCALMKTDATE` field, Tag 873.
6489pub struct DatedDateField(pub FIXString);
6490
6491impl DatedDateField {
6492
6493    pub fn new(val: String) -> Self { Self(val) }
6494    pub fn value(&self) -> &str { &self.0 }
6495
6496    pub fn tag() -> Tag { tag::DATED_DATE }
6497}
6498
6499impl FieldValueReader for DatedDateField {
6500    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6501        self.0.read(raw)
6502    }
6503}
6504
6505impl FieldValueWriter for DatedDateField {
6506    fn write_to(&self, buf: &mut Vec<u8>) {
6507        self.0.write_to(buf);
6508    }
6509}
6510
6511impl FieldValue for DatedDateField {}
6512
6513
6514/// `DayAvgPxField` is a `PRICE` field, Tag 426.
6515pub struct DayAvgPxField(pub FIXDecimal);
6516
6517impl DayAvgPxField {
6518
6519    pub fn new(val: Decimal, scale: i32) -> Self {
6520        Self(FIXDecimal { decimal: val, scale })
6521    }
6522    pub fn value(&self) -> Decimal { self.0.decimal }
6523
6524    pub fn tag() -> Tag { tag::DAY_AVG_PX }
6525}
6526
6527impl FieldValueReader for DayAvgPxField {
6528    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6529        self.0.read(raw)
6530    }
6531}
6532
6533impl FieldValueWriter for DayAvgPxField {
6534    fn write_to(&self, buf: &mut Vec<u8>) {
6535        self.0.write_to(buf);
6536    }
6537}
6538
6539impl FieldValue for DayAvgPxField {}
6540
6541
6542/// `DayBookingInstField` is a `CHAR` field, Tag 589.
6543pub struct DayBookingInstField(pub FIXString);
6544
6545impl DayBookingInstField {
6546
6547    pub fn new(val: String) -> Self { Self(val) }
6548    pub fn value(&self) -> &str { &self.0 }
6549
6550    pub fn tag() -> Tag { tag::DAY_BOOKING_INST }
6551}
6552
6553impl FieldValueReader for DayBookingInstField {
6554    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6555        self.0.read(raw)
6556    }
6557}
6558
6559impl FieldValueWriter for DayBookingInstField {
6560    fn write_to(&self, buf: &mut Vec<u8>) {
6561        self.0.write_to(buf);
6562    }
6563}
6564
6565impl FieldValue for DayBookingInstField {}
6566
6567
6568/// `DayCumQtyField` is a `QTY` field, Tag 425.
6569pub struct DayCumQtyField(pub FIXDecimal);
6570
6571impl DayCumQtyField {
6572
6573    pub fn new(val: Decimal, scale: i32) -> Self {
6574        Self(FIXDecimal { decimal: val, scale })
6575    }
6576    pub fn value(&self) -> Decimal { self.0.decimal }
6577
6578    pub fn tag() -> Tag { tag::DAY_CUM_QTY }
6579}
6580
6581impl FieldValueReader for DayCumQtyField {
6582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6583        self.0.read(raw)
6584    }
6585}
6586
6587impl FieldValueWriter for DayCumQtyField {
6588    fn write_to(&self, buf: &mut Vec<u8>) {
6589        self.0.write_to(buf);
6590    }
6591}
6592
6593impl FieldValue for DayCumQtyField {}
6594
6595
6596/// `DayOrderQtyField` is a `QTY` field, Tag 424.
6597pub struct DayOrderQtyField(pub FIXDecimal);
6598
6599impl DayOrderQtyField {
6600
6601    pub fn new(val: Decimal, scale: i32) -> Self {
6602        Self(FIXDecimal { decimal: val, scale })
6603    }
6604    pub fn value(&self) -> Decimal { self.0.decimal }
6605
6606    pub fn tag() -> Tag { tag::DAY_ORDER_QTY }
6607}
6608
6609impl FieldValueReader for DayOrderQtyField {
6610    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6611        self.0.read(raw)
6612    }
6613}
6614
6615impl FieldValueWriter for DayOrderQtyField {
6616    fn write_to(&self, buf: &mut Vec<u8>) {
6617        self.0.write_to(buf);
6618    }
6619}
6620
6621impl FieldValue for DayOrderQtyField {}
6622
6623
6624/// `DealingCapacityField` is a `CHAR` field, Tag 1048.
6625pub struct DealingCapacityField(pub FIXString);
6626
6627impl DealingCapacityField {
6628
6629    pub fn new(val: String) -> Self { Self(val) }
6630    pub fn value(&self) -> &str { &self.0 }
6631
6632    pub fn tag() -> Tag { tag::DEALING_CAPACITY }
6633}
6634
6635impl FieldValueReader for DealingCapacityField {
6636    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6637        self.0.read(raw)
6638    }
6639}
6640
6641impl FieldValueWriter for DealingCapacityField {
6642    fn write_to(&self, buf: &mut Vec<u8>) {
6643        self.0.write_to(buf);
6644    }
6645}
6646
6647impl FieldValue for DealingCapacityField {}
6648
6649
6650/// `DefBidSizeField` is a `QTY` field, Tag 293.
6651pub struct DefBidSizeField(pub FIXDecimal);
6652
6653impl DefBidSizeField {
6654
6655    pub fn new(val: Decimal, scale: i32) -> Self {
6656        Self(FIXDecimal { decimal: val, scale })
6657    }
6658    pub fn value(&self) -> Decimal { self.0.decimal }
6659
6660    pub fn tag() -> Tag { tag::DEF_BID_SIZE }
6661}
6662
6663impl FieldValueReader for DefBidSizeField {
6664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6665        self.0.read(raw)
6666    }
6667}
6668
6669impl FieldValueWriter for DefBidSizeField {
6670    fn write_to(&self, buf: &mut Vec<u8>) {
6671        self.0.write_to(buf);
6672    }
6673}
6674
6675impl FieldValue for DefBidSizeField {}
6676
6677
6678/// `DefOfferSizeField` is a `QTY` field, Tag 294.
6679pub struct DefOfferSizeField(pub FIXDecimal);
6680
6681impl DefOfferSizeField {
6682
6683    pub fn new(val: Decimal, scale: i32) -> Self {
6684        Self(FIXDecimal { decimal: val, scale })
6685    }
6686    pub fn value(&self) -> Decimal { self.0.decimal }
6687
6688    pub fn tag() -> Tag { tag::DEF_OFFER_SIZE }
6689}
6690
6691impl FieldValueReader for DefOfferSizeField {
6692    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6693        self.0.read(raw)
6694    }
6695}
6696
6697impl FieldValueWriter for DefOfferSizeField {
6698    fn write_to(&self, buf: &mut Vec<u8>) {
6699        self.0.write_to(buf);
6700    }
6701}
6702
6703impl FieldValue for DefOfferSizeField {}
6704
6705
6706/// `DefaultApplExtIDField` is a `INT` field, Tag 1407.
6707pub struct DefaultApplExtIDField(pub FIXInt);
6708
6709impl DefaultApplExtIDField {
6710
6711    pub fn new(val: isize) -> Self { Self(val) }
6712    pub fn value(&self) -> isize { self.0 }
6713
6714    pub fn tag() -> Tag { tag::DEFAULT_APPL_EXT_ID }
6715}
6716
6717impl FieldValueReader for DefaultApplExtIDField {
6718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6719        self.0.read(raw)
6720    }
6721}
6722
6723impl FieldValueWriter for DefaultApplExtIDField {
6724    fn write_to(&self, buf: &mut Vec<u8>) {
6725        self.0.write_to(buf);
6726    }
6727}
6728
6729impl FieldValue for DefaultApplExtIDField {}
6730
6731
6732/// `DefaultApplVerIDField` is a `STRING` field, Tag 1137.
6733pub struct DefaultApplVerIDField(pub FIXString);
6734
6735impl DefaultApplVerIDField {
6736
6737    pub fn new(val: String) -> Self { Self(val) }
6738    pub fn value(&self) -> &str { &self.0 }
6739
6740    pub fn tag() -> Tag { tag::DEFAULT_APPL_VER_ID }
6741}
6742
6743impl FieldValueReader for DefaultApplVerIDField {
6744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6745        self.0.read(raw)
6746    }
6747}
6748
6749impl FieldValueWriter for DefaultApplVerIDField {
6750    fn write_to(&self, buf: &mut Vec<u8>) {
6751        self.0.write_to(buf);
6752    }
6753}
6754
6755impl FieldValue for DefaultApplVerIDField {}
6756
6757
6758/// `DefaultCstmApplVerIDField` is a `STRING` field, Tag 1408.
6759pub struct DefaultCstmApplVerIDField(pub FIXString);
6760
6761impl DefaultCstmApplVerIDField {
6762
6763    pub fn new(val: String) -> Self { Self(val) }
6764    pub fn value(&self) -> &str { &self.0 }
6765
6766    pub fn tag() -> Tag { tag::DEFAULT_CSTM_APPL_VER_ID }
6767}
6768
6769impl FieldValueReader for DefaultCstmApplVerIDField {
6770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6771        self.0.read(raw)
6772    }
6773}
6774
6775impl FieldValueWriter for DefaultCstmApplVerIDField {
6776    fn write_to(&self, buf: &mut Vec<u8>) {
6777        self.0.write_to(buf);
6778    }
6779}
6780
6781impl FieldValue for DefaultCstmApplVerIDField {}
6782
6783
6784/// `DefaultVerIndicatorField` is a `BOOLEAN` field, Tag 1410.
6785pub struct DefaultVerIndicatorField(pub FIXBoolean);
6786
6787impl DefaultVerIndicatorField {
6788
6789    pub fn new(val: bool) -> Self { Self(val) }
6790    pub fn value(&self) -> bool { self.0 }
6791
6792    pub fn tag() -> Tag { tag::DEFAULT_VER_INDICATOR }
6793}
6794
6795impl FieldValueReader for DefaultVerIndicatorField {
6796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6797        self.0.read(raw)
6798    }
6799}
6800
6801impl FieldValueWriter for DefaultVerIndicatorField {
6802    fn write_to(&self, buf: &mut Vec<u8>) {
6803        self.0.write_to(buf);
6804    }
6805}
6806
6807impl FieldValue for DefaultVerIndicatorField {}
6808
6809
6810/// `DeleteReasonField` is a `CHAR` field, Tag 285.
6811pub struct DeleteReasonField(pub FIXString);
6812
6813impl DeleteReasonField {
6814
6815    pub fn new(val: String) -> Self { Self(val) }
6816    pub fn value(&self) -> &str { &self.0 }
6817
6818    pub fn tag() -> Tag { tag::DELETE_REASON }
6819}
6820
6821impl FieldValueReader for DeleteReasonField {
6822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6823        self.0.read(raw)
6824    }
6825}
6826
6827impl FieldValueWriter for DeleteReasonField {
6828    fn write_to(&self, buf: &mut Vec<u8>) {
6829        self.0.write_to(buf);
6830    }
6831}
6832
6833impl FieldValue for DeleteReasonField {}
6834
6835
6836/// `DeliverToCompIDField` is a `STRING` field, Tag 128.
6837pub struct DeliverToCompIDField(pub FIXString);
6838
6839impl DeliverToCompIDField {
6840
6841    pub fn new(val: String) -> Self { Self(val) }
6842    pub fn value(&self) -> &str { &self.0 }
6843
6844    pub fn tag() -> Tag { tag::DELIVER_TO_COMP_ID }
6845}
6846
6847impl FieldValueReader for DeliverToCompIDField {
6848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6849        self.0.read(raw)
6850    }
6851}
6852
6853impl FieldValueWriter for DeliverToCompIDField {
6854    fn write_to(&self, buf: &mut Vec<u8>) {
6855        self.0.write_to(buf);
6856    }
6857}
6858
6859impl FieldValue for DeliverToCompIDField {}
6860
6861
6862/// `DeliverToLocationIDField` is a `STRING` field, Tag 145.
6863pub struct DeliverToLocationIDField(pub FIXString);
6864
6865impl DeliverToLocationIDField {
6866
6867    pub fn new(val: String) -> Self { Self(val) }
6868    pub fn value(&self) -> &str { &self.0 }
6869
6870    pub fn tag() -> Tag { tag::DELIVER_TO_LOCATION_ID }
6871}
6872
6873impl FieldValueReader for DeliverToLocationIDField {
6874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6875        self.0.read(raw)
6876    }
6877}
6878
6879impl FieldValueWriter for DeliverToLocationIDField {
6880    fn write_to(&self, buf: &mut Vec<u8>) {
6881        self.0.write_to(buf);
6882    }
6883}
6884
6885impl FieldValue for DeliverToLocationIDField {}
6886
6887
6888/// `DeliverToSubIDField` is a `STRING` field, Tag 129.
6889pub struct DeliverToSubIDField(pub FIXString);
6890
6891impl DeliverToSubIDField {
6892
6893    pub fn new(val: String) -> Self { Self(val) }
6894    pub fn value(&self) -> &str { &self.0 }
6895
6896    pub fn tag() -> Tag { tag::DELIVER_TO_SUB_ID }
6897}
6898
6899impl FieldValueReader for DeliverToSubIDField {
6900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6901        self.0.read(raw)
6902    }
6903}
6904
6905impl FieldValueWriter for DeliverToSubIDField {
6906    fn write_to(&self, buf: &mut Vec<u8>) {
6907        self.0.write_to(buf);
6908    }
6909}
6910
6911impl FieldValue for DeliverToSubIDField {}
6912
6913
6914/// `DeliveryDateField` is a `LOCALMKTDATE` field, Tag 743.
6915pub struct DeliveryDateField(pub FIXString);
6916
6917impl DeliveryDateField {
6918
6919    pub fn new(val: String) -> Self { Self(val) }
6920    pub fn value(&self) -> &str { &self.0 }
6921
6922    pub fn tag() -> Tag { tag::DELIVERY_DATE }
6923}
6924
6925impl FieldValueReader for DeliveryDateField {
6926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6927        self.0.read(raw)
6928    }
6929}
6930
6931impl FieldValueWriter for DeliveryDateField {
6932    fn write_to(&self, buf: &mut Vec<u8>) {
6933        self.0.write_to(buf);
6934    }
6935}
6936
6937impl FieldValue for DeliveryDateField {}
6938
6939
6940/// `DeliveryFormField` is a `INT` field, Tag 668.
6941pub struct DeliveryFormField(pub FIXInt);
6942
6943impl DeliveryFormField {
6944
6945    pub fn new(val: isize) -> Self { Self(val) }
6946    pub fn value(&self) -> isize { self.0 }
6947
6948    pub fn tag() -> Tag { tag::DELIVERY_FORM }
6949}
6950
6951impl FieldValueReader for DeliveryFormField {
6952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6953        self.0.read(raw)
6954    }
6955}
6956
6957impl FieldValueWriter for DeliveryFormField {
6958    fn write_to(&self, buf: &mut Vec<u8>) {
6959        self.0.write_to(buf);
6960    }
6961}
6962
6963impl FieldValue for DeliveryFormField {}
6964
6965
6966/// `DeliveryTypeField` is a `INT` field, Tag 919.
6967pub struct DeliveryTypeField(pub FIXInt);
6968
6969impl DeliveryTypeField {
6970
6971    pub fn new(val: isize) -> Self { Self(val) }
6972    pub fn value(&self) -> isize { self.0 }
6973
6974    pub fn tag() -> Tag { tag::DELIVERY_TYPE }
6975}
6976
6977impl FieldValueReader for DeliveryTypeField {
6978    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
6979        self.0.read(raw)
6980    }
6981}
6982
6983impl FieldValueWriter for DeliveryTypeField {
6984    fn write_to(&self, buf: &mut Vec<u8>) {
6985        self.0.write_to(buf);
6986    }
6987}
6988
6989impl FieldValue for DeliveryTypeField {}
6990
6991
6992/// `DerivFlexProductEligibilityIndicatorField` is a `BOOLEAN` field, Tag 1243.
6993pub struct DerivFlexProductEligibilityIndicatorField(pub FIXBoolean);
6994
6995impl DerivFlexProductEligibilityIndicatorField {
6996
6997    pub fn new(val: bool) -> Self { Self(val) }
6998    pub fn value(&self) -> bool { self.0 }
6999
7000    pub fn tag() -> Tag { tag::DERIV_FLEX_PRODUCT_ELIGIBILITY_INDICATOR }
7001}
7002
7003impl FieldValueReader for DerivFlexProductEligibilityIndicatorField {
7004    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7005        self.0.read(raw)
7006    }
7007}
7008
7009impl FieldValueWriter for DerivFlexProductEligibilityIndicatorField {
7010    fn write_to(&self, buf: &mut Vec<u8>) {
7011        self.0.write_to(buf);
7012    }
7013}
7014
7015impl FieldValue for DerivFlexProductEligibilityIndicatorField {}
7016
7017
7018/// `DerivativeCFICodeField` is a `STRING` field, Tag 1248.
7019pub struct DerivativeCFICodeField(pub FIXString);
7020
7021impl DerivativeCFICodeField {
7022
7023    pub fn new(val: String) -> Self { Self(val) }
7024    pub fn value(&self) -> &str { &self.0 }
7025
7026    pub fn tag() -> Tag { tag::DERIVATIVE_CFI_CODE }
7027}
7028
7029impl FieldValueReader for DerivativeCFICodeField {
7030    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7031        self.0.read(raw)
7032    }
7033}
7034
7035impl FieldValueWriter for DerivativeCFICodeField {
7036    fn write_to(&self, buf: &mut Vec<u8>) {
7037        self.0.write_to(buf);
7038    }
7039}
7040
7041impl FieldValue for DerivativeCFICodeField {}
7042
7043
7044/// `DerivativeCapPriceField` is a `PRICE` field, Tag 1321.
7045pub struct DerivativeCapPriceField(pub FIXDecimal);
7046
7047impl DerivativeCapPriceField {
7048
7049    pub fn new(val: Decimal, scale: i32) -> Self {
7050        Self(FIXDecimal { decimal: val, scale })
7051    }
7052    pub fn value(&self) -> Decimal { self.0.decimal }
7053
7054    pub fn tag() -> Tag { tag::DERIVATIVE_CAP_PRICE }
7055}
7056
7057impl FieldValueReader for DerivativeCapPriceField {
7058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7059        self.0.read(raw)
7060    }
7061}
7062
7063impl FieldValueWriter for DerivativeCapPriceField {
7064    fn write_to(&self, buf: &mut Vec<u8>) {
7065        self.0.write_to(buf);
7066    }
7067}
7068
7069impl FieldValue for DerivativeCapPriceField {}
7070
7071
7072/// `DerivativeContractMultiplierField` is a `FLOAT` field, Tag 1266.
7073pub struct DerivativeContractMultiplierField(pub FIXDecimal);
7074
7075impl DerivativeContractMultiplierField {
7076
7077    pub fn new(val: Decimal, scale: i32) -> Self {
7078        Self(FIXDecimal { decimal: val, scale })
7079    }
7080    pub fn value(&self) -> Decimal { self.0.decimal }
7081
7082    pub fn tag() -> Tag { tag::DERIVATIVE_CONTRACT_MULTIPLIER }
7083}
7084
7085impl FieldValueReader for DerivativeContractMultiplierField {
7086    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7087        self.0.read(raw)
7088    }
7089}
7090
7091impl FieldValueWriter for DerivativeContractMultiplierField {
7092    fn write_to(&self, buf: &mut Vec<u8>) {
7093        self.0.write_to(buf);
7094    }
7095}
7096
7097impl FieldValue for DerivativeContractMultiplierField {}
7098
7099
7100/// `DerivativeContractMultiplierUnitField` is a `INT` field, Tag 1438.
7101pub struct DerivativeContractMultiplierUnitField(pub FIXInt);
7102
7103impl DerivativeContractMultiplierUnitField {
7104
7105    pub fn new(val: isize) -> Self { Self(val) }
7106    pub fn value(&self) -> isize { self.0 }
7107
7108    pub fn tag() -> Tag { tag::DERIVATIVE_CONTRACT_MULTIPLIER_UNIT }
7109}
7110
7111impl FieldValueReader for DerivativeContractMultiplierUnitField {
7112    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7113        self.0.read(raw)
7114    }
7115}
7116
7117impl FieldValueWriter for DerivativeContractMultiplierUnitField {
7118    fn write_to(&self, buf: &mut Vec<u8>) {
7119        self.0.write_to(buf);
7120    }
7121}
7122
7123impl FieldValue for DerivativeContractMultiplierUnitField {}
7124
7125
7126/// `DerivativeContractSettlMonthField` is a `MONTHYEAR` field, Tag 1285.
7127pub struct DerivativeContractSettlMonthField(pub FIXString);
7128
7129impl DerivativeContractSettlMonthField {
7130
7131    pub fn new(val: String) -> Self { Self(val) }
7132    pub fn value(&self) -> &str { &self.0 }
7133
7134    pub fn tag() -> Tag { tag::DERIVATIVE_CONTRACT_SETTL_MONTH }
7135}
7136
7137impl FieldValueReader for DerivativeContractSettlMonthField {
7138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7139        self.0.read(raw)
7140    }
7141}
7142
7143impl FieldValueWriter for DerivativeContractSettlMonthField {
7144    fn write_to(&self, buf: &mut Vec<u8>) {
7145        self.0.write_to(buf);
7146    }
7147}
7148
7149impl FieldValue for DerivativeContractSettlMonthField {}
7150
7151
7152/// `DerivativeCountryOfIssueField` is a `COUNTRY` field, Tag 1258.
7153pub struct DerivativeCountryOfIssueField(pub FIXString);
7154
7155impl DerivativeCountryOfIssueField {
7156
7157    pub fn new(val: String) -> Self { Self(val) }
7158    pub fn value(&self) -> &str { &self.0 }
7159
7160    pub fn tag() -> Tag { tag::DERIVATIVE_COUNTRY_OF_ISSUE }
7161}
7162
7163impl FieldValueReader for DerivativeCountryOfIssueField {
7164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7165        self.0.read(raw)
7166    }
7167}
7168
7169impl FieldValueWriter for DerivativeCountryOfIssueField {
7170    fn write_to(&self, buf: &mut Vec<u8>) {
7171        self.0.write_to(buf);
7172    }
7173}
7174
7175impl FieldValue for DerivativeCountryOfIssueField {}
7176
7177
7178/// `DerivativeEncodedIssuerField` is a `DATA` field, Tag 1278.
7179pub struct DerivativeEncodedIssuerField(pub FIXString);
7180
7181impl DerivativeEncodedIssuerField {
7182
7183    pub fn new(val: String) -> Self { Self(val) }
7184    pub fn value(&self) -> &str { &self.0 }
7185
7186    pub fn tag() -> Tag { tag::DERIVATIVE_ENCODED_ISSUER }
7187}
7188
7189impl FieldValueReader for DerivativeEncodedIssuerField {
7190    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7191        self.0.read(raw)
7192    }
7193}
7194
7195impl FieldValueWriter for DerivativeEncodedIssuerField {
7196    fn write_to(&self, buf: &mut Vec<u8>) {
7197        self.0.write_to(buf);
7198    }
7199}
7200
7201impl FieldValue for DerivativeEncodedIssuerField {}
7202
7203
7204/// `DerivativeEncodedIssuerLenField` is a `LENGTH` field, Tag 1277.
7205pub struct DerivativeEncodedIssuerLenField(pub FIXInt);
7206
7207impl DerivativeEncodedIssuerLenField {
7208
7209    pub fn new(val: isize) -> Self { Self(val) }
7210    pub fn value(&self) -> isize { self.0 }
7211
7212    pub fn tag() -> Tag { tag::DERIVATIVE_ENCODED_ISSUER_LEN }
7213}
7214
7215impl FieldValueReader for DerivativeEncodedIssuerLenField {
7216    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7217        self.0.read(raw)
7218    }
7219}
7220
7221impl FieldValueWriter for DerivativeEncodedIssuerLenField {
7222    fn write_to(&self, buf: &mut Vec<u8>) {
7223        self.0.write_to(buf);
7224    }
7225}
7226
7227impl FieldValue for DerivativeEncodedIssuerLenField {}
7228
7229
7230/// `DerivativeEncodedSecurityDescField` is a `DATA` field, Tag 1281.
7231pub struct DerivativeEncodedSecurityDescField(pub FIXString);
7232
7233impl DerivativeEncodedSecurityDescField {
7234
7235    pub fn new(val: String) -> Self { Self(val) }
7236    pub fn value(&self) -> &str { &self.0 }
7237
7238    pub fn tag() -> Tag { tag::DERIVATIVE_ENCODED_SECURITY_DESC }
7239}
7240
7241impl FieldValueReader for DerivativeEncodedSecurityDescField {
7242    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7243        self.0.read(raw)
7244    }
7245}
7246
7247impl FieldValueWriter for DerivativeEncodedSecurityDescField {
7248    fn write_to(&self, buf: &mut Vec<u8>) {
7249        self.0.write_to(buf);
7250    }
7251}
7252
7253impl FieldValue for DerivativeEncodedSecurityDescField {}
7254
7255
7256/// `DerivativeEncodedSecurityDescLenField` is a `LENGTH` field, Tag 1280.
7257pub struct DerivativeEncodedSecurityDescLenField(pub FIXInt);
7258
7259impl DerivativeEncodedSecurityDescLenField {
7260
7261    pub fn new(val: isize) -> Self { Self(val) }
7262    pub fn value(&self) -> isize { self.0 }
7263
7264    pub fn tag() -> Tag { tag::DERIVATIVE_ENCODED_SECURITY_DESC_LEN }
7265}
7266
7267impl FieldValueReader for DerivativeEncodedSecurityDescLenField {
7268    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7269        self.0.read(raw)
7270    }
7271}
7272
7273impl FieldValueWriter for DerivativeEncodedSecurityDescLenField {
7274    fn write_to(&self, buf: &mut Vec<u8>) {
7275        self.0.write_to(buf);
7276    }
7277}
7278
7279impl FieldValue for DerivativeEncodedSecurityDescLenField {}
7280
7281
7282/// `DerivativeEventDateField` is a `LOCALMKTDATE` field, Tag 1288.
7283pub struct DerivativeEventDateField(pub FIXString);
7284
7285impl DerivativeEventDateField {
7286
7287    pub fn new(val: String) -> Self { Self(val) }
7288    pub fn value(&self) -> &str { &self.0 }
7289
7290    pub fn tag() -> Tag { tag::DERIVATIVE_EVENT_DATE }
7291}
7292
7293impl FieldValueReader for DerivativeEventDateField {
7294    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7295        self.0.read(raw)
7296    }
7297}
7298
7299impl FieldValueWriter for DerivativeEventDateField {
7300    fn write_to(&self, buf: &mut Vec<u8>) {
7301        self.0.write_to(buf);
7302    }
7303}
7304
7305impl FieldValue for DerivativeEventDateField {}
7306
7307
7308/// `DerivativeEventPxField` is a `PRICE` field, Tag 1290.
7309pub struct DerivativeEventPxField(pub FIXDecimal);
7310
7311impl DerivativeEventPxField {
7312
7313    pub fn new(val: Decimal, scale: i32) -> Self {
7314        Self(FIXDecimal { decimal: val, scale })
7315    }
7316    pub fn value(&self) -> Decimal { self.0.decimal }
7317
7318    pub fn tag() -> Tag { tag::DERIVATIVE_EVENT_PX }
7319}
7320
7321impl FieldValueReader for DerivativeEventPxField {
7322    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7323        self.0.read(raw)
7324    }
7325}
7326
7327impl FieldValueWriter for DerivativeEventPxField {
7328    fn write_to(&self, buf: &mut Vec<u8>) {
7329        self.0.write_to(buf);
7330    }
7331}
7332
7333impl FieldValue for DerivativeEventPxField {}
7334
7335
7336/// `DerivativeEventTextField` is a `STRING` field, Tag 1291.
7337pub struct DerivativeEventTextField(pub FIXString);
7338
7339impl DerivativeEventTextField {
7340
7341    pub fn new(val: String) -> Self { Self(val) }
7342    pub fn value(&self) -> &str { &self.0 }
7343
7344    pub fn tag() -> Tag { tag::DERIVATIVE_EVENT_TEXT }
7345}
7346
7347impl FieldValueReader for DerivativeEventTextField {
7348    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7349        self.0.read(raw)
7350    }
7351}
7352
7353impl FieldValueWriter for DerivativeEventTextField {
7354    fn write_to(&self, buf: &mut Vec<u8>) {
7355        self.0.write_to(buf);
7356    }
7357}
7358
7359impl FieldValue for DerivativeEventTextField {}
7360
7361
7362/// `DerivativeEventTimeField` is a `UTCTIMESTAMP` field, Tag 1289.
7363pub struct DerivativeEventTimeField(pub FIXUTCTimestamp);
7364
7365impl DerivativeEventTimeField {
7366
7367    pub fn new(val: Timestamp) -> Self {
7368        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
7369    }
7370    pub fn value(&self) -> Timestamp { self.0.time }
7371
7372    pub fn tag() -> Tag { tag::DERIVATIVE_EVENT_TIME }
7373}
7374
7375impl FieldValueReader for DerivativeEventTimeField {
7376    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7377        self.0.read(raw)
7378    }
7379}
7380
7381impl FieldValueWriter for DerivativeEventTimeField {
7382    fn write_to(&self, buf: &mut Vec<u8>) {
7383        self.0.write_to(buf);
7384    }
7385}
7386
7387impl FieldValue for DerivativeEventTimeField {}
7388
7389
7390/// `DerivativeEventTypeField` is a `INT` field, Tag 1287.
7391pub struct DerivativeEventTypeField(pub FIXInt);
7392
7393impl DerivativeEventTypeField {
7394
7395    pub fn new(val: isize) -> Self { Self(val) }
7396    pub fn value(&self) -> isize { self.0 }
7397
7398    pub fn tag() -> Tag { tag::DERIVATIVE_EVENT_TYPE }
7399}
7400
7401impl FieldValueReader for DerivativeEventTypeField {
7402    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7403        self.0.read(raw)
7404    }
7405}
7406
7407impl FieldValueWriter for DerivativeEventTypeField {
7408    fn write_to(&self, buf: &mut Vec<u8>) {
7409        self.0.write_to(buf);
7410    }
7411}
7412
7413impl FieldValue for DerivativeEventTypeField {}
7414
7415
7416/// `DerivativeExerciseStyleField` is a `CHAR` field, Tag 1299.
7417pub struct DerivativeExerciseStyleField(pub FIXString);
7418
7419impl DerivativeExerciseStyleField {
7420
7421    pub fn new(val: String) -> Self { Self(val) }
7422    pub fn value(&self) -> &str { &self.0 }
7423
7424    pub fn tag() -> Tag { tag::DERIVATIVE_EXERCISE_STYLE }
7425}
7426
7427impl FieldValueReader for DerivativeExerciseStyleField {
7428    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7429        self.0.read(raw)
7430    }
7431}
7432
7433impl FieldValueWriter for DerivativeExerciseStyleField {
7434    fn write_to(&self, buf: &mut Vec<u8>) {
7435        self.0.write_to(buf);
7436    }
7437}
7438
7439impl FieldValue for DerivativeExerciseStyleField {}
7440
7441
7442/// `DerivativeFloorPriceField` is a `PRICE` field, Tag 1322.
7443pub struct DerivativeFloorPriceField(pub FIXDecimal);
7444
7445impl DerivativeFloorPriceField {
7446
7447    pub fn new(val: Decimal, scale: i32) -> Self {
7448        Self(FIXDecimal { decimal: val, scale })
7449    }
7450    pub fn value(&self) -> Decimal { self.0.decimal }
7451
7452    pub fn tag() -> Tag { tag::DERIVATIVE_FLOOR_PRICE }
7453}
7454
7455impl FieldValueReader for DerivativeFloorPriceField {
7456    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7457        self.0.read(raw)
7458    }
7459}
7460
7461impl FieldValueWriter for DerivativeFloorPriceField {
7462    fn write_to(&self, buf: &mut Vec<u8>) {
7463        self.0.write_to(buf);
7464    }
7465}
7466
7467impl FieldValue for DerivativeFloorPriceField {}
7468
7469
7470/// `DerivativeFlowScheduleTypeField` is a `INT` field, Tag 1442.
7471pub struct DerivativeFlowScheduleTypeField(pub FIXInt);
7472
7473impl DerivativeFlowScheduleTypeField {
7474
7475    pub fn new(val: isize) -> Self { Self(val) }
7476    pub fn value(&self) -> isize { self.0 }
7477
7478    pub fn tag() -> Tag { tag::DERIVATIVE_FLOW_SCHEDULE_TYPE }
7479}
7480
7481impl FieldValueReader for DerivativeFlowScheduleTypeField {
7482    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7483        self.0.read(raw)
7484    }
7485}
7486
7487impl FieldValueWriter for DerivativeFlowScheduleTypeField {
7488    fn write_to(&self, buf: &mut Vec<u8>) {
7489        self.0.write_to(buf);
7490    }
7491}
7492
7493impl FieldValue for DerivativeFlowScheduleTypeField {}
7494
7495
7496/// `DerivativeFuturesValuationMethodField` is a `STRING` field, Tag 1319.
7497pub struct DerivativeFuturesValuationMethodField(pub FIXString);
7498
7499impl DerivativeFuturesValuationMethodField {
7500
7501    pub fn new(val: String) -> Self { Self(val) }
7502    pub fn value(&self) -> &str { &self.0 }
7503
7504    pub fn tag() -> Tag { tag::DERIVATIVE_FUTURES_VALUATION_METHOD }
7505}
7506
7507impl FieldValueReader for DerivativeFuturesValuationMethodField {
7508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7509        self.0.read(raw)
7510    }
7511}
7512
7513impl FieldValueWriter for DerivativeFuturesValuationMethodField {
7514    fn write_to(&self, buf: &mut Vec<u8>) {
7515        self.0.write_to(buf);
7516    }
7517}
7518
7519impl FieldValue for DerivativeFuturesValuationMethodField {}
7520
7521
7522/// `DerivativeInstrAttribTypeField` is a `INT` field, Tag 1313.
7523pub struct DerivativeInstrAttribTypeField(pub FIXInt);
7524
7525impl DerivativeInstrAttribTypeField {
7526
7527    pub fn new(val: isize) -> Self { Self(val) }
7528    pub fn value(&self) -> isize { self.0 }
7529
7530    pub fn tag() -> Tag { tag::DERIVATIVE_INSTR_ATTRIB_TYPE }
7531}
7532
7533impl FieldValueReader for DerivativeInstrAttribTypeField {
7534    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7535        self.0.read(raw)
7536    }
7537}
7538
7539impl FieldValueWriter for DerivativeInstrAttribTypeField {
7540    fn write_to(&self, buf: &mut Vec<u8>) {
7541        self.0.write_to(buf);
7542    }
7543}
7544
7545impl FieldValue for DerivativeInstrAttribTypeField {}
7546
7547
7548/// `DerivativeInstrAttribValueField` is a `STRING` field, Tag 1314.
7549pub struct DerivativeInstrAttribValueField(pub FIXString);
7550
7551impl DerivativeInstrAttribValueField {
7552
7553    pub fn new(val: String) -> Self { Self(val) }
7554    pub fn value(&self) -> &str { &self.0 }
7555
7556    pub fn tag() -> Tag { tag::DERIVATIVE_INSTR_ATTRIB_VALUE }
7557}
7558
7559impl FieldValueReader for DerivativeInstrAttribValueField {
7560    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7561        self.0.read(raw)
7562    }
7563}
7564
7565impl FieldValueWriter for DerivativeInstrAttribValueField {
7566    fn write_to(&self, buf: &mut Vec<u8>) {
7567        self.0.write_to(buf);
7568    }
7569}
7570
7571impl FieldValue for DerivativeInstrAttribValueField {}
7572
7573
7574/// `DerivativeInstrRegistryField` is a `STRING` field, Tag 1257.
7575pub struct DerivativeInstrRegistryField(pub FIXString);
7576
7577impl DerivativeInstrRegistryField {
7578
7579    pub fn new(val: String) -> Self { Self(val) }
7580    pub fn value(&self) -> &str { &self.0 }
7581
7582    pub fn tag() -> Tag { tag::DERIVATIVE_INSTR_REGISTRY }
7583}
7584
7585impl FieldValueReader for DerivativeInstrRegistryField {
7586    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7587        self.0.read(raw)
7588    }
7589}
7590
7591impl FieldValueWriter for DerivativeInstrRegistryField {
7592    fn write_to(&self, buf: &mut Vec<u8>) {
7593        self.0.write_to(buf);
7594    }
7595}
7596
7597impl FieldValue for DerivativeInstrRegistryField {}
7598
7599
7600/// `DerivativeInstrmtAssignmentMethodField` is a `CHAR` field, Tag 1255.
7601pub struct DerivativeInstrmtAssignmentMethodField(pub FIXString);
7602
7603impl DerivativeInstrmtAssignmentMethodField {
7604
7605    pub fn new(val: String) -> Self { Self(val) }
7606    pub fn value(&self) -> &str { &self.0 }
7607
7608    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRMT_ASSIGNMENT_METHOD }
7609}
7610
7611impl FieldValueReader for DerivativeInstrmtAssignmentMethodField {
7612    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7613        self.0.read(raw)
7614    }
7615}
7616
7617impl FieldValueWriter for DerivativeInstrmtAssignmentMethodField {
7618    fn write_to(&self, buf: &mut Vec<u8>) {
7619        self.0.write_to(buf);
7620    }
7621}
7622
7623impl FieldValue for DerivativeInstrmtAssignmentMethodField {}
7624
7625
7626/// `DerivativeInstrumentPartyIDField` is a `STRING` field, Tag 1293.
7627pub struct DerivativeInstrumentPartyIDField(pub FIXString);
7628
7629impl DerivativeInstrumentPartyIDField {
7630
7631    pub fn new(val: String) -> Self { Self(val) }
7632    pub fn value(&self) -> &str { &self.0 }
7633
7634    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRUMENT_PARTY_ID }
7635}
7636
7637impl FieldValueReader for DerivativeInstrumentPartyIDField {
7638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7639        self.0.read(raw)
7640    }
7641}
7642
7643impl FieldValueWriter for DerivativeInstrumentPartyIDField {
7644    fn write_to(&self, buf: &mut Vec<u8>) {
7645        self.0.write_to(buf);
7646    }
7647}
7648
7649impl FieldValue for DerivativeInstrumentPartyIDField {}
7650
7651
7652/// `DerivativeInstrumentPartyIDSourceField` is a `STRING` field, Tag 1294.
7653pub struct DerivativeInstrumentPartyIDSourceField(pub FIXString);
7654
7655impl DerivativeInstrumentPartyIDSourceField {
7656
7657    pub fn new(val: String) -> Self { Self(val) }
7658    pub fn value(&self) -> &str { &self.0 }
7659
7660    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRUMENT_PARTY_ID_SOURCE }
7661}
7662
7663impl FieldValueReader for DerivativeInstrumentPartyIDSourceField {
7664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7665        self.0.read(raw)
7666    }
7667}
7668
7669impl FieldValueWriter for DerivativeInstrumentPartyIDSourceField {
7670    fn write_to(&self, buf: &mut Vec<u8>) {
7671        self.0.write_to(buf);
7672    }
7673}
7674
7675impl FieldValue for DerivativeInstrumentPartyIDSourceField {}
7676
7677
7678/// `DerivativeInstrumentPartyRoleField` is a `INT` field, Tag 1295.
7679pub struct DerivativeInstrumentPartyRoleField(pub FIXInt);
7680
7681impl DerivativeInstrumentPartyRoleField {
7682
7683    pub fn new(val: isize) -> Self { Self(val) }
7684    pub fn value(&self) -> isize { self.0 }
7685
7686    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRUMENT_PARTY_ROLE }
7687}
7688
7689impl FieldValueReader for DerivativeInstrumentPartyRoleField {
7690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7691        self.0.read(raw)
7692    }
7693}
7694
7695impl FieldValueWriter for DerivativeInstrumentPartyRoleField {
7696    fn write_to(&self, buf: &mut Vec<u8>) {
7697        self.0.write_to(buf);
7698    }
7699}
7700
7701impl FieldValue for DerivativeInstrumentPartyRoleField {}
7702
7703
7704/// `DerivativeInstrumentPartySubIDField` is a `STRING` field, Tag 1297.
7705pub struct DerivativeInstrumentPartySubIDField(pub FIXString);
7706
7707impl DerivativeInstrumentPartySubIDField {
7708
7709    pub fn new(val: String) -> Self { Self(val) }
7710    pub fn value(&self) -> &str { &self.0 }
7711
7712    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRUMENT_PARTY_SUB_ID }
7713}
7714
7715impl FieldValueReader for DerivativeInstrumentPartySubIDField {
7716    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7717        self.0.read(raw)
7718    }
7719}
7720
7721impl FieldValueWriter for DerivativeInstrumentPartySubIDField {
7722    fn write_to(&self, buf: &mut Vec<u8>) {
7723        self.0.write_to(buf);
7724    }
7725}
7726
7727impl FieldValue for DerivativeInstrumentPartySubIDField {}
7728
7729
7730/// `DerivativeInstrumentPartySubIDTypeField` is a `INT` field, Tag 1298.
7731pub struct DerivativeInstrumentPartySubIDTypeField(pub FIXInt);
7732
7733impl DerivativeInstrumentPartySubIDTypeField {
7734
7735    pub fn new(val: isize) -> Self { Self(val) }
7736    pub fn value(&self) -> isize { self.0 }
7737
7738    pub fn tag() -> Tag { tag::DERIVATIVE_INSTRUMENT_PARTY_SUB_ID_TYPE }
7739}
7740
7741impl FieldValueReader for DerivativeInstrumentPartySubIDTypeField {
7742    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7743        self.0.read(raw)
7744    }
7745}
7746
7747impl FieldValueWriter for DerivativeInstrumentPartySubIDTypeField {
7748    fn write_to(&self, buf: &mut Vec<u8>) {
7749        self.0.write_to(buf);
7750    }
7751}
7752
7753impl FieldValue for DerivativeInstrumentPartySubIDTypeField {}
7754
7755
7756/// `DerivativeIssueDateField` is a `LOCALMKTDATE` field, Tag 1276.
7757pub struct DerivativeIssueDateField(pub FIXString);
7758
7759impl DerivativeIssueDateField {
7760
7761    pub fn new(val: String) -> Self { Self(val) }
7762    pub fn value(&self) -> &str { &self.0 }
7763
7764    pub fn tag() -> Tag { tag::DERIVATIVE_ISSUE_DATE }
7765}
7766
7767impl FieldValueReader for DerivativeIssueDateField {
7768    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7769        self.0.read(raw)
7770    }
7771}
7772
7773impl FieldValueWriter for DerivativeIssueDateField {
7774    fn write_to(&self, buf: &mut Vec<u8>) {
7775        self.0.write_to(buf);
7776    }
7777}
7778
7779impl FieldValue for DerivativeIssueDateField {}
7780
7781
7782/// `DerivativeIssuerField` is a `STRING` field, Tag 1275.
7783pub struct DerivativeIssuerField(pub FIXString);
7784
7785impl DerivativeIssuerField {
7786
7787    pub fn new(val: String) -> Self { Self(val) }
7788    pub fn value(&self) -> &str { &self.0 }
7789
7790    pub fn tag() -> Tag { tag::DERIVATIVE_ISSUER }
7791}
7792
7793impl FieldValueReader for DerivativeIssuerField {
7794    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7795        self.0.read(raw)
7796    }
7797}
7798
7799impl FieldValueWriter for DerivativeIssuerField {
7800    fn write_to(&self, buf: &mut Vec<u8>) {
7801        self.0.write_to(buf);
7802    }
7803}
7804
7805impl FieldValue for DerivativeIssuerField {}
7806
7807
7808/// `DerivativeListMethodField` is a `INT` field, Tag 1320.
7809pub struct DerivativeListMethodField(pub FIXInt);
7810
7811impl DerivativeListMethodField {
7812
7813    pub fn new(val: isize) -> Self { Self(val) }
7814    pub fn value(&self) -> isize { self.0 }
7815
7816    pub fn tag() -> Tag { tag::DERIVATIVE_LIST_METHOD }
7817}
7818
7819impl FieldValueReader for DerivativeListMethodField {
7820    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7821        self.0.read(raw)
7822    }
7823}
7824
7825impl FieldValueWriter for DerivativeListMethodField {
7826    fn write_to(&self, buf: &mut Vec<u8>) {
7827        self.0.write_to(buf);
7828    }
7829}
7830
7831impl FieldValue for DerivativeListMethodField {}
7832
7833
7834/// `DerivativeLocaleOfIssueField` is a `STRING` field, Tag 1260.
7835pub struct DerivativeLocaleOfIssueField(pub FIXString);
7836
7837impl DerivativeLocaleOfIssueField {
7838
7839    pub fn new(val: String) -> Self { Self(val) }
7840    pub fn value(&self) -> &str { &self.0 }
7841
7842    pub fn tag() -> Tag { tag::DERIVATIVE_LOCALE_OF_ISSUE }
7843}
7844
7845impl FieldValueReader for DerivativeLocaleOfIssueField {
7846    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7847        self.0.read(raw)
7848    }
7849}
7850
7851impl FieldValueWriter for DerivativeLocaleOfIssueField {
7852    fn write_to(&self, buf: &mut Vec<u8>) {
7853        self.0.write_to(buf);
7854    }
7855}
7856
7857impl FieldValue for DerivativeLocaleOfIssueField {}
7858
7859
7860/// `DerivativeMaturityDateField` is a `LOCALMKTDATE` field, Tag 1252.
7861pub struct DerivativeMaturityDateField(pub FIXString);
7862
7863impl DerivativeMaturityDateField {
7864
7865    pub fn new(val: String) -> Self { Self(val) }
7866    pub fn value(&self) -> &str { &self.0 }
7867
7868    pub fn tag() -> Tag { tag::DERIVATIVE_MATURITY_DATE }
7869}
7870
7871impl FieldValueReader for DerivativeMaturityDateField {
7872    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7873        self.0.read(raw)
7874    }
7875}
7876
7877impl FieldValueWriter for DerivativeMaturityDateField {
7878    fn write_to(&self, buf: &mut Vec<u8>) {
7879        self.0.write_to(buf);
7880    }
7881}
7882
7883impl FieldValue for DerivativeMaturityDateField {}
7884
7885
7886/// `DerivativeMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1251.
7887pub struct DerivativeMaturityMonthYearField(pub FIXString);
7888
7889impl DerivativeMaturityMonthYearField {
7890
7891    pub fn new(val: String) -> Self { Self(val) }
7892    pub fn value(&self) -> &str { &self.0 }
7893
7894    pub fn tag() -> Tag { tag::DERIVATIVE_MATURITY_MONTH_YEAR }
7895}
7896
7897impl FieldValueReader for DerivativeMaturityMonthYearField {
7898    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7899        self.0.read(raw)
7900    }
7901}
7902
7903impl FieldValueWriter for DerivativeMaturityMonthYearField {
7904    fn write_to(&self, buf: &mut Vec<u8>) {
7905        self.0.write_to(buf);
7906    }
7907}
7908
7909impl FieldValue for DerivativeMaturityMonthYearField {}
7910
7911
7912/// `DerivativeMaturityTimeField` is a `TZTIMEONLY` field, Tag 1253.
7913pub struct DerivativeMaturityTimeField(pub FIXString);
7914
7915impl DerivativeMaturityTimeField {
7916
7917    pub fn new(val: String) -> Self { Self(val) }
7918    pub fn value(&self) -> &str { &self.0 }
7919
7920    pub fn tag() -> Tag { tag::DERIVATIVE_MATURITY_TIME }
7921}
7922
7923impl FieldValueReader for DerivativeMaturityTimeField {
7924    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7925        self.0.read(raw)
7926    }
7927}
7928
7929impl FieldValueWriter for DerivativeMaturityTimeField {
7930    fn write_to(&self, buf: &mut Vec<u8>) {
7931        self.0.write_to(buf);
7932    }
7933}
7934
7935impl FieldValue for DerivativeMaturityTimeField {}
7936
7937
7938/// `DerivativeMinPriceIncrementField` is a `FLOAT` field, Tag 1267.
7939pub struct DerivativeMinPriceIncrementField(pub FIXDecimal);
7940
7941impl DerivativeMinPriceIncrementField {
7942
7943    pub fn new(val: Decimal, scale: i32) -> Self {
7944        Self(FIXDecimal { decimal: val, scale })
7945    }
7946    pub fn value(&self) -> Decimal { self.0.decimal }
7947
7948    pub fn tag() -> Tag { tag::DERIVATIVE_MIN_PRICE_INCREMENT }
7949}
7950
7951impl FieldValueReader for DerivativeMinPriceIncrementField {
7952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7953        self.0.read(raw)
7954    }
7955}
7956
7957impl FieldValueWriter for DerivativeMinPriceIncrementField {
7958    fn write_to(&self, buf: &mut Vec<u8>) {
7959        self.0.write_to(buf);
7960    }
7961}
7962
7963impl FieldValue for DerivativeMinPriceIncrementField {}
7964
7965
7966/// `DerivativeMinPriceIncrementAmountField` is a `AMT` field, Tag 1268.
7967pub struct DerivativeMinPriceIncrementAmountField(pub FIXDecimal);
7968
7969impl DerivativeMinPriceIncrementAmountField {
7970
7971    pub fn new(val: Decimal, scale: i32) -> Self {
7972        Self(FIXDecimal { decimal: val, scale })
7973    }
7974    pub fn value(&self) -> Decimal { self.0.decimal }
7975
7976    pub fn tag() -> Tag { tag::DERIVATIVE_MIN_PRICE_INCREMENT_AMOUNT }
7977}
7978
7979impl FieldValueReader for DerivativeMinPriceIncrementAmountField {
7980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
7981        self.0.read(raw)
7982    }
7983}
7984
7985impl FieldValueWriter for DerivativeMinPriceIncrementAmountField {
7986    fn write_to(&self, buf: &mut Vec<u8>) {
7987        self.0.write_to(buf);
7988    }
7989}
7990
7991impl FieldValue for DerivativeMinPriceIncrementAmountField {}
7992
7993
7994/// `DerivativeNTPositionLimitField` is a `INT` field, Tag 1274.
7995pub struct DerivativeNTPositionLimitField(pub FIXInt);
7996
7997impl DerivativeNTPositionLimitField {
7998
7999    pub fn new(val: isize) -> Self { Self(val) }
8000    pub fn value(&self) -> isize { self.0 }
8001
8002    pub fn tag() -> Tag { tag::DERIVATIVE_NT_POSITION_LIMIT }
8003}
8004
8005impl FieldValueReader for DerivativeNTPositionLimitField {
8006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8007        self.0.read(raw)
8008    }
8009}
8010
8011impl FieldValueWriter for DerivativeNTPositionLimitField {
8012    fn write_to(&self, buf: &mut Vec<u8>) {
8013        self.0.write_to(buf);
8014    }
8015}
8016
8017impl FieldValue for DerivativeNTPositionLimitField {}
8018
8019
8020/// `DerivativeOptAttributeField` is a `CHAR` field, Tag 1265.
8021pub struct DerivativeOptAttributeField(pub FIXString);
8022
8023impl DerivativeOptAttributeField {
8024
8025    pub fn new(val: String) -> Self { Self(val) }
8026    pub fn value(&self) -> &str { &self.0 }
8027
8028    pub fn tag() -> Tag { tag::DERIVATIVE_OPT_ATTRIBUTE }
8029}
8030
8031impl FieldValueReader for DerivativeOptAttributeField {
8032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8033        self.0.read(raw)
8034    }
8035}
8036
8037impl FieldValueWriter for DerivativeOptAttributeField {
8038    fn write_to(&self, buf: &mut Vec<u8>) {
8039        self.0.write_to(buf);
8040    }
8041}
8042
8043impl FieldValue for DerivativeOptAttributeField {}
8044
8045
8046/// `DerivativeOptPayAmountField` is a `AMT` field, Tag 1225.
8047pub struct DerivativeOptPayAmountField(pub FIXDecimal);
8048
8049impl DerivativeOptPayAmountField {
8050
8051    pub fn new(val: Decimal, scale: i32) -> Self {
8052        Self(FIXDecimal { decimal: val, scale })
8053    }
8054    pub fn value(&self) -> Decimal { self.0.decimal }
8055
8056    pub fn tag() -> Tag { tag::DERIVATIVE_OPT_PAY_AMOUNT }
8057}
8058
8059impl FieldValueReader for DerivativeOptPayAmountField {
8060    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8061        self.0.read(raw)
8062    }
8063}
8064
8065impl FieldValueWriter for DerivativeOptPayAmountField {
8066    fn write_to(&self, buf: &mut Vec<u8>) {
8067        self.0.write_to(buf);
8068    }
8069}
8070
8071impl FieldValue for DerivativeOptPayAmountField {}
8072
8073
8074/// `DerivativePositionLimitField` is a `INT` field, Tag 1273.
8075pub struct DerivativePositionLimitField(pub FIXInt);
8076
8077impl DerivativePositionLimitField {
8078
8079    pub fn new(val: isize) -> Self { Self(val) }
8080    pub fn value(&self) -> isize { self.0 }
8081
8082    pub fn tag() -> Tag { tag::DERIVATIVE_POSITION_LIMIT }
8083}
8084
8085impl FieldValueReader for DerivativePositionLimitField {
8086    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8087        self.0.read(raw)
8088    }
8089}
8090
8091impl FieldValueWriter for DerivativePositionLimitField {
8092    fn write_to(&self, buf: &mut Vec<u8>) {
8093        self.0.write_to(buf);
8094    }
8095}
8096
8097impl FieldValue for DerivativePositionLimitField {}
8098
8099
8100/// `DerivativePriceQuoteMethodField` is a `STRING` field, Tag 1318.
8101pub struct DerivativePriceQuoteMethodField(pub FIXString);
8102
8103impl DerivativePriceQuoteMethodField {
8104
8105    pub fn new(val: String) -> Self { Self(val) }
8106    pub fn value(&self) -> &str { &self.0 }
8107
8108    pub fn tag() -> Tag { tag::DERIVATIVE_PRICE_QUOTE_METHOD }
8109}
8110
8111impl FieldValueReader for DerivativePriceQuoteMethodField {
8112    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8113        self.0.read(raw)
8114    }
8115}
8116
8117impl FieldValueWriter for DerivativePriceQuoteMethodField {
8118    fn write_to(&self, buf: &mut Vec<u8>) {
8119        self.0.write_to(buf);
8120    }
8121}
8122
8123impl FieldValue for DerivativePriceQuoteMethodField {}
8124
8125
8126/// `DerivativePriceUnitOfMeasureField` is a `STRING` field, Tag 1315.
8127pub struct DerivativePriceUnitOfMeasureField(pub FIXString);
8128
8129impl DerivativePriceUnitOfMeasureField {
8130
8131    pub fn new(val: String) -> Self { Self(val) }
8132    pub fn value(&self) -> &str { &self.0 }
8133
8134    pub fn tag() -> Tag { tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE }
8135}
8136
8137impl FieldValueReader for DerivativePriceUnitOfMeasureField {
8138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8139        self.0.read(raw)
8140    }
8141}
8142
8143impl FieldValueWriter for DerivativePriceUnitOfMeasureField {
8144    fn write_to(&self, buf: &mut Vec<u8>) {
8145        self.0.write_to(buf);
8146    }
8147}
8148
8149impl FieldValue for DerivativePriceUnitOfMeasureField {}
8150
8151
8152/// `DerivativePriceUnitOfMeasureQtyField` is a `QTY` field, Tag 1316.
8153pub struct DerivativePriceUnitOfMeasureQtyField(pub FIXDecimal);
8154
8155impl DerivativePriceUnitOfMeasureQtyField {
8156
8157    pub fn new(val: Decimal, scale: i32) -> Self {
8158        Self(FIXDecimal { decimal: val, scale })
8159    }
8160    pub fn value(&self) -> Decimal { self.0.decimal }
8161
8162    pub fn tag() -> Tag { tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE_QTY }
8163}
8164
8165impl FieldValueReader for DerivativePriceUnitOfMeasureQtyField {
8166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8167        self.0.read(raw)
8168    }
8169}
8170
8171impl FieldValueWriter for DerivativePriceUnitOfMeasureQtyField {
8172    fn write_to(&self, buf: &mut Vec<u8>) {
8173        self.0.write_to(buf);
8174    }
8175}
8176
8177impl FieldValue for DerivativePriceUnitOfMeasureQtyField {}
8178
8179
8180/// `DerivativeProductField` is a `INT` field, Tag 1246.
8181pub struct DerivativeProductField(pub FIXInt);
8182
8183impl DerivativeProductField {
8184
8185    pub fn new(val: isize) -> Self { Self(val) }
8186    pub fn value(&self) -> isize { self.0 }
8187
8188    pub fn tag() -> Tag { tag::DERIVATIVE_PRODUCT }
8189}
8190
8191impl FieldValueReader for DerivativeProductField {
8192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8193        self.0.read(raw)
8194    }
8195}
8196
8197impl FieldValueWriter for DerivativeProductField {
8198    fn write_to(&self, buf: &mut Vec<u8>) {
8199        self.0.write_to(buf);
8200    }
8201}
8202
8203impl FieldValue for DerivativeProductField {}
8204
8205
8206/// `DerivativeProductComplexField` is a `STRING` field, Tag 1228.
8207pub struct DerivativeProductComplexField(pub FIXString);
8208
8209impl DerivativeProductComplexField {
8210
8211    pub fn new(val: String) -> Self { Self(val) }
8212    pub fn value(&self) -> &str { &self.0 }
8213
8214    pub fn tag() -> Tag { tag::DERIVATIVE_PRODUCT_COMPLEX }
8215}
8216
8217impl FieldValueReader for DerivativeProductComplexField {
8218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8219        self.0.read(raw)
8220    }
8221}
8222
8223impl FieldValueWriter for DerivativeProductComplexField {
8224    fn write_to(&self, buf: &mut Vec<u8>) {
8225        self.0.write_to(buf);
8226    }
8227}
8228
8229impl FieldValue for DerivativeProductComplexField {}
8230
8231
8232/// `DerivativePutOrCallField` is a `INT` field, Tag 1323.
8233pub struct DerivativePutOrCallField(pub FIXInt);
8234
8235impl DerivativePutOrCallField {
8236
8237    pub fn new(val: isize) -> Self { Self(val) }
8238    pub fn value(&self) -> isize { self.0 }
8239
8240    pub fn tag() -> Tag { tag::DERIVATIVE_PUT_OR_CALL }
8241}
8242
8243impl FieldValueReader for DerivativePutOrCallField {
8244    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8245        self.0.read(raw)
8246    }
8247}
8248
8249impl FieldValueWriter for DerivativePutOrCallField {
8250    fn write_to(&self, buf: &mut Vec<u8>) {
8251        self.0.write_to(buf);
8252    }
8253}
8254
8255impl FieldValue for DerivativePutOrCallField {}
8256
8257
8258/// `DerivativeSecurityAltIDField` is a `STRING` field, Tag 1219.
8259pub struct DerivativeSecurityAltIDField(pub FIXString);
8260
8261impl DerivativeSecurityAltIDField {
8262
8263    pub fn new(val: String) -> Self { Self(val) }
8264    pub fn value(&self) -> &str { &self.0 }
8265
8266    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_ALT_ID }
8267}
8268
8269impl FieldValueReader for DerivativeSecurityAltIDField {
8270    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8271        self.0.read(raw)
8272    }
8273}
8274
8275impl FieldValueWriter for DerivativeSecurityAltIDField {
8276    fn write_to(&self, buf: &mut Vec<u8>) {
8277        self.0.write_to(buf);
8278    }
8279}
8280
8281impl FieldValue for DerivativeSecurityAltIDField {}
8282
8283
8284/// `DerivativeSecurityAltIDSourceField` is a `STRING` field, Tag 1220.
8285pub struct DerivativeSecurityAltIDSourceField(pub FIXString);
8286
8287impl DerivativeSecurityAltIDSourceField {
8288
8289    pub fn new(val: String) -> Self { Self(val) }
8290    pub fn value(&self) -> &str { &self.0 }
8291
8292    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_ALT_ID_SOURCE }
8293}
8294
8295impl FieldValueReader for DerivativeSecurityAltIDSourceField {
8296    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8297        self.0.read(raw)
8298    }
8299}
8300
8301impl FieldValueWriter for DerivativeSecurityAltIDSourceField {
8302    fn write_to(&self, buf: &mut Vec<u8>) {
8303        self.0.write_to(buf);
8304    }
8305}
8306
8307impl FieldValue for DerivativeSecurityAltIDSourceField {}
8308
8309
8310/// `DerivativeSecurityDescField` is a `STRING` field, Tag 1279.
8311pub struct DerivativeSecurityDescField(pub FIXString);
8312
8313impl DerivativeSecurityDescField {
8314
8315    pub fn new(val: String) -> Self { Self(val) }
8316    pub fn value(&self) -> &str { &self.0 }
8317
8318    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_DESC }
8319}
8320
8321impl FieldValueReader for DerivativeSecurityDescField {
8322    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8323        self.0.read(raw)
8324    }
8325}
8326
8327impl FieldValueWriter for DerivativeSecurityDescField {
8328    fn write_to(&self, buf: &mut Vec<u8>) {
8329        self.0.write_to(buf);
8330    }
8331}
8332
8333impl FieldValue for DerivativeSecurityDescField {}
8334
8335
8336/// `DerivativeSecurityExchangeField` is a `EXCHANGE` field, Tag 1272.
8337pub struct DerivativeSecurityExchangeField(pub FIXString);
8338
8339impl DerivativeSecurityExchangeField {
8340
8341    pub fn new(val: String) -> Self { Self(val) }
8342    pub fn value(&self) -> &str { &self.0 }
8343
8344    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_EXCHANGE }
8345}
8346
8347impl FieldValueReader for DerivativeSecurityExchangeField {
8348    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8349        self.0.read(raw)
8350    }
8351}
8352
8353impl FieldValueWriter for DerivativeSecurityExchangeField {
8354    fn write_to(&self, buf: &mut Vec<u8>) {
8355        self.0.write_to(buf);
8356    }
8357}
8358
8359impl FieldValue for DerivativeSecurityExchangeField {}
8360
8361
8362/// `DerivativeSecurityGroupField` is a `STRING` field, Tag 1247.
8363pub struct DerivativeSecurityGroupField(pub FIXString);
8364
8365impl DerivativeSecurityGroupField {
8366
8367    pub fn new(val: String) -> Self { Self(val) }
8368    pub fn value(&self) -> &str { &self.0 }
8369
8370    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_GROUP }
8371}
8372
8373impl FieldValueReader for DerivativeSecurityGroupField {
8374    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8375        self.0.read(raw)
8376    }
8377}
8378
8379impl FieldValueWriter for DerivativeSecurityGroupField {
8380    fn write_to(&self, buf: &mut Vec<u8>) {
8381        self.0.write_to(buf);
8382    }
8383}
8384
8385impl FieldValue for DerivativeSecurityGroupField {}
8386
8387
8388/// `DerivativeSecurityIDField` is a `STRING` field, Tag 1216.
8389pub struct DerivativeSecurityIDField(pub FIXString);
8390
8391impl DerivativeSecurityIDField {
8392
8393    pub fn new(val: String) -> Self { Self(val) }
8394    pub fn value(&self) -> &str { &self.0 }
8395
8396    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_ID }
8397}
8398
8399impl FieldValueReader for DerivativeSecurityIDField {
8400    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8401        self.0.read(raw)
8402    }
8403}
8404
8405impl FieldValueWriter for DerivativeSecurityIDField {
8406    fn write_to(&self, buf: &mut Vec<u8>) {
8407        self.0.write_to(buf);
8408    }
8409}
8410
8411impl FieldValue for DerivativeSecurityIDField {}
8412
8413
8414/// `DerivativeSecurityIDSourceField` is a `STRING` field, Tag 1217.
8415pub struct DerivativeSecurityIDSourceField(pub FIXString);
8416
8417impl DerivativeSecurityIDSourceField {
8418
8419    pub fn new(val: String) -> Self { Self(val) }
8420    pub fn value(&self) -> &str { &self.0 }
8421
8422    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_ID_SOURCE }
8423}
8424
8425impl FieldValueReader for DerivativeSecurityIDSourceField {
8426    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8427        self.0.read(raw)
8428    }
8429}
8430
8431impl FieldValueWriter for DerivativeSecurityIDSourceField {
8432    fn write_to(&self, buf: &mut Vec<u8>) {
8433        self.0.write_to(buf);
8434    }
8435}
8436
8437impl FieldValue for DerivativeSecurityIDSourceField {}
8438
8439
8440/// `DerivativeSecurityListRequestTypeField` is a `INT` field, Tag 1307.
8441pub struct DerivativeSecurityListRequestTypeField(pub FIXInt);
8442
8443impl DerivativeSecurityListRequestTypeField {
8444
8445    pub fn new(val: isize) -> Self { Self(val) }
8446    pub fn value(&self) -> isize { self.0 }
8447
8448    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_LIST_REQUEST_TYPE }
8449}
8450
8451impl FieldValueReader for DerivativeSecurityListRequestTypeField {
8452    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8453        self.0.read(raw)
8454    }
8455}
8456
8457impl FieldValueWriter for DerivativeSecurityListRequestTypeField {
8458    fn write_to(&self, buf: &mut Vec<u8>) {
8459        self.0.write_to(buf);
8460    }
8461}
8462
8463impl FieldValue for DerivativeSecurityListRequestTypeField {}
8464
8465
8466/// `DerivativeSecurityStatusField` is a `STRING` field, Tag 1256.
8467pub struct DerivativeSecurityStatusField(pub FIXString);
8468
8469impl DerivativeSecurityStatusField {
8470
8471    pub fn new(val: String) -> Self { Self(val) }
8472    pub fn value(&self) -> &str { &self.0 }
8473
8474    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_STATUS }
8475}
8476
8477impl FieldValueReader for DerivativeSecurityStatusField {
8478    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8479        self.0.read(raw)
8480    }
8481}
8482
8483impl FieldValueWriter for DerivativeSecurityStatusField {
8484    fn write_to(&self, buf: &mut Vec<u8>) {
8485        self.0.write_to(buf);
8486    }
8487}
8488
8489impl FieldValue for DerivativeSecurityStatusField {}
8490
8491
8492/// `DerivativeSecuritySubTypeField` is a `STRING` field, Tag 1250.
8493pub struct DerivativeSecuritySubTypeField(pub FIXString);
8494
8495impl DerivativeSecuritySubTypeField {
8496
8497    pub fn new(val: String) -> Self { Self(val) }
8498    pub fn value(&self) -> &str { &self.0 }
8499
8500    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_SUB_TYPE }
8501}
8502
8503impl FieldValueReader for DerivativeSecuritySubTypeField {
8504    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8505        self.0.read(raw)
8506    }
8507}
8508
8509impl FieldValueWriter for DerivativeSecuritySubTypeField {
8510    fn write_to(&self, buf: &mut Vec<u8>) {
8511        self.0.write_to(buf);
8512    }
8513}
8514
8515impl FieldValue for DerivativeSecuritySubTypeField {}
8516
8517
8518/// `DerivativeSecurityTypeField` is a `STRING` field, Tag 1249.
8519pub struct DerivativeSecurityTypeField(pub FIXString);
8520
8521impl DerivativeSecurityTypeField {
8522
8523    pub fn new(val: String) -> Self { Self(val) }
8524    pub fn value(&self) -> &str { &self.0 }
8525
8526    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_TYPE }
8527}
8528
8529impl FieldValueReader for DerivativeSecurityTypeField {
8530    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8531        self.0.read(raw)
8532    }
8533}
8534
8535impl FieldValueWriter for DerivativeSecurityTypeField {
8536    fn write_to(&self, buf: &mut Vec<u8>) {
8537        self.0.write_to(buf);
8538    }
8539}
8540
8541impl FieldValue for DerivativeSecurityTypeField {}
8542
8543
8544/// `DerivativeSecurityXMLField` is a `DATA` field, Tag 1283.
8545pub struct DerivativeSecurityXMLField(pub FIXString);
8546
8547impl DerivativeSecurityXMLField {
8548
8549    pub fn new(val: String) -> Self { Self(val) }
8550    pub fn value(&self) -> &str { &self.0 }
8551
8552    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_XML }
8553}
8554
8555impl FieldValueReader for DerivativeSecurityXMLField {
8556    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8557        self.0.read(raw)
8558    }
8559}
8560
8561impl FieldValueWriter for DerivativeSecurityXMLField {
8562    fn write_to(&self, buf: &mut Vec<u8>) {
8563        self.0.write_to(buf);
8564    }
8565}
8566
8567impl FieldValue for DerivativeSecurityXMLField {}
8568
8569
8570/// `DerivativeSecurityXMLLenField` is a `LENGTH` field, Tag 1282.
8571pub struct DerivativeSecurityXMLLenField(pub FIXInt);
8572
8573impl DerivativeSecurityXMLLenField {
8574
8575    pub fn new(val: isize) -> Self { Self(val) }
8576    pub fn value(&self) -> isize { self.0 }
8577
8578    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_XML_LEN }
8579}
8580
8581impl FieldValueReader for DerivativeSecurityXMLLenField {
8582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8583        self.0.read(raw)
8584    }
8585}
8586
8587impl FieldValueWriter for DerivativeSecurityXMLLenField {
8588    fn write_to(&self, buf: &mut Vec<u8>) {
8589        self.0.write_to(buf);
8590    }
8591}
8592
8593impl FieldValue for DerivativeSecurityXMLLenField {}
8594
8595
8596/// `DerivativeSecurityXMLSchemaField` is a `STRING` field, Tag 1284.
8597pub struct DerivativeSecurityXMLSchemaField(pub FIXString);
8598
8599impl DerivativeSecurityXMLSchemaField {
8600
8601    pub fn new(val: String) -> Self { Self(val) }
8602    pub fn value(&self) -> &str { &self.0 }
8603
8604    pub fn tag() -> Tag { tag::DERIVATIVE_SECURITY_XML_SCHEMA }
8605}
8606
8607impl FieldValueReader for DerivativeSecurityXMLSchemaField {
8608    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8609        self.0.read(raw)
8610    }
8611}
8612
8613impl FieldValueWriter for DerivativeSecurityXMLSchemaField {
8614    fn write_to(&self, buf: &mut Vec<u8>) {
8615        self.0.write_to(buf);
8616    }
8617}
8618
8619impl FieldValue for DerivativeSecurityXMLSchemaField {}
8620
8621
8622/// `DerivativeSettlMethodField` is a `CHAR` field, Tag 1317.
8623pub struct DerivativeSettlMethodField(pub FIXString);
8624
8625impl DerivativeSettlMethodField {
8626
8627    pub fn new(val: String) -> Self { Self(val) }
8628    pub fn value(&self) -> &str { &self.0 }
8629
8630    pub fn tag() -> Tag { tag::DERIVATIVE_SETTL_METHOD }
8631}
8632
8633impl FieldValueReader for DerivativeSettlMethodField {
8634    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8635        self.0.read(raw)
8636    }
8637}
8638
8639impl FieldValueWriter for DerivativeSettlMethodField {
8640    fn write_to(&self, buf: &mut Vec<u8>) {
8641        self.0.write_to(buf);
8642    }
8643}
8644
8645impl FieldValue for DerivativeSettlMethodField {}
8646
8647
8648/// `DerivativeSettleOnOpenFlagField` is a `STRING` field, Tag 1254.
8649pub struct DerivativeSettleOnOpenFlagField(pub FIXString);
8650
8651impl DerivativeSettleOnOpenFlagField {
8652
8653    pub fn new(val: String) -> Self { Self(val) }
8654    pub fn value(&self) -> &str { &self.0 }
8655
8656    pub fn tag() -> Tag { tag::DERIVATIVE_SETTLE_ON_OPEN_FLAG }
8657}
8658
8659impl FieldValueReader for DerivativeSettleOnOpenFlagField {
8660    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8661        self.0.read(raw)
8662    }
8663}
8664
8665impl FieldValueWriter for DerivativeSettleOnOpenFlagField {
8666    fn write_to(&self, buf: &mut Vec<u8>) {
8667        self.0.write_to(buf);
8668    }
8669}
8670
8671impl FieldValue for DerivativeSettleOnOpenFlagField {}
8672
8673
8674/// `DerivativeStateOrProvinceOfIssueField` is a `STRING` field, Tag 1259.
8675pub struct DerivativeStateOrProvinceOfIssueField(pub FIXString);
8676
8677impl DerivativeStateOrProvinceOfIssueField {
8678
8679    pub fn new(val: String) -> Self { Self(val) }
8680    pub fn value(&self) -> &str { &self.0 }
8681
8682    pub fn tag() -> Tag { tag::DERIVATIVE_STATE_OR_PROVINCE_OF_ISSUE }
8683}
8684
8685impl FieldValueReader for DerivativeStateOrProvinceOfIssueField {
8686    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8687        self.0.read(raw)
8688    }
8689}
8690
8691impl FieldValueWriter for DerivativeStateOrProvinceOfIssueField {
8692    fn write_to(&self, buf: &mut Vec<u8>) {
8693        self.0.write_to(buf);
8694    }
8695}
8696
8697impl FieldValue for DerivativeStateOrProvinceOfIssueField {}
8698
8699
8700/// `DerivativeStrikeCurrencyField` is a `CURRENCY` field, Tag 1262.
8701pub struct DerivativeStrikeCurrencyField(pub FIXString);
8702
8703impl DerivativeStrikeCurrencyField {
8704
8705    pub fn new(val: String) -> Self { Self(val) }
8706    pub fn value(&self) -> &str { &self.0 }
8707
8708    pub fn tag() -> Tag { tag::DERIVATIVE_STRIKE_CURRENCY }
8709}
8710
8711impl FieldValueReader for DerivativeStrikeCurrencyField {
8712    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8713        self.0.read(raw)
8714    }
8715}
8716
8717impl FieldValueWriter for DerivativeStrikeCurrencyField {
8718    fn write_to(&self, buf: &mut Vec<u8>) {
8719        self.0.write_to(buf);
8720    }
8721}
8722
8723impl FieldValue for DerivativeStrikeCurrencyField {}
8724
8725
8726/// `DerivativeStrikeMultiplierField` is a `FLOAT` field, Tag 1263.
8727pub struct DerivativeStrikeMultiplierField(pub FIXDecimal);
8728
8729impl DerivativeStrikeMultiplierField {
8730
8731    pub fn new(val: Decimal, scale: i32) -> Self {
8732        Self(FIXDecimal { decimal: val, scale })
8733    }
8734    pub fn value(&self) -> Decimal { self.0.decimal }
8735
8736    pub fn tag() -> Tag { tag::DERIVATIVE_STRIKE_MULTIPLIER }
8737}
8738
8739impl FieldValueReader for DerivativeStrikeMultiplierField {
8740    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8741        self.0.read(raw)
8742    }
8743}
8744
8745impl FieldValueWriter for DerivativeStrikeMultiplierField {
8746    fn write_to(&self, buf: &mut Vec<u8>) {
8747        self.0.write_to(buf);
8748    }
8749}
8750
8751impl FieldValue for DerivativeStrikeMultiplierField {}
8752
8753
8754/// `DerivativeStrikePriceField` is a `PRICE` field, Tag 1261.
8755pub struct DerivativeStrikePriceField(pub FIXDecimal);
8756
8757impl DerivativeStrikePriceField {
8758
8759    pub fn new(val: Decimal, scale: i32) -> Self {
8760        Self(FIXDecimal { decimal: val, scale })
8761    }
8762    pub fn value(&self) -> Decimal { self.0.decimal }
8763
8764    pub fn tag() -> Tag { tag::DERIVATIVE_STRIKE_PRICE }
8765}
8766
8767impl FieldValueReader for DerivativeStrikePriceField {
8768    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8769        self.0.read(raw)
8770    }
8771}
8772
8773impl FieldValueWriter for DerivativeStrikePriceField {
8774    fn write_to(&self, buf: &mut Vec<u8>) {
8775        self.0.write_to(buf);
8776    }
8777}
8778
8779impl FieldValue for DerivativeStrikePriceField {}
8780
8781
8782/// `DerivativeStrikeValueField` is a `FLOAT` field, Tag 1264.
8783pub struct DerivativeStrikeValueField(pub FIXDecimal);
8784
8785impl DerivativeStrikeValueField {
8786
8787    pub fn new(val: Decimal, scale: i32) -> Self {
8788        Self(FIXDecimal { decimal: val, scale })
8789    }
8790    pub fn value(&self) -> Decimal { self.0.decimal }
8791
8792    pub fn tag() -> Tag { tag::DERIVATIVE_STRIKE_VALUE }
8793}
8794
8795impl FieldValueReader for DerivativeStrikeValueField {
8796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8797        self.0.read(raw)
8798    }
8799}
8800
8801impl FieldValueWriter for DerivativeStrikeValueField {
8802    fn write_to(&self, buf: &mut Vec<u8>) {
8803        self.0.write_to(buf);
8804    }
8805}
8806
8807impl FieldValue for DerivativeStrikeValueField {}
8808
8809
8810/// `DerivativeSymbolField` is a `STRING` field, Tag 1214.
8811pub struct DerivativeSymbolField(pub FIXString);
8812
8813impl DerivativeSymbolField {
8814
8815    pub fn new(val: String) -> Self { Self(val) }
8816    pub fn value(&self) -> &str { &self.0 }
8817
8818    pub fn tag() -> Tag { tag::DERIVATIVE_SYMBOL }
8819}
8820
8821impl FieldValueReader for DerivativeSymbolField {
8822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8823        self.0.read(raw)
8824    }
8825}
8826
8827impl FieldValueWriter for DerivativeSymbolField {
8828    fn write_to(&self, buf: &mut Vec<u8>) {
8829        self.0.write_to(buf);
8830    }
8831}
8832
8833impl FieldValue for DerivativeSymbolField {}
8834
8835
8836/// `DerivativeSymbolSfxField` is a `STRING` field, Tag 1215.
8837pub struct DerivativeSymbolSfxField(pub FIXString);
8838
8839impl DerivativeSymbolSfxField {
8840
8841    pub fn new(val: String) -> Self { Self(val) }
8842    pub fn value(&self) -> &str { &self.0 }
8843
8844    pub fn tag() -> Tag { tag::DERIVATIVE_SYMBOL_SFX }
8845}
8846
8847impl FieldValueReader for DerivativeSymbolSfxField {
8848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8849        self.0.read(raw)
8850    }
8851}
8852
8853impl FieldValueWriter for DerivativeSymbolSfxField {
8854    fn write_to(&self, buf: &mut Vec<u8>) {
8855        self.0.write_to(buf);
8856    }
8857}
8858
8859impl FieldValue for DerivativeSymbolSfxField {}
8860
8861
8862/// `DerivativeTimeUnitField` is a `STRING` field, Tag 1271.
8863pub struct DerivativeTimeUnitField(pub FIXString);
8864
8865impl DerivativeTimeUnitField {
8866
8867    pub fn new(val: String) -> Self { Self(val) }
8868    pub fn value(&self) -> &str { &self.0 }
8869
8870    pub fn tag() -> Tag { tag::DERIVATIVE_TIME_UNIT }
8871}
8872
8873impl FieldValueReader for DerivativeTimeUnitField {
8874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8875        self.0.read(raw)
8876    }
8877}
8878
8879impl FieldValueWriter for DerivativeTimeUnitField {
8880    fn write_to(&self, buf: &mut Vec<u8>) {
8881        self.0.write_to(buf);
8882    }
8883}
8884
8885impl FieldValue for DerivativeTimeUnitField {}
8886
8887
8888/// `DerivativeUnitOfMeasureField` is a `STRING` field, Tag 1269.
8889pub struct DerivativeUnitOfMeasureField(pub FIXString);
8890
8891impl DerivativeUnitOfMeasureField {
8892
8893    pub fn new(val: String) -> Self { Self(val) }
8894    pub fn value(&self) -> &str { &self.0 }
8895
8896    pub fn tag() -> Tag { tag::DERIVATIVE_UNIT_OF_MEASURE }
8897}
8898
8899impl FieldValueReader for DerivativeUnitOfMeasureField {
8900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8901        self.0.read(raw)
8902    }
8903}
8904
8905impl FieldValueWriter for DerivativeUnitOfMeasureField {
8906    fn write_to(&self, buf: &mut Vec<u8>) {
8907        self.0.write_to(buf);
8908    }
8909}
8910
8911impl FieldValue for DerivativeUnitOfMeasureField {}
8912
8913
8914/// `DerivativeUnitOfMeasureQtyField` is a `QTY` field, Tag 1270.
8915pub struct DerivativeUnitOfMeasureQtyField(pub FIXDecimal);
8916
8917impl DerivativeUnitOfMeasureQtyField {
8918
8919    pub fn new(val: Decimal, scale: i32) -> Self {
8920        Self(FIXDecimal { decimal: val, scale })
8921    }
8922    pub fn value(&self) -> Decimal { self.0.decimal }
8923
8924    pub fn tag() -> Tag { tag::DERIVATIVE_UNIT_OF_MEASURE_QTY }
8925}
8926
8927impl FieldValueReader for DerivativeUnitOfMeasureQtyField {
8928    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8929        self.0.read(raw)
8930    }
8931}
8932
8933impl FieldValueWriter for DerivativeUnitOfMeasureQtyField {
8934    fn write_to(&self, buf: &mut Vec<u8>) {
8935        self.0.write_to(buf);
8936    }
8937}
8938
8939impl FieldValue for DerivativeUnitOfMeasureQtyField {}
8940
8941
8942/// `DerivativeValuationMethodField` is a `STRING` field, Tag 1319.
8943pub struct DerivativeValuationMethodField(pub FIXString);
8944
8945impl DerivativeValuationMethodField {
8946
8947    pub fn new(val: String) -> Self { Self(val) }
8948    pub fn value(&self) -> &str { &self.0 }
8949
8950    pub fn tag() -> Tag { tag::DERIVATIVE_VALUATION_METHOD }
8951}
8952
8953impl FieldValueReader for DerivativeValuationMethodField {
8954    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8955        self.0.read(raw)
8956    }
8957}
8958
8959impl FieldValueWriter for DerivativeValuationMethodField {
8960    fn write_to(&self, buf: &mut Vec<u8>) {
8961        self.0.write_to(buf);
8962    }
8963}
8964
8965impl FieldValue for DerivativeValuationMethodField {}
8966
8967
8968/// `DesignationField` is a `STRING` field, Tag 494.
8969pub struct DesignationField(pub FIXString);
8970
8971impl DesignationField {
8972
8973    pub fn new(val: String) -> Self { Self(val) }
8974    pub fn value(&self) -> &str { &self.0 }
8975
8976    pub fn tag() -> Tag { tag::DESIGNATION }
8977}
8978
8979impl FieldValueReader for DesignationField {
8980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
8981        self.0.read(raw)
8982    }
8983}
8984
8985impl FieldValueWriter for DesignationField {
8986    fn write_to(&self, buf: &mut Vec<u8>) {
8987        self.0.write_to(buf);
8988    }
8989}
8990
8991impl FieldValue for DesignationField {}
8992
8993
8994/// `DeskIDField` is a `STRING` field, Tag 284.
8995pub struct DeskIDField(pub FIXString);
8996
8997impl DeskIDField {
8998
8999    pub fn new(val: String) -> Self { Self(val) }
9000    pub fn value(&self) -> &str { &self.0 }
9001
9002    pub fn tag() -> Tag { tag::DESK_ID }
9003}
9004
9005impl FieldValueReader for DeskIDField {
9006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9007        self.0.read(raw)
9008    }
9009}
9010
9011impl FieldValueWriter for DeskIDField {
9012    fn write_to(&self, buf: &mut Vec<u8>) {
9013        self.0.write_to(buf);
9014    }
9015}
9016
9017impl FieldValue for DeskIDField {}
9018
9019
9020/// `DeskOrderHandlingInstField` is a `MULTIPLESTRINGVALUE` field, Tag 1035.
9021pub struct DeskOrderHandlingInstField(pub FIXString);
9022
9023impl DeskOrderHandlingInstField {
9024
9025    pub fn new(val: String) -> Self { Self(val) }
9026    pub fn value(&self) -> &str { &self.0 }
9027
9028    pub fn tag() -> Tag { tag::DESK_ORDER_HANDLING_INST }
9029}
9030
9031impl FieldValueReader for DeskOrderHandlingInstField {
9032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9033        self.0.read(raw)
9034    }
9035}
9036
9037impl FieldValueWriter for DeskOrderHandlingInstField {
9038    fn write_to(&self, buf: &mut Vec<u8>) {
9039        self.0.write_to(buf);
9040    }
9041}
9042
9043impl FieldValue for DeskOrderHandlingInstField {}
9044
9045
9046/// `DeskTypeField` is a `STRING` field, Tag 1033.
9047pub struct DeskTypeField(pub FIXString);
9048
9049impl DeskTypeField {
9050
9051    pub fn new(val: String) -> Self { Self(val) }
9052    pub fn value(&self) -> &str { &self.0 }
9053
9054    pub fn tag() -> Tag { tag::DESK_TYPE }
9055}
9056
9057impl FieldValueReader for DeskTypeField {
9058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9059        self.0.read(raw)
9060    }
9061}
9062
9063impl FieldValueWriter for DeskTypeField {
9064    fn write_to(&self, buf: &mut Vec<u8>) {
9065        self.0.write_to(buf);
9066    }
9067}
9068
9069impl FieldValue for DeskTypeField {}
9070
9071
9072/// `DeskTypeSourceField` is a `INT` field, Tag 1034.
9073pub struct DeskTypeSourceField(pub FIXInt);
9074
9075impl DeskTypeSourceField {
9076
9077    pub fn new(val: isize) -> Self { Self(val) }
9078    pub fn value(&self) -> isize { self.0 }
9079
9080    pub fn tag() -> Tag { tag::DESK_TYPE_SOURCE }
9081}
9082
9083impl FieldValueReader for DeskTypeSourceField {
9084    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9085        self.0.read(raw)
9086    }
9087}
9088
9089impl FieldValueWriter for DeskTypeSourceField {
9090    fn write_to(&self, buf: &mut Vec<u8>) {
9091        self.0.write_to(buf);
9092    }
9093}
9094
9095impl FieldValue for DeskTypeSourceField {}
9096
9097
9098/// `DetachmentPointField` is a `PERCENTAGE` field, Tag 1458.
9099pub struct DetachmentPointField(pub FIXDecimal);
9100
9101impl DetachmentPointField {
9102
9103    pub fn new(val: Decimal, scale: i32) -> Self {
9104        Self(FIXDecimal { decimal: val, scale })
9105    }
9106    pub fn value(&self) -> Decimal { self.0.decimal }
9107
9108    pub fn tag() -> Tag { tag::DETACHMENT_POINT }
9109}
9110
9111impl FieldValueReader for DetachmentPointField {
9112    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9113        self.0.read(raw)
9114    }
9115}
9116
9117impl FieldValueWriter for DetachmentPointField {
9118    fn write_to(&self, buf: &mut Vec<u8>) {
9119        self.0.write_to(buf);
9120    }
9121}
9122
9123impl FieldValue for DetachmentPointField {}
9124
9125
9126/// `DiscretionInstField` is a `CHAR` field, Tag 388.
9127pub struct DiscretionInstField(pub FIXString);
9128
9129impl DiscretionInstField {
9130
9131    pub fn new(val: String) -> Self { Self(val) }
9132    pub fn value(&self) -> &str { &self.0 }
9133
9134    pub fn tag() -> Tag { tag::DISCRETION_INST }
9135}
9136
9137impl FieldValueReader for DiscretionInstField {
9138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9139        self.0.read(raw)
9140    }
9141}
9142
9143impl FieldValueWriter for DiscretionInstField {
9144    fn write_to(&self, buf: &mut Vec<u8>) {
9145        self.0.write_to(buf);
9146    }
9147}
9148
9149impl FieldValue for DiscretionInstField {}
9150
9151
9152/// `DiscretionLimitTypeField` is a `INT` field, Tag 843.
9153pub struct DiscretionLimitTypeField(pub FIXInt);
9154
9155impl DiscretionLimitTypeField {
9156
9157    pub fn new(val: isize) -> Self { Self(val) }
9158    pub fn value(&self) -> isize { self.0 }
9159
9160    pub fn tag() -> Tag { tag::DISCRETION_LIMIT_TYPE }
9161}
9162
9163impl FieldValueReader for DiscretionLimitTypeField {
9164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9165        self.0.read(raw)
9166    }
9167}
9168
9169impl FieldValueWriter for DiscretionLimitTypeField {
9170    fn write_to(&self, buf: &mut Vec<u8>) {
9171        self.0.write_to(buf);
9172    }
9173}
9174
9175impl FieldValue for DiscretionLimitTypeField {}
9176
9177
9178/// `DiscretionMoveTypeField` is a `INT` field, Tag 841.
9179pub struct DiscretionMoveTypeField(pub FIXInt);
9180
9181impl DiscretionMoveTypeField {
9182
9183    pub fn new(val: isize) -> Self { Self(val) }
9184    pub fn value(&self) -> isize { self.0 }
9185
9186    pub fn tag() -> Tag { tag::DISCRETION_MOVE_TYPE }
9187}
9188
9189impl FieldValueReader for DiscretionMoveTypeField {
9190    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9191        self.0.read(raw)
9192    }
9193}
9194
9195impl FieldValueWriter for DiscretionMoveTypeField {
9196    fn write_to(&self, buf: &mut Vec<u8>) {
9197        self.0.write_to(buf);
9198    }
9199}
9200
9201impl FieldValue for DiscretionMoveTypeField {}
9202
9203
9204/// `DiscretionOffsetField` is a `PRICEOFFSET` field, Tag 389.
9205pub struct DiscretionOffsetField(pub FIXDecimal);
9206
9207impl DiscretionOffsetField {
9208
9209    pub fn new(val: Decimal, scale: i32) -> Self {
9210        Self(FIXDecimal { decimal: val, scale })
9211    }
9212    pub fn value(&self) -> Decimal { self.0.decimal }
9213
9214    pub fn tag() -> Tag { tag::DISCRETION_OFFSET }
9215}
9216
9217impl FieldValueReader for DiscretionOffsetField {
9218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9219        self.0.read(raw)
9220    }
9221}
9222
9223impl FieldValueWriter for DiscretionOffsetField {
9224    fn write_to(&self, buf: &mut Vec<u8>) {
9225        self.0.write_to(buf);
9226    }
9227}
9228
9229impl FieldValue for DiscretionOffsetField {}
9230
9231
9232/// `DiscretionOffsetTypeField` is a `INT` field, Tag 842.
9233pub struct DiscretionOffsetTypeField(pub FIXInt);
9234
9235impl DiscretionOffsetTypeField {
9236
9237    pub fn new(val: isize) -> Self { Self(val) }
9238    pub fn value(&self) -> isize { self.0 }
9239
9240    pub fn tag() -> Tag { tag::DISCRETION_OFFSET_TYPE }
9241}
9242
9243impl FieldValueReader for DiscretionOffsetTypeField {
9244    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9245        self.0.read(raw)
9246    }
9247}
9248
9249impl FieldValueWriter for DiscretionOffsetTypeField {
9250    fn write_to(&self, buf: &mut Vec<u8>) {
9251        self.0.write_to(buf);
9252    }
9253}
9254
9255impl FieldValue for DiscretionOffsetTypeField {}
9256
9257
9258/// `DiscretionOffsetValueField` is a `FLOAT` field, Tag 389.
9259pub struct DiscretionOffsetValueField(pub FIXDecimal);
9260
9261impl DiscretionOffsetValueField {
9262
9263    pub fn new(val: Decimal, scale: i32) -> Self {
9264        Self(FIXDecimal { decimal: val, scale })
9265    }
9266    pub fn value(&self) -> Decimal { self.0.decimal }
9267
9268    pub fn tag() -> Tag { tag::DISCRETION_OFFSET_VALUE }
9269}
9270
9271impl FieldValueReader for DiscretionOffsetValueField {
9272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9273        self.0.read(raw)
9274    }
9275}
9276
9277impl FieldValueWriter for DiscretionOffsetValueField {
9278    fn write_to(&self, buf: &mut Vec<u8>) {
9279        self.0.write_to(buf);
9280    }
9281}
9282
9283impl FieldValue for DiscretionOffsetValueField {}
9284
9285
9286/// `DiscretionPriceField` is a `PRICE` field, Tag 845.
9287pub struct DiscretionPriceField(pub FIXDecimal);
9288
9289impl DiscretionPriceField {
9290
9291    pub fn new(val: Decimal, scale: i32) -> Self {
9292        Self(FIXDecimal { decimal: val, scale })
9293    }
9294    pub fn value(&self) -> Decimal { self.0.decimal }
9295
9296    pub fn tag() -> Tag { tag::DISCRETION_PRICE }
9297}
9298
9299impl FieldValueReader for DiscretionPriceField {
9300    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9301        self.0.read(raw)
9302    }
9303}
9304
9305impl FieldValueWriter for DiscretionPriceField {
9306    fn write_to(&self, buf: &mut Vec<u8>) {
9307        self.0.write_to(buf);
9308    }
9309}
9310
9311impl FieldValue for DiscretionPriceField {}
9312
9313
9314/// `DiscretionRoundDirectionField` is a `INT` field, Tag 844.
9315pub struct DiscretionRoundDirectionField(pub FIXInt);
9316
9317impl DiscretionRoundDirectionField {
9318
9319    pub fn new(val: isize) -> Self { Self(val) }
9320    pub fn value(&self) -> isize { self.0 }
9321
9322    pub fn tag() -> Tag { tag::DISCRETION_ROUND_DIRECTION }
9323}
9324
9325impl FieldValueReader for DiscretionRoundDirectionField {
9326    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9327        self.0.read(raw)
9328    }
9329}
9330
9331impl FieldValueWriter for DiscretionRoundDirectionField {
9332    fn write_to(&self, buf: &mut Vec<u8>) {
9333        self.0.write_to(buf);
9334    }
9335}
9336
9337impl FieldValue for DiscretionRoundDirectionField {}
9338
9339
9340/// `DiscretionScopeField` is a `INT` field, Tag 846.
9341pub struct DiscretionScopeField(pub FIXInt);
9342
9343impl DiscretionScopeField {
9344
9345    pub fn new(val: isize) -> Self { Self(val) }
9346    pub fn value(&self) -> isize { self.0 }
9347
9348    pub fn tag() -> Tag { tag::DISCRETION_SCOPE }
9349}
9350
9351impl FieldValueReader for DiscretionScopeField {
9352    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9353        self.0.read(raw)
9354    }
9355}
9356
9357impl FieldValueWriter for DiscretionScopeField {
9358    fn write_to(&self, buf: &mut Vec<u8>) {
9359        self.0.write_to(buf);
9360    }
9361}
9362
9363impl FieldValue for DiscretionScopeField {}
9364
9365
9366/// `DisplayHighQtyField` is a `QTY` field, Tag 1086.
9367pub struct DisplayHighQtyField(pub FIXDecimal);
9368
9369impl DisplayHighQtyField {
9370
9371    pub fn new(val: Decimal, scale: i32) -> Self {
9372        Self(FIXDecimal { decimal: val, scale })
9373    }
9374    pub fn value(&self) -> Decimal { self.0.decimal }
9375
9376    pub fn tag() -> Tag { tag::DISPLAY_HIGH_QTY }
9377}
9378
9379impl FieldValueReader for DisplayHighQtyField {
9380    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9381        self.0.read(raw)
9382    }
9383}
9384
9385impl FieldValueWriter for DisplayHighQtyField {
9386    fn write_to(&self, buf: &mut Vec<u8>) {
9387        self.0.write_to(buf);
9388    }
9389}
9390
9391impl FieldValue for DisplayHighQtyField {}
9392
9393
9394/// `DisplayLowQtyField` is a `QTY` field, Tag 1085.
9395pub struct DisplayLowQtyField(pub FIXDecimal);
9396
9397impl DisplayLowQtyField {
9398
9399    pub fn new(val: Decimal, scale: i32) -> Self {
9400        Self(FIXDecimal { decimal: val, scale })
9401    }
9402    pub fn value(&self) -> Decimal { self.0.decimal }
9403
9404    pub fn tag() -> Tag { tag::DISPLAY_LOW_QTY }
9405}
9406
9407impl FieldValueReader for DisplayLowQtyField {
9408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9409        self.0.read(raw)
9410    }
9411}
9412
9413impl FieldValueWriter for DisplayLowQtyField {
9414    fn write_to(&self, buf: &mut Vec<u8>) {
9415        self.0.write_to(buf);
9416    }
9417}
9418
9419impl FieldValue for DisplayLowQtyField {}
9420
9421
9422/// `DisplayMethodField` is a `CHAR` field, Tag 1084.
9423pub struct DisplayMethodField(pub FIXString);
9424
9425impl DisplayMethodField {
9426
9427    pub fn new(val: String) -> Self { Self(val) }
9428    pub fn value(&self) -> &str { &self.0 }
9429
9430    pub fn tag() -> Tag { tag::DISPLAY_METHOD }
9431}
9432
9433impl FieldValueReader for DisplayMethodField {
9434    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9435        self.0.read(raw)
9436    }
9437}
9438
9439impl FieldValueWriter for DisplayMethodField {
9440    fn write_to(&self, buf: &mut Vec<u8>) {
9441        self.0.write_to(buf);
9442    }
9443}
9444
9445impl FieldValue for DisplayMethodField {}
9446
9447
9448/// `DisplayMinIncrField` is a `QTY` field, Tag 1087.
9449pub struct DisplayMinIncrField(pub FIXDecimal);
9450
9451impl DisplayMinIncrField {
9452
9453    pub fn new(val: Decimal, scale: i32) -> Self {
9454        Self(FIXDecimal { decimal: val, scale })
9455    }
9456    pub fn value(&self) -> Decimal { self.0.decimal }
9457
9458    pub fn tag() -> Tag { tag::DISPLAY_MIN_INCR }
9459}
9460
9461impl FieldValueReader for DisplayMinIncrField {
9462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9463        self.0.read(raw)
9464    }
9465}
9466
9467impl FieldValueWriter for DisplayMinIncrField {
9468    fn write_to(&self, buf: &mut Vec<u8>) {
9469        self.0.write_to(buf);
9470    }
9471}
9472
9473impl FieldValue for DisplayMinIncrField {}
9474
9475
9476/// `DisplayQtyField` is a `QTY` field, Tag 1138.
9477pub struct DisplayQtyField(pub FIXDecimal);
9478
9479impl DisplayQtyField {
9480
9481    pub fn new(val: Decimal, scale: i32) -> Self {
9482        Self(FIXDecimal { decimal: val, scale })
9483    }
9484    pub fn value(&self) -> Decimal { self.0.decimal }
9485
9486    pub fn tag() -> Tag { tag::DISPLAY_QTY }
9487}
9488
9489impl FieldValueReader for DisplayQtyField {
9490    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9491        self.0.read(raw)
9492    }
9493}
9494
9495impl FieldValueWriter for DisplayQtyField {
9496    fn write_to(&self, buf: &mut Vec<u8>) {
9497        self.0.write_to(buf);
9498    }
9499}
9500
9501impl FieldValue for DisplayQtyField {}
9502
9503
9504/// `DisplayWhenField` is a `CHAR` field, Tag 1083.
9505pub struct DisplayWhenField(pub FIXString);
9506
9507impl DisplayWhenField {
9508
9509    pub fn new(val: String) -> Self { Self(val) }
9510    pub fn value(&self) -> &str { &self.0 }
9511
9512    pub fn tag() -> Tag { tag::DISPLAY_WHEN }
9513}
9514
9515impl FieldValueReader for DisplayWhenField {
9516    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9517        self.0.read(raw)
9518    }
9519}
9520
9521impl FieldValueWriter for DisplayWhenField {
9522    fn write_to(&self, buf: &mut Vec<u8>) {
9523        self.0.write_to(buf);
9524    }
9525}
9526
9527impl FieldValue for DisplayWhenField {}
9528
9529
9530/// `DistribPaymentMethodField` is a `INT` field, Tag 477.
9531pub struct DistribPaymentMethodField(pub FIXInt);
9532
9533impl DistribPaymentMethodField {
9534
9535    pub fn new(val: isize) -> Self { Self(val) }
9536    pub fn value(&self) -> isize { self.0 }
9537
9538    pub fn tag() -> Tag { tag::DISTRIB_PAYMENT_METHOD }
9539}
9540
9541impl FieldValueReader for DistribPaymentMethodField {
9542    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9543        self.0.read(raw)
9544    }
9545}
9546
9547impl FieldValueWriter for DistribPaymentMethodField {
9548    fn write_to(&self, buf: &mut Vec<u8>) {
9549        self.0.write_to(buf);
9550    }
9551}
9552
9553impl FieldValue for DistribPaymentMethodField {}
9554
9555
9556/// `DistribPercentageField` is a `PERCENTAGE` field, Tag 512.
9557pub struct DistribPercentageField(pub FIXDecimal);
9558
9559impl DistribPercentageField {
9560
9561    pub fn new(val: Decimal, scale: i32) -> Self {
9562        Self(FIXDecimal { decimal: val, scale })
9563    }
9564    pub fn value(&self) -> Decimal { self.0.decimal }
9565
9566    pub fn tag() -> Tag { tag::DISTRIB_PERCENTAGE }
9567}
9568
9569impl FieldValueReader for DistribPercentageField {
9570    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9571        self.0.read(raw)
9572    }
9573}
9574
9575impl FieldValueWriter for DistribPercentageField {
9576    fn write_to(&self, buf: &mut Vec<u8>) {
9577        self.0.write_to(buf);
9578    }
9579}
9580
9581impl FieldValue for DistribPercentageField {}
9582
9583
9584/// `DividendYieldField` is a `PERCENTAGE` field, Tag 1380.
9585pub struct DividendYieldField(pub FIXDecimal);
9586
9587impl DividendYieldField {
9588
9589    pub fn new(val: Decimal, scale: i32) -> Self {
9590        Self(FIXDecimal { decimal: val, scale })
9591    }
9592    pub fn value(&self) -> Decimal { self.0.decimal }
9593
9594    pub fn tag() -> Tag { tag::DIVIDEND_YIELD }
9595}
9596
9597impl FieldValueReader for DividendYieldField {
9598    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9599        self.0.read(raw)
9600    }
9601}
9602
9603impl FieldValueWriter for DividendYieldField {
9604    fn write_to(&self, buf: &mut Vec<u8>) {
9605        self.0.write_to(buf);
9606    }
9607}
9608
9609impl FieldValue for DividendYieldField {}
9610
9611
9612/// `DlvyInstField` is a `STRING` field, Tag 86.
9613pub struct DlvyInstField(pub FIXString);
9614
9615impl DlvyInstField {
9616
9617    pub fn new(val: String) -> Self { Self(val) }
9618    pub fn value(&self) -> &str { &self.0 }
9619
9620    pub fn tag() -> Tag { tag::DLVY_INST }
9621}
9622
9623impl FieldValueReader for DlvyInstField {
9624    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9625        self.0.read(raw)
9626    }
9627}
9628
9629impl FieldValueWriter for DlvyInstField {
9630    fn write_to(&self, buf: &mut Vec<u8>) {
9631        self.0.write_to(buf);
9632    }
9633}
9634
9635impl FieldValue for DlvyInstField {}
9636
9637
9638/// `DlvyInstTypeField` is a `CHAR` field, Tag 787.
9639pub struct DlvyInstTypeField(pub FIXString);
9640
9641impl DlvyInstTypeField {
9642
9643    pub fn new(val: String) -> Self { Self(val) }
9644    pub fn value(&self) -> &str { &self.0 }
9645
9646    pub fn tag() -> Tag { tag::DLVY_INST_TYPE }
9647}
9648
9649impl FieldValueReader for DlvyInstTypeField {
9650    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9651        self.0.read(raw)
9652    }
9653}
9654
9655impl FieldValueWriter for DlvyInstTypeField {
9656    fn write_to(&self, buf: &mut Vec<u8>) {
9657        self.0.write_to(buf);
9658    }
9659}
9660
9661impl FieldValue for DlvyInstTypeField {}
9662
9663
9664/// `DueToRelatedField` is a `BOOLEAN` field, Tag 329.
9665pub struct DueToRelatedField(pub FIXBoolean);
9666
9667impl DueToRelatedField {
9668
9669    pub fn new(val: bool) -> Self { Self(val) }
9670    pub fn value(&self) -> bool { self.0 }
9671
9672    pub fn tag() -> Tag { tag::DUE_TO_RELATED }
9673}
9674
9675impl FieldValueReader for DueToRelatedField {
9676    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9677        self.0.read(raw)
9678    }
9679}
9680
9681impl FieldValueWriter for DueToRelatedField {
9682    fn write_to(&self, buf: &mut Vec<u8>) {
9683        self.0.write_to(buf);
9684    }
9685}
9686
9687impl FieldValue for DueToRelatedField {}
9688
9689
9690/// `EFPTrackingErrorField` is a `PERCENTAGE` field, Tag 405.
9691pub struct EFPTrackingErrorField(pub FIXDecimal);
9692
9693impl EFPTrackingErrorField {
9694
9695    pub fn new(val: Decimal, scale: i32) -> Self {
9696        Self(FIXDecimal { decimal: val, scale })
9697    }
9698    pub fn value(&self) -> Decimal { self.0.decimal }
9699
9700    pub fn tag() -> Tag { tag::EFP_TRACKING_ERROR }
9701}
9702
9703impl FieldValueReader for EFPTrackingErrorField {
9704    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9705        self.0.read(raw)
9706    }
9707}
9708
9709impl FieldValueWriter for EFPTrackingErrorField {
9710    fn write_to(&self, buf: &mut Vec<u8>) {
9711        self.0.write_to(buf);
9712    }
9713}
9714
9715impl FieldValue for EFPTrackingErrorField {}
9716
9717
9718/// `EffectiveTimeField` is a `UTCTIMESTAMP` field, Tag 168.
9719pub struct EffectiveTimeField(pub FIXUTCTimestamp);
9720
9721impl EffectiveTimeField {
9722
9723    pub fn new(val: Timestamp) -> Self {
9724        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
9725    }
9726    pub fn value(&self) -> Timestamp { self.0.time }
9727
9728    pub fn tag() -> Tag { tag::EFFECTIVE_TIME }
9729}
9730
9731impl FieldValueReader for EffectiveTimeField {
9732    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9733        self.0.read(raw)
9734    }
9735}
9736
9737impl FieldValueWriter for EffectiveTimeField {
9738    fn write_to(&self, buf: &mut Vec<u8>) {
9739        self.0.write_to(buf);
9740    }
9741}
9742
9743impl FieldValue for EffectiveTimeField {}
9744
9745
9746/// `EmailThreadIDField` is a `STRING` field, Tag 164.
9747pub struct EmailThreadIDField(pub FIXString);
9748
9749impl EmailThreadIDField {
9750
9751    pub fn new(val: String) -> Self { Self(val) }
9752    pub fn value(&self) -> &str { &self.0 }
9753
9754    pub fn tag() -> Tag { tag::EMAIL_THREAD_ID }
9755}
9756
9757impl FieldValueReader for EmailThreadIDField {
9758    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9759        self.0.read(raw)
9760    }
9761}
9762
9763impl FieldValueWriter for EmailThreadIDField {
9764    fn write_to(&self, buf: &mut Vec<u8>) {
9765        self.0.write_to(buf);
9766    }
9767}
9768
9769impl FieldValue for EmailThreadIDField {}
9770
9771
9772/// `EmailTypeField` is a `CHAR` field, Tag 94.
9773pub struct EmailTypeField(pub FIXString);
9774
9775impl EmailTypeField {
9776
9777    pub fn new(val: String) -> Self { Self(val) }
9778    pub fn value(&self) -> &str { &self.0 }
9779
9780    pub fn tag() -> Tag { tag::EMAIL_TYPE }
9781}
9782
9783impl FieldValueReader for EmailTypeField {
9784    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9785        self.0.read(raw)
9786    }
9787}
9788
9789impl FieldValueWriter for EmailTypeField {
9790    fn write_to(&self, buf: &mut Vec<u8>) {
9791        self.0.write_to(buf);
9792    }
9793}
9794
9795impl FieldValue for EmailTypeField {}
9796
9797
9798/// `EncodedAllocTextField` is a `DATA` field, Tag 361.
9799pub struct EncodedAllocTextField(pub FIXString);
9800
9801impl EncodedAllocTextField {
9802
9803    pub fn new(val: String) -> Self { Self(val) }
9804    pub fn value(&self) -> &str { &self.0 }
9805
9806    pub fn tag() -> Tag { tag::ENCODED_ALLOC_TEXT }
9807}
9808
9809impl FieldValueReader for EncodedAllocTextField {
9810    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9811        self.0.read(raw)
9812    }
9813}
9814
9815impl FieldValueWriter for EncodedAllocTextField {
9816    fn write_to(&self, buf: &mut Vec<u8>) {
9817        self.0.write_to(buf);
9818    }
9819}
9820
9821impl FieldValue for EncodedAllocTextField {}
9822
9823
9824/// `EncodedAllocTextLenField` is a `LENGTH` field, Tag 360.
9825pub struct EncodedAllocTextLenField(pub FIXInt);
9826
9827impl EncodedAllocTextLenField {
9828
9829    pub fn new(val: isize) -> Self { Self(val) }
9830    pub fn value(&self) -> isize { self.0 }
9831
9832    pub fn tag() -> Tag { tag::ENCODED_ALLOC_TEXT_LEN }
9833}
9834
9835impl FieldValueReader for EncodedAllocTextLenField {
9836    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9837        self.0.read(raw)
9838    }
9839}
9840
9841impl FieldValueWriter for EncodedAllocTextLenField {
9842    fn write_to(&self, buf: &mut Vec<u8>) {
9843        self.0.write_to(buf);
9844    }
9845}
9846
9847impl FieldValue for EncodedAllocTextLenField {}
9848
9849
9850/// `EncodedHeadlineField` is a `DATA` field, Tag 359.
9851pub struct EncodedHeadlineField(pub FIXString);
9852
9853impl EncodedHeadlineField {
9854
9855    pub fn new(val: String) -> Self { Self(val) }
9856    pub fn value(&self) -> &str { &self.0 }
9857
9858    pub fn tag() -> Tag { tag::ENCODED_HEADLINE }
9859}
9860
9861impl FieldValueReader for EncodedHeadlineField {
9862    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9863        self.0.read(raw)
9864    }
9865}
9866
9867impl FieldValueWriter for EncodedHeadlineField {
9868    fn write_to(&self, buf: &mut Vec<u8>) {
9869        self.0.write_to(buf);
9870    }
9871}
9872
9873impl FieldValue for EncodedHeadlineField {}
9874
9875
9876/// `EncodedHeadlineLenField` is a `LENGTH` field, Tag 358.
9877pub struct EncodedHeadlineLenField(pub FIXInt);
9878
9879impl EncodedHeadlineLenField {
9880
9881    pub fn new(val: isize) -> Self { Self(val) }
9882    pub fn value(&self) -> isize { self.0 }
9883
9884    pub fn tag() -> Tag { tag::ENCODED_HEADLINE_LEN }
9885}
9886
9887impl FieldValueReader for EncodedHeadlineLenField {
9888    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9889        self.0.read(raw)
9890    }
9891}
9892
9893impl FieldValueWriter for EncodedHeadlineLenField {
9894    fn write_to(&self, buf: &mut Vec<u8>) {
9895        self.0.write_to(buf);
9896    }
9897}
9898
9899impl FieldValue for EncodedHeadlineLenField {}
9900
9901
9902/// `EncodedIssuerField` is a `DATA` field, Tag 349.
9903pub struct EncodedIssuerField(pub FIXString);
9904
9905impl EncodedIssuerField {
9906
9907    pub fn new(val: String) -> Self { Self(val) }
9908    pub fn value(&self) -> &str { &self.0 }
9909
9910    pub fn tag() -> Tag { tag::ENCODED_ISSUER }
9911}
9912
9913impl FieldValueReader for EncodedIssuerField {
9914    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9915        self.0.read(raw)
9916    }
9917}
9918
9919impl FieldValueWriter for EncodedIssuerField {
9920    fn write_to(&self, buf: &mut Vec<u8>) {
9921        self.0.write_to(buf);
9922    }
9923}
9924
9925impl FieldValue for EncodedIssuerField {}
9926
9927
9928/// `EncodedIssuerLenField` is a `LENGTH` field, Tag 348.
9929pub struct EncodedIssuerLenField(pub FIXInt);
9930
9931impl EncodedIssuerLenField {
9932
9933    pub fn new(val: isize) -> Self { Self(val) }
9934    pub fn value(&self) -> isize { self.0 }
9935
9936    pub fn tag() -> Tag { tag::ENCODED_ISSUER_LEN }
9937}
9938
9939impl FieldValueReader for EncodedIssuerLenField {
9940    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9941        self.0.read(raw)
9942    }
9943}
9944
9945impl FieldValueWriter for EncodedIssuerLenField {
9946    fn write_to(&self, buf: &mut Vec<u8>) {
9947        self.0.write_to(buf);
9948    }
9949}
9950
9951impl FieldValue for EncodedIssuerLenField {}
9952
9953
9954/// `EncodedLegIssuerField` is a `DATA` field, Tag 619.
9955pub struct EncodedLegIssuerField(pub FIXString);
9956
9957impl EncodedLegIssuerField {
9958
9959    pub fn new(val: String) -> Self { Self(val) }
9960    pub fn value(&self) -> &str { &self.0 }
9961
9962    pub fn tag() -> Tag { tag::ENCODED_LEG_ISSUER }
9963}
9964
9965impl FieldValueReader for EncodedLegIssuerField {
9966    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9967        self.0.read(raw)
9968    }
9969}
9970
9971impl FieldValueWriter for EncodedLegIssuerField {
9972    fn write_to(&self, buf: &mut Vec<u8>) {
9973        self.0.write_to(buf);
9974    }
9975}
9976
9977impl FieldValue for EncodedLegIssuerField {}
9978
9979
9980/// `EncodedLegIssuerLenField` is a `LENGTH` field, Tag 618.
9981pub struct EncodedLegIssuerLenField(pub FIXInt);
9982
9983impl EncodedLegIssuerLenField {
9984
9985    pub fn new(val: isize) -> Self { Self(val) }
9986    pub fn value(&self) -> isize { self.0 }
9987
9988    pub fn tag() -> Tag { tag::ENCODED_LEG_ISSUER_LEN }
9989}
9990
9991impl FieldValueReader for EncodedLegIssuerLenField {
9992    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
9993        self.0.read(raw)
9994    }
9995}
9996
9997impl FieldValueWriter for EncodedLegIssuerLenField {
9998    fn write_to(&self, buf: &mut Vec<u8>) {
9999        self.0.write_to(buf);
10000    }
10001}
10002
10003impl FieldValue for EncodedLegIssuerLenField {}
10004
10005
10006/// `EncodedLegSecurityDescField` is a `DATA` field, Tag 622.
10007pub struct EncodedLegSecurityDescField(pub FIXString);
10008
10009impl EncodedLegSecurityDescField {
10010
10011    pub fn new(val: String) -> Self { Self(val) }
10012    pub fn value(&self) -> &str { &self.0 }
10013
10014    pub fn tag() -> Tag { tag::ENCODED_LEG_SECURITY_DESC }
10015}
10016
10017impl FieldValueReader for EncodedLegSecurityDescField {
10018    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10019        self.0.read(raw)
10020    }
10021}
10022
10023impl FieldValueWriter for EncodedLegSecurityDescField {
10024    fn write_to(&self, buf: &mut Vec<u8>) {
10025        self.0.write_to(buf);
10026    }
10027}
10028
10029impl FieldValue for EncodedLegSecurityDescField {}
10030
10031
10032/// `EncodedLegSecurityDescLenField` is a `LENGTH` field, Tag 621.
10033pub struct EncodedLegSecurityDescLenField(pub FIXInt);
10034
10035impl EncodedLegSecurityDescLenField {
10036
10037    pub fn new(val: isize) -> Self { Self(val) }
10038    pub fn value(&self) -> isize { self.0 }
10039
10040    pub fn tag() -> Tag { tag::ENCODED_LEG_SECURITY_DESC_LEN }
10041}
10042
10043impl FieldValueReader for EncodedLegSecurityDescLenField {
10044    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10045        self.0.read(raw)
10046    }
10047}
10048
10049impl FieldValueWriter for EncodedLegSecurityDescLenField {
10050    fn write_to(&self, buf: &mut Vec<u8>) {
10051        self.0.write_to(buf);
10052    }
10053}
10054
10055impl FieldValue for EncodedLegSecurityDescLenField {}
10056
10057
10058/// `EncodedListExecInstField` is a `DATA` field, Tag 353.
10059pub struct EncodedListExecInstField(pub FIXString);
10060
10061impl EncodedListExecInstField {
10062
10063    pub fn new(val: String) -> Self { Self(val) }
10064    pub fn value(&self) -> &str { &self.0 }
10065
10066    pub fn tag() -> Tag { tag::ENCODED_LIST_EXEC_INST }
10067}
10068
10069impl FieldValueReader for EncodedListExecInstField {
10070    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10071        self.0.read(raw)
10072    }
10073}
10074
10075impl FieldValueWriter for EncodedListExecInstField {
10076    fn write_to(&self, buf: &mut Vec<u8>) {
10077        self.0.write_to(buf);
10078    }
10079}
10080
10081impl FieldValue for EncodedListExecInstField {}
10082
10083
10084/// `EncodedListExecInstLenField` is a `LENGTH` field, Tag 352.
10085pub struct EncodedListExecInstLenField(pub FIXInt);
10086
10087impl EncodedListExecInstLenField {
10088
10089    pub fn new(val: isize) -> Self { Self(val) }
10090    pub fn value(&self) -> isize { self.0 }
10091
10092    pub fn tag() -> Tag { tag::ENCODED_LIST_EXEC_INST_LEN }
10093}
10094
10095impl FieldValueReader for EncodedListExecInstLenField {
10096    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10097        self.0.read(raw)
10098    }
10099}
10100
10101impl FieldValueWriter for EncodedListExecInstLenField {
10102    fn write_to(&self, buf: &mut Vec<u8>) {
10103        self.0.write_to(buf);
10104    }
10105}
10106
10107impl FieldValue for EncodedListExecInstLenField {}
10108
10109
10110/// `EncodedListStatusTextField` is a `DATA` field, Tag 446.
10111pub struct EncodedListStatusTextField(pub FIXString);
10112
10113impl EncodedListStatusTextField {
10114
10115    pub fn new(val: String) -> Self { Self(val) }
10116    pub fn value(&self) -> &str { &self.0 }
10117
10118    pub fn tag() -> Tag { tag::ENCODED_LIST_STATUS_TEXT }
10119}
10120
10121impl FieldValueReader for EncodedListStatusTextField {
10122    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10123        self.0.read(raw)
10124    }
10125}
10126
10127impl FieldValueWriter for EncodedListStatusTextField {
10128    fn write_to(&self, buf: &mut Vec<u8>) {
10129        self.0.write_to(buf);
10130    }
10131}
10132
10133impl FieldValue for EncodedListStatusTextField {}
10134
10135
10136/// `EncodedListStatusTextLenField` is a `LENGTH` field, Tag 445.
10137pub struct EncodedListStatusTextLenField(pub FIXInt);
10138
10139impl EncodedListStatusTextLenField {
10140
10141    pub fn new(val: isize) -> Self { Self(val) }
10142    pub fn value(&self) -> isize { self.0 }
10143
10144    pub fn tag() -> Tag { tag::ENCODED_LIST_STATUS_TEXT_LEN }
10145}
10146
10147impl FieldValueReader for EncodedListStatusTextLenField {
10148    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10149        self.0.read(raw)
10150    }
10151}
10152
10153impl FieldValueWriter for EncodedListStatusTextLenField {
10154    fn write_to(&self, buf: &mut Vec<u8>) {
10155        self.0.write_to(buf);
10156    }
10157}
10158
10159impl FieldValue for EncodedListStatusTextLenField {}
10160
10161
10162/// `EncodedMktSegmDescField` is a `DATA` field, Tag 1398.
10163pub struct EncodedMktSegmDescField(pub FIXString);
10164
10165impl EncodedMktSegmDescField {
10166
10167    pub fn new(val: String) -> Self { Self(val) }
10168    pub fn value(&self) -> &str { &self.0 }
10169
10170    pub fn tag() -> Tag { tag::ENCODED_MKT_SEGM_DESC }
10171}
10172
10173impl FieldValueReader for EncodedMktSegmDescField {
10174    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10175        self.0.read(raw)
10176    }
10177}
10178
10179impl FieldValueWriter for EncodedMktSegmDescField {
10180    fn write_to(&self, buf: &mut Vec<u8>) {
10181        self.0.write_to(buf);
10182    }
10183}
10184
10185impl FieldValue for EncodedMktSegmDescField {}
10186
10187
10188/// `EncodedMktSegmDescLenField` is a `LENGTH` field, Tag 1397.
10189pub struct EncodedMktSegmDescLenField(pub FIXInt);
10190
10191impl EncodedMktSegmDescLenField {
10192
10193    pub fn new(val: isize) -> Self { Self(val) }
10194    pub fn value(&self) -> isize { self.0 }
10195
10196    pub fn tag() -> Tag { tag::ENCODED_MKT_SEGM_DESC_LEN }
10197}
10198
10199impl FieldValueReader for EncodedMktSegmDescLenField {
10200    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10201        self.0.read(raw)
10202    }
10203}
10204
10205impl FieldValueWriter for EncodedMktSegmDescLenField {
10206    fn write_to(&self, buf: &mut Vec<u8>) {
10207        self.0.write_to(buf);
10208    }
10209}
10210
10211impl FieldValue for EncodedMktSegmDescLenField {}
10212
10213
10214/// `EncodedSecurityDescField` is a `DATA` field, Tag 351.
10215pub struct EncodedSecurityDescField(pub FIXString);
10216
10217impl EncodedSecurityDescField {
10218
10219    pub fn new(val: String) -> Self { Self(val) }
10220    pub fn value(&self) -> &str { &self.0 }
10221
10222    pub fn tag() -> Tag { tag::ENCODED_SECURITY_DESC }
10223}
10224
10225impl FieldValueReader for EncodedSecurityDescField {
10226    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10227        self.0.read(raw)
10228    }
10229}
10230
10231impl FieldValueWriter for EncodedSecurityDescField {
10232    fn write_to(&self, buf: &mut Vec<u8>) {
10233        self.0.write_to(buf);
10234    }
10235}
10236
10237impl FieldValue for EncodedSecurityDescField {}
10238
10239
10240/// `EncodedSecurityDescLenField` is a `LENGTH` field, Tag 350.
10241pub struct EncodedSecurityDescLenField(pub FIXInt);
10242
10243impl EncodedSecurityDescLenField {
10244
10245    pub fn new(val: isize) -> Self { Self(val) }
10246    pub fn value(&self) -> isize { self.0 }
10247
10248    pub fn tag() -> Tag { tag::ENCODED_SECURITY_DESC_LEN }
10249}
10250
10251impl FieldValueReader for EncodedSecurityDescLenField {
10252    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10253        self.0.read(raw)
10254    }
10255}
10256
10257impl FieldValueWriter for EncodedSecurityDescLenField {
10258    fn write_to(&self, buf: &mut Vec<u8>) {
10259        self.0.write_to(buf);
10260    }
10261}
10262
10263impl FieldValue for EncodedSecurityDescLenField {}
10264
10265
10266/// `EncodedSecurityListDescField` is a `DATA` field, Tag 1469.
10267pub struct EncodedSecurityListDescField(pub FIXString);
10268
10269impl EncodedSecurityListDescField {
10270
10271    pub fn new(val: String) -> Self { Self(val) }
10272    pub fn value(&self) -> &str { &self.0 }
10273
10274    pub fn tag() -> Tag { tag::ENCODED_SECURITY_LIST_DESC }
10275}
10276
10277impl FieldValueReader for EncodedSecurityListDescField {
10278    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10279        self.0.read(raw)
10280    }
10281}
10282
10283impl FieldValueWriter for EncodedSecurityListDescField {
10284    fn write_to(&self, buf: &mut Vec<u8>) {
10285        self.0.write_to(buf);
10286    }
10287}
10288
10289impl FieldValue for EncodedSecurityListDescField {}
10290
10291
10292/// `EncodedSecurityListDescLenField` is a `LENGTH` field, Tag 1468.
10293pub struct EncodedSecurityListDescLenField(pub FIXInt);
10294
10295impl EncodedSecurityListDescLenField {
10296
10297    pub fn new(val: isize) -> Self { Self(val) }
10298    pub fn value(&self) -> isize { self.0 }
10299
10300    pub fn tag() -> Tag { tag::ENCODED_SECURITY_LIST_DESC_LEN }
10301}
10302
10303impl FieldValueReader for EncodedSecurityListDescLenField {
10304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10305        self.0.read(raw)
10306    }
10307}
10308
10309impl FieldValueWriter for EncodedSecurityListDescLenField {
10310    fn write_to(&self, buf: &mut Vec<u8>) {
10311        self.0.write_to(buf);
10312    }
10313}
10314
10315impl FieldValue for EncodedSecurityListDescLenField {}
10316
10317
10318/// `EncodedSubjectField` is a `DATA` field, Tag 357.
10319pub struct EncodedSubjectField(pub FIXString);
10320
10321impl EncodedSubjectField {
10322
10323    pub fn new(val: String) -> Self { Self(val) }
10324    pub fn value(&self) -> &str { &self.0 }
10325
10326    pub fn tag() -> Tag { tag::ENCODED_SUBJECT }
10327}
10328
10329impl FieldValueReader for EncodedSubjectField {
10330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10331        self.0.read(raw)
10332    }
10333}
10334
10335impl FieldValueWriter for EncodedSubjectField {
10336    fn write_to(&self, buf: &mut Vec<u8>) {
10337        self.0.write_to(buf);
10338    }
10339}
10340
10341impl FieldValue for EncodedSubjectField {}
10342
10343
10344/// `EncodedSubjectLenField` is a `LENGTH` field, Tag 356.
10345pub struct EncodedSubjectLenField(pub FIXInt);
10346
10347impl EncodedSubjectLenField {
10348
10349    pub fn new(val: isize) -> Self { Self(val) }
10350    pub fn value(&self) -> isize { self.0 }
10351
10352    pub fn tag() -> Tag { tag::ENCODED_SUBJECT_LEN }
10353}
10354
10355impl FieldValueReader for EncodedSubjectLenField {
10356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10357        self.0.read(raw)
10358    }
10359}
10360
10361impl FieldValueWriter for EncodedSubjectLenField {
10362    fn write_to(&self, buf: &mut Vec<u8>) {
10363        self.0.write_to(buf);
10364    }
10365}
10366
10367impl FieldValue for EncodedSubjectLenField {}
10368
10369
10370/// `EncodedSymbolField` is a `DATA` field, Tag 1360.
10371pub struct EncodedSymbolField(pub FIXString);
10372
10373impl EncodedSymbolField {
10374
10375    pub fn new(val: String) -> Self { Self(val) }
10376    pub fn value(&self) -> &str { &self.0 }
10377
10378    pub fn tag() -> Tag { tag::ENCODED_SYMBOL }
10379}
10380
10381impl FieldValueReader for EncodedSymbolField {
10382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10383        self.0.read(raw)
10384    }
10385}
10386
10387impl FieldValueWriter for EncodedSymbolField {
10388    fn write_to(&self, buf: &mut Vec<u8>) {
10389        self.0.write_to(buf);
10390    }
10391}
10392
10393impl FieldValue for EncodedSymbolField {}
10394
10395
10396/// `EncodedSymbolLenField` is a `LENGTH` field, Tag 1359.
10397pub struct EncodedSymbolLenField(pub FIXInt);
10398
10399impl EncodedSymbolLenField {
10400
10401    pub fn new(val: isize) -> Self { Self(val) }
10402    pub fn value(&self) -> isize { self.0 }
10403
10404    pub fn tag() -> Tag { tag::ENCODED_SYMBOL_LEN }
10405}
10406
10407impl FieldValueReader for EncodedSymbolLenField {
10408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10409        self.0.read(raw)
10410    }
10411}
10412
10413impl FieldValueWriter for EncodedSymbolLenField {
10414    fn write_to(&self, buf: &mut Vec<u8>) {
10415        self.0.write_to(buf);
10416    }
10417}
10418
10419impl FieldValue for EncodedSymbolLenField {}
10420
10421
10422/// `EncodedTextField` is a `DATA` field, Tag 355.
10423pub struct EncodedTextField(pub FIXString);
10424
10425impl EncodedTextField {
10426
10427    pub fn new(val: String) -> Self { Self(val) }
10428    pub fn value(&self) -> &str { &self.0 }
10429
10430    pub fn tag() -> Tag { tag::ENCODED_TEXT }
10431}
10432
10433impl FieldValueReader for EncodedTextField {
10434    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10435        self.0.read(raw)
10436    }
10437}
10438
10439impl FieldValueWriter for EncodedTextField {
10440    fn write_to(&self, buf: &mut Vec<u8>) {
10441        self.0.write_to(buf);
10442    }
10443}
10444
10445impl FieldValue for EncodedTextField {}
10446
10447
10448/// `EncodedTextLenField` is a `LENGTH` field, Tag 354.
10449pub struct EncodedTextLenField(pub FIXInt);
10450
10451impl EncodedTextLenField {
10452
10453    pub fn new(val: isize) -> Self { Self(val) }
10454    pub fn value(&self) -> isize { self.0 }
10455
10456    pub fn tag() -> Tag { tag::ENCODED_TEXT_LEN }
10457}
10458
10459impl FieldValueReader for EncodedTextLenField {
10460    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10461        self.0.read(raw)
10462    }
10463}
10464
10465impl FieldValueWriter for EncodedTextLenField {
10466    fn write_to(&self, buf: &mut Vec<u8>) {
10467        self.0.write_to(buf);
10468    }
10469}
10470
10471impl FieldValue for EncodedTextLenField {}
10472
10473
10474/// `EncodedUnderlyingIssuerField` is a `DATA` field, Tag 363.
10475pub struct EncodedUnderlyingIssuerField(pub FIXString);
10476
10477impl EncodedUnderlyingIssuerField {
10478
10479    pub fn new(val: String) -> Self { Self(val) }
10480    pub fn value(&self) -> &str { &self.0 }
10481
10482    pub fn tag() -> Tag { tag::ENCODED_UNDERLYING_ISSUER }
10483}
10484
10485impl FieldValueReader for EncodedUnderlyingIssuerField {
10486    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10487        self.0.read(raw)
10488    }
10489}
10490
10491impl FieldValueWriter for EncodedUnderlyingIssuerField {
10492    fn write_to(&self, buf: &mut Vec<u8>) {
10493        self.0.write_to(buf);
10494    }
10495}
10496
10497impl FieldValue for EncodedUnderlyingIssuerField {}
10498
10499
10500/// `EncodedUnderlyingIssuerLenField` is a `LENGTH` field, Tag 362.
10501pub struct EncodedUnderlyingIssuerLenField(pub FIXInt);
10502
10503impl EncodedUnderlyingIssuerLenField {
10504
10505    pub fn new(val: isize) -> Self { Self(val) }
10506    pub fn value(&self) -> isize { self.0 }
10507
10508    pub fn tag() -> Tag { tag::ENCODED_UNDERLYING_ISSUER_LEN }
10509}
10510
10511impl FieldValueReader for EncodedUnderlyingIssuerLenField {
10512    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10513        self.0.read(raw)
10514    }
10515}
10516
10517impl FieldValueWriter for EncodedUnderlyingIssuerLenField {
10518    fn write_to(&self, buf: &mut Vec<u8>) {
10519        self.0.write_to(buf);
10520    }
10521}
10522
10523impl FieldValue for EncodedUnderlyingIssuerLenField {}
10524
10525
10526/// `EncodedUnderlyingSecurityDescField` is a `DATA` field, Tag 365.
10527pub struct EncodedUnderlyingSecurityDescField(pub FIXString);
10528
10529impl EncodedUnderlyingSecurityDescField {
10530
10531    pub fn new(val: String) -> Self { Self(val) }
10532    pub fn value(&self) -> &str { &self.0 }
10533
10534    pub fn tag() -> Tag { tag::ENCODED_UNDERLYING_SECURITY_DESC }
10535}
10536
10537impl FieldValueReader for EncodedUnderlyingSecurityDescField {
10538    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10539        self.0.read(raw)
10540    }
10541}
10542
10543impl FieldValueWriter for EncodedUnderlyingSecurityDescField {
10544    fn write_to(&self, buf: &mut Vec<u8>) {
10545        self.0.write_to(buf);
10546    }
10547}
10548
10549impl FieldValue for EncodedUnderlyingSecurityDescField {}
10550
10551
10552/// `EncodedUnderlyingSecurityDescLenField` is a `LENGTH` field, Tag 364.
10553pub struct EncodedUnderlyingSecurityDescLenField(pub FIXInt);
10554
10555impl EncodedUnderlyingSecurityDescLenField {
10556
10557    pub fn new(val: isize) -> Self { Self(val) }
10558    pub fn value(&self) -> isize { self.0 }
10559
10560    pub fn tag() -> Tag { tag::ENCODED_UNDERLYING_SECURITY_DESC_LEN }
10561}
10562
10563impl FieldValueReader for EncodedUnderlyingSecurityDescLenField {
10564    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10565        self.0.read(raw)
10566    }
10567}
10568
10569impl FieldValueWriter for EncodedUnderlyingSecurityDescLenField {
10570    fn write_to(&self, buf: &mut Vec<u8>) {
10571        self.0.write_to(buf);
10572    }
10573}
10574
10575impl FieldValue for EncodedUnderlyingSecurityDescLenField {}
10576
10577
10578/// `EncryptMethodField` is a `INT` field, Tag 98.
10579pub struct EncryptMethodField(pub FIXInt);
10580
10581impl EncryptMethodField {
10582
10583    pub fn new(val: isize) -> Self { Self(val) }
10584    pub fn value(&self) -> isize { self.0 }
10585
10586    pub fn tag() -> Tag { tag::ENCRYPT_METHOD }
10587}
10588
10589impl FieldValueReader for EncryptMethodField {
10590    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10591        self.0.read(raw)
10592    }
10593}
10594
10595impl FieldValueWriter for EncryptMethodField {
10596    fn write_to(&self, buf: &mut Vec<u8>) {
10597        self.0.write_to(buf);
10598    }
10599}
10600
10601impl FieldValue for EncryptMethodField {}
10602
10603
10604/// `EncryptedNewPasswordField` is a `DATA` field, Tag 1404.
10605pub struct EncryptedNewPasswordField(pub FIXString);
10606
10607impl EncryptedNewPasswordField {
10608
10609    pub fn new(val: String) -> Self { Self(val) }
10610    pub fn value(&self) -> &str { &self.0 }
10611
10612    pub fn tag() -> Tag { tag::ENCRYPTED_NEW_PASSWORD }
10613}
10614
10615impl FieldValueReader for EncryptedNewPasswordField {
10616    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10617        self.0.read(raw)
10618    }
10619}
10620
10621impl FieldValueWriter for EncryptedNewPasswordField {
10622    fn write_to(&self, buf: &mut Vec<u8>) {
10623        self.0.write_to(buf);
10624    }
10625}
10626
10627impl FieldValue for EncryptedNewPasswordField {}
10628
10629
10630/// `EncryptedNewPasswordLenField` is a `LENGTH` field, Tag 1403.
10631pub struct EncryptedNewPasswordLenField(pub FIXInt);
10632
10633impl EncryptedNewPasswordLenField {
10634
10635    pub fn new(val: isize) -> Self { Self(val) }
10636    pub fn value(&self) -> isize { self.0 }
10637
10638    pub fn tag() -> Tag { tag::ENCRYPTED_NEW_PASSWORD_LEN }
10639}
10640
10641impl FieldValueReader for EncryptedNewPasswordLenField {
10642    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10643        self.0.read(raw)
10644    }
10645}
10646
10647impl FieldValueWriter for EncryptedNewPasswordLenField {
10648    fn write_to(&self, buf: &mut Vec<u8>) {
10649        self.0.write_to(buf);
10650    }
10651}
10652
10653impl FieldValue for EncryptedNewPasswordLenField {}
10654
10655
10656/// `EncryptedPasswordField` is a `DATA` field, Tag 1402.
10657pub struct EncryptedPasswordField(pub FIXString);
10658
10659impl EncryptedPasswordField {
10660
10661    pub fn new(val: String) -> Self { Self(val) }
10662    pub fn value(&self) -> &str { &self.0 }
10663
10664    pub fn tag() -> Tag { tag::ENCRYPTED_PASSWORD }
10665}
10666
10667impl FieldValueReader for EncryptedPasswordField {
10668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10669        self.0.read(raw)
10670    }
10671}
10672
10673impl FieldValueWriter for EncryptedPasswordField {
10674    fn write_to(&self, buf: &mut Vec<u8>) {
10675        self.0.write_to(buf);
10676    }
10677}
10678
10679impl FieldValue for EncryptedPasswordField {}
10680
10681
10682/// `EncryptedPasswordLenField` is a `LENGTH` field, Tag 1401.
10683pub struct EncryptedPasswordLenField(pub FIXInt);
10684
10685impl EncryptedPasswordLenField {
10686
10687    pub fn new(val: isize) -> Self { Self(val) }
10688    pub fn value(&self) -> isize { self.0 }
10689
10690    pub fn tag() -> Tag { tag::ENCRYPTED_PASSWORD_LEN }
10691}
10692
10693impl FieldValueReader for EncryptedPasswordLenField {
10694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10695        self.0.read(raw)
10696    }
10697}
10698
10699impl FieldValueWriter for EncryptedPasswordLenField {
10700    fn write_to(&self, buf: &mut Vec<u8>) {
10701        self.0.write_to(buf);
10702    }
10703}
10704
10705impl FieldValue for EncryptedPasswordLenField {}
10706
10707
10708/// `EncryptedPasswordMethodField` is a `INT` field, Tag 1400.
10709pub struct EncryptedPasswordMethodField(pub FIXInt);
10710
10711impl EncryptedPasswordMethodField {
10712
10713    pub fn new(val: isize) -> Self { Self(val) }
10714    pub fn value(&self) -> isize { self.0 }
10715
10716    pub fn tag() -> Tag { tag::ENCRYPTED_PASSWORD_METHOD }
10717}
10718
10719impl FieldValueReader for EncryptedPasswordMethodField {
10720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10721        self.0.read(raw)
10722    }
10723}
10724
10725impl FieldValueWriter for EncryptedPasswordMethodField {
10726    fn write_to(&self, buf: &mut Vec<u8>) {
10727        self.0.write_to(buf);
10728    }
10729}
10730
10731impl FieldValue for EncryptedPasswordMethodField {}
10732
10733
10734/// `EndAccruedInterestAmtField` is a `AMT` field, Tag 920.
10735pub struct EndAccruedInterestAmtField(pub FIXDecimal);
10736
10737impl EndAccruedInterestAmtField {
10738
10739    pub fn new(val: Decimal, scale: i32) -> Self {
10740        Self(FIXDecimal { decimal: val, scale })
10741    }
10742    pub fn value(&self) -> Decimal { self.0.decimal }
10743
10744    pub fn tag() -> Tag { tag::END_ACCRUED_INTEREST_AMT }
10745}
10746
10747impl FieldValueReader for EndAccruedInterestAmtField {
10748    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10749        self.0.read(raw)
10750    }
10751}
10752
10753impl FieldValueWriter for EndAccruedInterestAmtField {
10754    fn write_to(&self, buf: &mut Vec<u8>) {
10755        self.0.write_to(buf);
10756    }
10757}
10758
10759impl FieldValue for EndAccruedInterestAmtField {}
10760
10761
10762/// `EndCashField` is a `AMT` field, Tag 922.
10763pub struct EndCashField(pub FIXDecimal);
10764
10765impl EndCashField {
10766
10767    pub fn new(val: Decimal, scale: i32) -> Self {
10768        Self(FIXDecimal { decimal: val, scale })
10769    }
10770    pub fn value(&self) -> Decimal { self.0.decimal }
10771
10772    pub fn tag() -> Tag { tag::END_CASH }
10773}
10774
10775impl FieldValueReader for EndCashField {
10776    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10777        self.0.read(raw)
10778    }
10779}
10780
10781impl FieldValueWriter for EndCashField {
10782    fn write_to(&self, buf: &mut Vec<u8>) {
10783        self.0.write_to(buf);
10784    }
10785}
10786
10787impl FieldValue for EndCashField {}
10788
10789
10790/// `EndDateField` is a `LOCALMKTDATE` field, Tag 917.
10791pub struct EndDateField(pub FIXString);
10792
10793impl EndDateField {
10794
10795    pub fn new(val: String) -> Self { Self(val) }
10796    pub fn value(&self) -> &str { &self.0 }
10797
10798    pub fn tag() -> Tag { tag::END_DATE }
10799}
10800
10801impl FieldValueReader for EndDateField {
10802    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10803        self.0.read(raw)
10804    }
10805}
10806
10807impl FieldValueWriter for EndDateField {
10808    fn write_to(&self, buf: &mut Vec<u8>) {
10809        self.0.write_to(buf);
10810    }
10811}
10812
10813impl FieldValue for EndDateField {}
10814
10815
10816/// `EndMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1226.
10817pub struct EndMaturityMonthYearField(pub FIXString);
10818
10819impl EndMaturityMonthYearField {
10820
10821    pub fn new(val: String) -> Self { Self(val) }
10822    pub fn value(&self) -> &str { &self.0 }
10823
10824    pub fn tag() -> Tag { tag::END_MATURITY_MONTH_YEAR }
10825}
10826
10827impl FieldValueReader for EndMaturityMonthYearField {
10828    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10829        self.0.read(raw)
10830    }
10831}
10832
10833impl FieldValueWriter for EndMaturityMonthYearField {
10834    fn write_to(&self, buf: &mut Vec<u8>) {
10835        self.0.write_to(buf);
10836    }
10837}
10838
10839impl FieldValue for EndMaturityMonthYearField {}
10840
10841
10842/// `EndSeqNoField` is a `SEQNUM` field, Tag 16.
10843pub struct EndSeqNoField(pub FIXInt);
10844
10845impl EndSeqNoField {
10846
10847    pub fn new(val: isize) -> Self { Self(val) }
10848    pub fn value(&self) -> isize { self.0 }
10849
10850    pub fn tag() -> Tag { tag::END_SEQ_NO }
10851}
10852
10853impl FieldValueReader for EndSeqNoField {
10854    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10855        self.0.read(raw)
10856    }
10857}
10858
10859impl FieldValueWriter for EndSeqNoField {
10860    fn write_to(&self, buf: &mut Vec<u8>) {
10861        self.0.write_to(buf);
10862    }
10863}
10864
10865impl FieldValue for EndSeqNoField {}
10866
10867
10868/// `EndStrikePxRangeField` is a `PRICE` field, Tag 1203.
10869pub struct EndStrikePxRangeField(pub FIXDecimal);
10870
10871impl EndStrikePxRangeField {
10872
10873    pub fn new(val: Decimal, scale: i32) -> Self {
10874        Self(FIXDecimal { decimal: val, scale })
10875    }
10876    pub fn value(&self) -> Decimal { self.0.decimal }
10877
10878    pub fn tag() -> Tag { tag::END_STRIKE_PX_RANGE }
10879}
10880
10881impl FieldValueReader for EndStrikePxRangeField {
10882    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10883        self.0.read(raw)
10884    }
10885}
10886
10887impl FieldValueWriter for EndStrikePxRangeField {
10888    fn write_to(&self, buf: &mut Vec<u8>) {
10889        self.0.write_to(buf);
10890    }
10891}
10892
10893impl FieldValue for EndStrikePxRangeField {}
10894
10895
10896/// `EndTickPriceRangeField` is a `PRICE` field, Tag 1207.
10897pub struct EndTickPriceRangeField(pub FIXDecimal);
10898
10899impl EndTickPriceRangeField {
10900
10901    pub fn new(val: Decimal, scale: i32) -> Self {
10902        Self(FIXDecimal { decimal: val, scale })
10903    }
10904    pub fn value(&self) -> Decimal { self.0.decimal }
10905
10906    pub fn tag() -> Tag { tag::END_TICK_PRICE_RANGE }
10907}
10908
10909impl FieldValueReader for EndTickPriceRangeField {
10910    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10911        self.0.read(raw)
10912    }
10913}
10914
10915impl FieldValueWriter for EndTickPriceRangeField {
10916    fn write_to(&self, buf: &mut Vec<u8>) {
10917        self.0.write_to(buf);
10918    }
10919}
10920
10921impl FieldValue for EndTickPriceRangeField {}
10922
10923
10924/// `EventDateField` is a `LOCALMKTDATE` field, Tag 866.
10925pub struct EventDateField(pub FIXString);
10926
10927impl EventDateField {
10928
10929    pub fn new(val: String) -> Self { Self(val) }
10930    pub fn value(&self) -> &str { &self.0 }
10931
10932    pub fn tag() -> Tag { tag::EVENT_DATE }
10933}
10934
10935impl FieldValueReader for EventDateField {
10936    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10937        self.0.read(raw)
10938    }
10939}
10940
10941impl FieldValueWriter for EventDateField {
10942    fn write_to(&self, buf: &mut Vec<u8>) {
10943        self.0.write_to(buf);
10944    }
10945}
10946
10947impl FieldValue for EventDateField {}
10948
10949
10950/// `EventPxField` is a `PRICE` field, Tag 867.
10951pub struct EventPxField(pub FIXDecimal);
10952
10953impl EventPxField {
10954
10955    pub fn new(val: Decimal, scale: i32) -> Self {
10956        Self(FIXDecimal { decimal: val, scale })
10957    }
10958    pub fn value(&self) -> Decimal { self.0.decimal }
10959
10960    pub fn tag() -> Tag { tag::EVENT_PX }
10961}
10962
10963impl FieldValueReader for EventPxField {
10964    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10965        self.0.read(raw)
10966    }
10967}
10968
10969impl FieldValueWriter for EventPxField {
10970    fn write_to(&self, buf: &mut Vec<u8>) {
10971        self.0.write_to(buf);
10972    }
10973}
10974
10975impl FieldValue for EventPxField {}
10976
10977
10978/// `EventTextField` is a `STRING` field, Tag 868.
10979pub struct EventTextField(pub FIXString);
10980
10981impl EventTextField {
10982
10983    pub fn new(val: String) -> Self { Self(val) }
10984    pub fn value(&self) -> &str { &self.0 }
10985
10986    pub fn tag() -> Tag { tag::EVENT_TEXT }
10987}
10988
10989impl FieldValueReader for EventTextField {
10990    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
10991        self.0.read(raw)
10992    }
10993}
10994
10995impl FieldValueWriter for EventTextField {
10996    fn write_to(&self, buf: &mut Vec<u8>) {
10997        self.0.write_to(buf);
10998    }
10999}
11000
11001impl FieldValue for EventTextField {}
11002
11003
11004/// `EventTimeField` is a `UTCTIMESTAMP` field, Tag 1145.
11005pub struct EventTimeField(pub FIXUTCTimestamp);
11006
11007impl EventTimeField {
11008
11009    pub fn new(val: Timestamp) -> Self {
11010        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
11011    }
11012    pub fn value(&self) -> Timestamp { self.0.time }
11013
11014    pub fn tag() -> Tag { tag::EVENT_TIME }
11015}
11016
11017impl FieldValueReader for EventTimeField {
11018    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11019        self.0.read(raw)
11020    }
11021}
11022
11023impl FieldValueWriter for EventTimeField {
11024    fn write_to(&self, buf: &mut Vec<u8>) {
11025        self.0.write_to(buf);
11026    }
11027}
11028
11029impl FieldValue for EventTimeField {}
11030
11031
11032/// `EventTypeField` is a `INT` field, Tag 865.
11033pub struct EventTypeField(pub FIXInt);
11034
11035impl EventTypeField {
11036
11037    pub fn new(val: isize) -> Self { Self(val) }
11038    pub fn value(&self) -> isize { self.0 }
11039
11040    pub fn tag() -> Tag { tag::EVENT_TYPE }
11041}
11042
11043impl FieldValueReader for EventTypeField {
11044    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11045        self.0.read(raw)
11046    }
11047}
11048
11049impl FieldValueWriter for EventTypeField {
11050    fn write_to(&self, buf: &mut Vec<u8>) {
11051        self.0.write_to(buf);
11052    }
11053}
11054
11055impl FieldValue for EventTypeField {}
11056
11057
11058/// `ExDateField` is a `LOCALMKTDATE` field, Tag 230.
11059pub struct ExDateField(pub FIXString);
11060
11061impl ExDateField {
11062
11063    pub fn new(val: String) -> Self { Self(val) }
11064    pub fn value(&self) -> &str { &self.0 }
11065
11066    pub fn tag() -> Tag { tag::EX_DATE }
11067}
11068
11069impl FieldValueReader for ExDateField {
11070    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11071        self.0.read(raw)
11072    }
11073}
11074
11075impl FieldValueWriter for ExDateField {
11076    fn write_to(&self, buf: &mut Vec<u8>) {
11077        self.0.write_to(buf);
11078    }
11079}
11080
11081impl FieldValue for ExDateField {}
11082
11083
11084/// `ExDestinationField` is a `EXCHANGE` field, Tag 100.
11085pub struct ExDestinationField(pub FIXString);
11086
11087impl ExDestinationField {
11088
11089    pub fn new(val: String) -> Self { Self(val) }
11090    pub fn value(&self) -> &str { &self.0 }
11091
11092    pub fn tag() -> Tag { tag::EX_DESTINATION }
11093}
11094
11095impl FieldValueReader for ExDestinationField {
11096    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11097        self.0.read(raw)
11098    }
11099}
11100
11101impl FieldValueWriter for ExDestinationField {
11102    fn write_to(&self, buf: &mut Vec<u8>) {
11103        self.0.write_to(buf);
11104    }
11105}
11106
11107impl FieldValue for ExDestinationField {}
11108
11109
11110/// `ExDestinationIDSourceField` is a `CHAR` field, Tag 1133.
11111pub struct ExDestinationIDSourceField(pub FIXString);
11112
11113impl ExDestinationIDSourceField {
11114
11115    pub fn new(val: String) -> Self { Self(val) }
11116    pub fn value(&self) -> &str { &self.0 }
11117
11118    pub fn tag() -> Tag { tag::EX_DESTINATION_ID_SOURCE }
11119}
11120
11121impl FieldValueReader for ExDestinationIDSourceField {
11122    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11123        self.0.read(raw)
11124    }
11125}
11126
11127impl FieldValueWriter for ExDestinationIDSourceField {
11128    fn write_to(&self, buf: &mut Vec<u8>) {
11129        self.0.write_to(buf);
11130    }
11131}
11132
11133impl FieldValue for ExDestinationIDSourceField {}
11134
11135
11136/// `ExchangeForPhysicalField` is a `BOOLEAN` field, Tag 411.
11137pub struct ExchangeForPhysicalField(pub FIXBoolean);
11138
11139impl ExchangeForPhysicalField {
11140
11141    pub fn new(val: bool) -> Self { Self(val) }
11142    pub fn value(&self) -> bool { self.0 }
11143
11144    pub fn tag() -> Tag { tag::EXCHANGE_FOR_PHYSICAL }
11145}
11146
11147impl FieldValueReader for ExchangeForPhysicalField {
11148    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11149        self.0.read(raw)
11150    }
11151}
11152
11153impl FieldValueWriter for ExchangeForPhysicalField {
11154    fn write_to(&self, buf: &mut Vec<u8>) {
11155        self.0.write_to(buf);
11156    }
11157}
11158
11159impl FieldValue for ExchangeForPhysicalField {}
11160
11161
11162/// `ExchangeRuleField` is a `STRING` field, Tag 825.
11163pub struct ExchangeRuleField(pub FIXString);
11164
11165impl ExchangeRuleField {
11166
11167    pub fn new(val: String) -> Self { Self(val) }
11168    pub fn value(&self) -> &str { &self.0 }
11169
11170    pub fn tag() -> Tag { tag::EXCHANGE_RULE }
11171}
11172
11173impl FieldValueReader for ExchangeRuleField {
11174    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11175        self.0.read(raw)
11176    }
11177}
11178
11179impl FieldValueWriter for ExchangeRuleField {
11180    fn write_to(&self, buf: &mut Vec<u8>) {
11181        self.0.write_to(buf);
11182    }
11183}
11184
11185impl FieldValue for ExchangeRuleField {}
11186
11187
11188/// `ExchangeSpecialInstructionsField` is a `STRING` field, Tag 1139.
11189pub struct ExchangeSpecialInstructionsField(pub FIXString);
11190
11191impl ExchangeSpecialInstructionsField {
11192
11193    pub fn new(val: String) -> Self { Self(val) }
11194    pub fn value(&self) -> &str { &self.0 }
11195
11196    pub fn tag() -> Tag { tag::EXCHANGE_SPECIAL_INSTRUCTIONS }
11197}
11198
11199impl FieldValueReader for ExchangeSpecialInstructionsField {
11200    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11201        self.0.read(raw)
11202    }
11203}
11204
11205impl FieldValueWriter for ExchangeSpecialInstructionsField {
11206    fn write_to(&self, buf: &mut Vec<u8>) {
11207        self.0.write_to(buf);
11208    }
11209}
11210
11211impl FieldValue for ExchangeSpecialInstructionsField {}
11212
11213
11214/// `ExecAckStatusField` is a `CHAR` field, Tag 1036.
11215pub struct ExecAckStatusField(pub FIXString);
11216
11217impl ExecAckStatusField {
11218
11219    pub fn new(val: String) -> Self { Self(val) }
11220    pub fn value(&self) -> &str { &self.0 }
11221
11222    pub fn tag() -> Tag { tag::EXEC_ACK_STATUS }
11223}
11224
11225impl FieldValueReader for ExecAckStatusField {
11226    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11227        self.0.read(raw)
11228    }
11229}
11230
11231impl FieldValueWriter for ExecAckStatusField {
11232    fn write_to(&self, buf: &mut Vec<u8>) {
11233        self.0.write_to(buf);
11234    }
11235}
11236
11237impl FieldValue for ExecAckStatusField {}
11238
11239
11240/// `ExecBrokerField` is a `STRING` field, Tag 76.
11241pub struct ExecBrokerField(pub FIXString);
11242
11243impl ExecBrokerField {
11244
11245    pub fn new(val: String) -> Self { Self(val) }
11246    pub fn value(&self) -> &str { &self.0 }
11247
11248    pub fn tag() -> Tag { tag::EXEC_BROKER }
11249}
11250
11251impl FieldValueReader for ExecBrokerField {
11252    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11253        self.0.read(raw)
11254    }
11255}
11256
11257impl FieldValueWriter for ExecBrokerField {
11258    fn write_to(&self, buf: &mut Vec<u8>) {
11259        self.0.write_to(buf);
11260    }
11261}
11262
11263impl FieldValue for ExecBrokerField {}
11264
11265
11266/// `ExecIDField` is a `STRING` field, Tag 17.
11267pub struct ExecIDField(pub FIXString);
11268
11269impl ExecIDField {
11270
11271    pub fn new(val: String) -> Self { Self(val) }
11272    pub fn value(&self) -> &str { &self.0 }
11273
11274    pub fn tag() -> Tag { tag::EXEC_ID }
11275}
11276
11277impl FieldValueReader for ExecIDField {
11278    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11279        self.0.read(raw)
11280    }
11281}
11282
11283impl FieldValueWriter for ExecIDField {
11284    fn write_to(&self, buf: &mut Vec<u8>) {
11285        self.0.write_to(buf);
11286    }
11287}
11288
11289impl FieldValue for ExecIDField {}
11290
11291
11292/// `ExecInstField` is a `MULTIPLECHARVALUE` field, Tag 18.
11293pub struct ExecInstField(pub FIXString);
11294
11295impl ExecInstField {
11296
11297    pub fn new(val: String) -> Self { Self(val) }
11298    pub fn value(&self) -> &str { &self.0 }
11299
11300    pub fn tag() -> Tag { tag::EXEC_INST }
11301}
11302
11303impl FieldValueReader for ExecInstField {
11304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11305        self.0.read(raw)
11306    }
11307}
11308
11309impl FieldValueWriter for ExecInstField {
11310    fn write_to(&self, buf: &mut Vec<u8>) {
11311        self.0.write_to(buf);
11312    }
11313}
11314
11315impl FieldValue for ExecInstField {}
11316
11317
11318/// `ExecInstValueField` is a `CHAR` field, Tag 1308.
11319pub struct ExecInstValueField(pub FIXString);
11320
11321impl ExecInstValueField {
11322
11323    pub fn new(val: String) -> Self { Self(val) }
11324    pub fn value(&self) -> &str { &self.0 }
11325
11326    pub fn tag() -> Tag { tag::EXEC_INST_VALUE }
11327}
11328
11329impl FieldValueReader for ExecInstValueField {
11330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11331        self.0.read(raw)
11332    }
11333}
11334
11335impl FieldValueWriter for ExecInstValueField {
11336    fn write_to(&self, buf: &mut Vec<u8>) {
11337        self.0.write_to(buf);
11338    }
11339}
11340
11341impl FieldValue for ExecInstValueField {}
11342
11343
11344/// `ExecPriceAdjustmentField` is a `FLOAT` field, Tag 485.
11345pub struct ExecPriceAdjustmentField(pub FIXDecimal);
11346
11347impl ExecPriceAdjustmentField {
11348
11349    pub fn new(val: Decimal, scale: i32) -> Self {
11350        Self(FIXDecimal { decimal: val, scale })
11351    }
11352    pub fn value(&self) -> Decimal { self.0.decimal }
11353
11354    pub fn tag() -> Tag { tag::EXEC_PRICE_ADJUSTMENT }
11355}
11356
11357impl FieldValueReader for ExecPriceAdjustmentField {
11358    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11359        self.0.read(raw)
11360    }
11361}
11362
11363impl FieldValueWriter for ExecPriceAdjustmentField {
11364    fn write_to(&self, buf: &mut Vec<u8>) {
11365        self.0.write_to(buf);
11366    }
11367}
11368
11369impl FieldValue for ExecPriceAdjustmentField {}
11370
11371
11372/// `ExecPriceTypeField` is a `CHAR` field, Tag 484.
11373pub struct ExecPriceTypeField(pub FIXString);
11374
11375impl ExecPriceTypeField {
11376
11377    pub fn new(val: String) -> Self { Self(val) }
11378    pub fn value(&self) -> &str { &self.0 }
11379
11380    pub fn tag() -> Tag { tag::EXEC_PRICE_TYPE }
11381}
11382
11383impl FieldValueReader for ExecPriceTypeField {
11384    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11385        self.0.read(raw)
11386    }
11387}
11388
11389impl FieldValueWriter for ExecPriceTypeField {
11390    fn write_to(&self, buf: &mut Vec<u8>) {
11391        self.0.write_to(buf);
11392    }
11393}
11394
11395impl FieldValue for ExecPriceTypeField {}
11396
11397
11398/// `ExecRefIDField` is a `STRING` field, Tag 19.
11399pub struct ExecRefIDField(pub FIXString);
11400
11401impl ExecRefIDField {
11402
11403    pub fn new(val: String) -> Self { Self(val) }
11404    pub fn value(&self) -> &str { &self.0 }
11405
11406    pub fn tag() -> Tag { tag::EXEC_REF_ID }
11407}
11408
11409impl FieldValueReader for ExecRefIDField {
11410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11411        self.0.read(raw)
11412    }
11413}
11414
11415impl FieldValueWriter for ExecRefIDField {
11416    fn write_to(&self, buf: &mut Vec<u8>) {
11417        self.0.write_to(buf);
11418    }
11419}
11420
11421impl FieldValue for ExecRefIDField {}
11422
11423
11424/// `ExecRestatementReasonField` is a `INT` field, Tag 378.
11425pub struct ExecRestatementReasonField(pub FIXInt);
11426
11427impl ExecRestatementReasonField {
11428
11429    pub fn new(val: isize) -> Self { Self(val) }
11430    pub fn value(&self) -> isize { self.0 }
11431
11432    pub fn tag() -> Tag { tag::EXEC_RESTATEMENT_REASON }
11433}
11434
11435impl FieldValueReader for ExecRestatementReasonField {
11436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11437        self.0.read(raw)
11438    }
11439}
11440
11441impl FieldValueWriter for ExecRestatementReasonField {
11442    fn write_to(&self, buf: &mut Vec<u8>) {
11443        self.0.write_to(buf);
11444    }
11445}
11446
11447impl FieldValue for ExecRestatementReasonField {}
11448
11449
11450/// `ExecTransTypeField` is a `CHAR` field, Tag 20.
11451pub struct ExecTransTypeField(pub FIXString);
11452
11453impl ExecTransTypeField {
11454
11455    pub fn new(val: String) -> Self { Self(val) }
11456    pub fn value(&self) -> &str { &self.0 }
11457
11458    pub fn tag() -> Tag { tag::EXEC_TRANS_TYPE }
11459}
11460
11461impl FieldValueReader for ExecTransTypeField {
11462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11463        self.0.read(raw)
11464    }
11465}
11466
11467impl FieldValueWriter for ExecTransTypeField {
11468    fn write_to(&self, buf: &mut Vec<u8>) {
11469        self.0.write_to(buf);
11470    }
11471}
11472
11473impl FieldValue for ExecTransTypeField {}
11474
11475
11476/// `ExecTypeField` is a `CHAR` field, Tag 150.
11477pub struct ExecTypeField(pub FIXString);
11478
11479impl ExecTypeField {
11480
11481    pub fn new(val: String) -> Self { Self(val) }
11482    pub fn value(&self) -> &str { &self.0 }
11483
11484    pub fn tag() -> Tag { tag::EXEC_TYPE }
11485}
11486
11487impl FieldValueReader for ExecTypeField {
11488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11489        self.0.read(raw)
11490    }
11491}
11492
11493impl FieldValueWriter for ExecTypeField {
11494    fn write_to(&self, buf: &mut Vec<u8>) {
11495        self.0.write_to(buf);
11496    }
11497}
11498
11499impl FieldValue for ExecTypeField {}
11500
11501
11502/// `ExecValuationPointField` is a `UTCTIMESTAMP` field, Tag 515.
11503pub struct ExecValuationPointField(pub FIXUTCTimestamp);
11504
11505impl ExecValuationPointField {
11506
11507    pub fn new(val: Timestamp) -> Self {
11508        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
11509    }
11510    pub fn value(&self) -> Timestamp { self.0.time }
11511
11512    pub fn tag() -> Tag { tag::EXEC_VALUATION_POINT }
11513}
11514
11515impl FieldValueReader for ExecValuationPointField {
11516    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11517        self.0.read(raw)
11518    }
11519}
11520
11521impl FieldValueWriter for ExecValuationPointField {
11522    fn write_to(&self, buf: &mut Vec<u8>) {
11523        self.0.write_to(buf);
11524    }
11525}
11526
11527impl FieldValue for ExecValuationPointField {}
11528
11529
11530/// `ExerciseMethodField` is a `CHAR` field, Tag 747.
11531pub struct ExerciseMethodField(pub FIXString);
11532
11533impl ExerciseMethodField {
11534
11535    pub fn new(val: String) -> Self { Self(val) }
11536    pub fn value(&self) -> &str { &self.0 }
11537
11538    pub fn tag() -> Tag { tag::EXERCISE_METHOD }
11539}
11540
11541impl FieldValueReader for ExerciseMethodField {
11542    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11543        self.0.read(raw)
11544    }
11545}
11546
11547impl FieldValueWriter for ExerciseMethodField {
11548    fn write_to(&self, buf: &mut Vec<u8>) {
11549        self.0.write_to(buf);
11550    }
11551}
11552
11553impl FieldValue for ExerciseMethodField {}
11554
11555
11556/// `ExerciseStyleField` is a `INT` field, Tag 1194.
11557pub struct ExerciseStyleField(pub FIXInt);
11558
11559impl ExerciseStyleField {
11560
11561    pub fn new(val: isize) -> Self { Self(val) }
11562    pub fn value(&self) -> isize { self.0 }
11563
11564    pub fn tag() -> Tag { tag::EXERCISE_STYLE }
11565}
11566
11567impl FieldValueReader for ExerciseStyleField {
11568    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11569        self.0.read(raw)
11570    }
11571}
11572
11573impl FieldValueWriter for ExerciseStyleField {
11574    fn write_to(&self, buf: &mut Vec<u8>) {
11575        self.0.write_to(buf);
11576    }
11577}
11578
11579impl FieldValue for ExerciseStyleField {}
11580
11581
11582/// `ExpQtyField` is a `QTY` field, Tag 983.
11583pub struct ExpQtyField(pub FIXDecimal);
11584
11585impl ExpQtyField {
11586
11587    pub fn new(val: Decimal, scale: i32) -> Self {
11588        Self(FIXDecimal { decimal: val, scale })
11589    }
11590    pub fn value(&self) -> Decimal { self.0.decimal }
11591
11592    pub fn tag() -> Tag { tag::EXP_QTY }
11593}
11594
11595impl FieldValueReader for ExpQtyField {
11596    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11597        self.0.read(raw)
11598    }
11599}
11600
11601impl FieldValueWriter for ExpQtyField {
11602    fn write_to(&self, buf: &mut Vec<u8>) {
11603        self.0.write_to(buf);
11604    }
11605}
11606
11607impl FieldValue for ExpQtyField {}
11608
11609
11610/// `ExpTypeField` is a `INT` field, Tag 982.
11611pub struct ExpTypeField(pub FIXInt);
11612
11613impl ExpTypeField {
11614
11615    pub fn new(val: isize) -> Self { Self(val) }
11616    pub fn value(&self) -> isize { self.0 }
11617
11618    pub fn tag() -> Tag { tag::EXP_TYPE }
11619}
11620
11621impl FieldValueReader for ExpTypeField {
11622    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11623        self.0.read(raw)
11624    }
11625}
11626
11627impl FieldValueWriter for ExpTypeField {
11628    fn write_to(&self, buf: &mut Vec<u8>) {
11629        self.0.write_to(buf);
11630    }
11631}
11632
11633impl FieldValue for ExpTypeField {}
11634
11635
11636/// `ExpirationCycleField` is a `INT` field, Tag 827.
11637pub struct ExpirationCycleField(pub FIXInt);
11638
11639impl ExpirationCycleField {
11640
11641    pub fn new(val: isize) -> Self { Self(val) }
11642    pub fn value(&self) -> isize { self.0 }
11643
11644    pub fn tag() -> Tag { tag::EXPIRATION_CYCLE }
11645}
11646
11647impl FieldValueReader for ExpirationCycleField {
11648    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11649        self.0.read(raw)
11650    }
11651}
11652
11653impl FieldValueWriter for ExpirationCycleField {
11654    fn write_to(&self, buf: &mut Vec<u8>) {
11655        self.0.write_to(buf);
11656    }
11657}
11658
11659impl FieldValue for ExpirationCycleField {}
11660
11661
11662/// `ExpirationQtyTypeField` is a `INT` field, Tag 982.
11663pub struct ExpirationQtyTypeField(pub FIXInt);
11664
11665impl ExpirationQtyTypeField {
11666
11667    pub fn new(val: isize) -> Self { Self(val) }
11668    pub fn value(&self) -> isize { self.0 }
11669
11670    pub fn tag() -> Tag { tag::EXPIRATION_QTY_TYPE }
11671}
11672
11673impl FieldValueReader for ExpirationQtyTypeField {
11674    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11675        self.0.read(raw)
11676    }
11677}
11678
11679impl FieldValueWriter for ExpirationQtyTypeField {
11680    fn write_to(&self, buf: &mut Vec<u8>) {
11681        self.0.write_to(buf);
11682    }
11683}
11684
11685impl FieldValue for ExpirationQtyTypeField {}
11686
11687
11688/// `ExpireDateField` is a `LOCALMKTDATE` field, Tag 432.
11689pub struct ExpireDateField(pub FIXString);
11690
11691impl ExpireDateField {
11692
11693    pub fn new(val: String) -> Self { Self(val) }
11694    pub fn value(&self) -> &str { &self.0 }
11695
11696    pub fn tag() -> Tag { tag::EXPIRE_DATE }
11697}
11698
11699impl FieldValueReader for ExpireDateField {
11700    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11701        self.0.read(raw)
11702    }
11703}
11704
11705impl FieldValueWriter for ExpireDateField {
11706    fn write_to(&self, buf: &mut Vec<u8>) {
11707        self.0.write_to(buf);
11708    }
11709}
11710
11711impl FieldValue for ExpireDateField {}
11712
11713
11714/// `ExpireTimeField` is a `UTCTIMESTAMP` field, Tag 126.
11715pub struct ExpireTimeField(pub FIXUTCTimestamp);
11716
11717impl ExpireTimeField {
11718
11719    pub fn new(val: Timestamp) -> Self {
11720        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
11721    }
11722    pub fn value(&self) -> Timestamp { self.0.time }
11723
11724    pub fn tag() -> Tag { tag::EXPIRE_TIME }
11725}
11726
11727impl FieldValueReader for ExpireTimeField {
11728    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11729        self.0.read(raw)
11730    }
11731}
11732
11733impl FieldValueWriter for ExpireTimeField {
11734    fn write_to(&self, buf: &mut Vec<u8>) {
11735        self.0.write_to(buf);
11736    }
11737}
11738
11739impl FieldValue for ExpireTimeField {}
11740
11741
11742/// `FactorField` is a `FLOAT` field, Tag 228.
11743pub struct FactorField(pub FIXDecimal);
11744
11745impl FactorField {
11746
11747    pub fn new(val: Decimal, scale: i32) -> Self {
11748        Self(FIXDecimal { decimal: val, scale })
11749    }
11750    pub fn value(&self) -> Decimal { self.0.decimal }
11751
11752    pub fn tag() -> Tag { tag::FACTOR }
11753}
11754
11755impl FieldValueReader for FactorField {
11756    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11757        self.0.read(raw)
11758    }
11759}
11760
11761impl FieldValueWriter for FactorField {
11762    fn write_to(&self, buf: &mut Vec<u8>) {
11763        self.0.write_to(buf);
11764    }
11765}
11766
11767impl FieldValue for FactorField {}
11768
11769
11770/// `FairValueField` is a `AMT` field, Tag 406.
11771pub struct FairValueField(pub FIXDecimal);
11772
11773impl FairValueField {
11774
11775    pub fn new(val: Decimal, scale: i32) -> Self {
11776        Self(FIXDecimal { decimal: val, scale })
11777    }
11778    pub fn value(&self) -> Decimal { self.0.decimal }
11779
11780    pub fn tag() -> Tag { tag::FAIR_VALUE }
11781}
11782
11783impl FieldValueReader for FairValueField {
11784    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11785        self.0.read(raw)
11786    }
11787}
11788
11789impl FieldValueWriter for FairValueField {
11790    fn write_to(&self, buf: &mut Vec<u8>) {
11791        self.0.write_to(buf);
11792    }
11793}
11794
11795impl FieldValue for FairValueField {}
11796
11797
11798/// `FeeMultiplierField` is a `FLOAT` field, Tag 1329.
11799pub struct FeeMultiplierField(pub FIXDecimal);
11800
11801impl FeeMultiplierField {
11802
11803    pub fn new(val: Decimal, scale: i32) -> Self {
11804        Self(FIXDecimal { decimal: val, scale })
11805    }
11806    pub fn value(&self) -> Decimal { self.0.decimal }
11807
11808    pub fn tag() -> Tag { tag::FEE_MULTIPLIER }
11809}
11810
11811impl FieldValueReader for FeeMultiplierField {
11812    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11813        self.0.read(raw)
11814    }
11815}
11816
11817impl FieldValueWriter for FeeMultiplierField {
11818    fn write_to(&self, buf: &mut Vec<u8>) {
11819        self.0.write_to(buf);
11820    }
11821}
11822
11823impl FieldValue for FeeMultiplierField {}
11824
11825
11826/// `FillExecIDField` is a `STRING` field, Tag 1363.
11827pub struct FillExecIDField(pub FIXString);
11828
11829impl FillExecIDField {
11830
11831    pub fn new(val: String) -> Self { Self(val) }
11832    pub fn value(&self) -> &str { &self.0 }
11833
11834    pub fn tag() -> Tag { tag::FILL_EXEC_ID }
11835}
11836
11837impl FieldValueReader for FillExecIDField {
11838    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11839        self.0.read(raw)
11840    }
11841}
11842
11843impl FieldValueWriter for FillExecIDField {
11844    fn write_to(&self, buf: &mut Vec<u8>) {
11845        self.0.write_to(buf);
11846    }
11847}
11848
11849impl FieldValue for FillExecIDField {}
11850
11851
11852/// `FillLiquidityIndField` is a `INT` field, Tag 1443.
11853pub struct FillLiquidityIndField(pub FIXInt);
11854
11855impl FillLiquidityIndField {
11856
11857    pub fn new(val: isize) -> Self { Self(val) }
11858    pub fn value(&self) -> isize { self.0 }
11859
11860    pub fn tag() -> Tag { tag::FILL_LIQUIDITY_IND }
11861}
11862
11863impl FieldValueReader for FillLiquidityIndField {
11864    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11865        self.0.read(raw)
11866    }
11867}
11868
11869impl FieldValueWriter for FillLiquidityIndField {
11870    fn write_to(&self, buf: &mut Vec<u8>) {
11871        self.0.write_to(buf);
11872    }
11873}
11874
11875impl FieldValue for FillLiquidityIndField {}
11876
11877
11878/// `FillPxField` is a `PRICE` field, Tag 1364.
11879pub struct FillPxField(pub FIXDecimal);
11880
11881impl FillPxField {
11882
11883    pub fn new(val: Decimal, scale: i32) -> Self {
11884        Self(FIXDecimal { decimal: val, scale })
11885    }
11886    pub fn value(&self) -> Decimal { self.0.decimal }
11887
11888    pub fn tag() -> Tag { tag::FILL_PX }
11889}
11890
11891impl FieldValueReader for FillPxField {
11892    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11893        self.0.read(raw)
11894    }
11895}
11896
11897impl FieldValueWriter for FillPxField {
11898    fn write_to(&self, buf: &mut Vec<u8>) {
11899        self.0.write_to(buf);
11900    }
11901}
11902
11903impl FieldValue for FillPxField {}
11904
11905
11906/// `FillQtyField` is a `QTY` field, Tag 1365.
11907pub struct FillQtyField(pub FIXDecimal);
11908
11909impl FillQtyField {
11910
11911    pub fn new(val: Decimal, scale: i32) -> Self {
11912        Self(FIXDecimal { decimal: val, scale })
11913    }
11914    pub fn value(&self) -> Decimal { self.0.decimal }
11915
11916    pub fn tag() -> Tag { tag::FILL_QTY }
11917}
11918
11919impl FieldValueReader for FillQtyField {
11920    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11921        self.0.read(raw)
11922    }
11923}
11924
11925impl FieldValueWriter for FillQtyField {
11926    fn write_to(&self, buf: &mut Vec<u8>) {
11927        self.0.write_to(buf);
11928    }
11929}
11930
11931impl FieldValue for FillQtyField {}
11932
11933
11934/// `FinancialStatusField` is a `MULTIPLECHARVALUE` field, Tag 291.
11935pub struct FinancialStatusField(pub FIXString);
11936
11937impl FinancialStatusField {
11938
11939    pub fn new(val: String) -> Self { Self(val) }
11940    pub fn value(&self) -> &str { &self.0 }
11941
11942    pub fn tag() -> Tag { tag::FINANCIAL_STATUS }
11943}
11944
11945impl FieldValueReader for FinancialStatusField {
11946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11947        self.0.read(raw)
11948    }
11949}
11950
11951impl FieldValueWriter for FinancialStatusField {
11952    fn write_to(&self, buf: &mut Vec<u8>) {
11953        self.0.write_to(buf);
11954    }
11955}
11956
11957impl FieldValue for FinancialStatusField {}
11958
11959
11960/// `FirmTradeIDField` is a `STRING` field, Tag 1041.
11961pub struct FirmTradeIDField(pub FIXString);
11962
11963impl FirmTradeIDField {
11964
11965    pub fn new(val: String) -> Self { Self(val) }
11966    pub fn value(&self) -> &str { &self.0 }
11967
11968    pub fn tag() -> Tag { tag::FIRM_TRADE_ID }
11969}
11970
11971impl FieldValueReader for FirmTradeIDField {
11972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
11973        self.0.read(raw)
11974    }
11975}
11976
11977impl FieldValueWriter for FirmTradeIDField {
11978    fn write_to(&self, buf: &mut Vec<u8>) {
11979        self.0.write_to(buf);
11980    }
11981}
11982
11983impl FieldValue for FirmTradeIDField {}
11984
11985
11986/// `FirstPxField` is a `PRICE` field, Tag 1025.
11987pub struct FirstPxField(pub FIXDecimal);
11988
11989impl FirstPxField {
11990
11991    pub fn new(val: Decimal, scale: i32) -> Self {
11992        Self(FIXDecimal { decimal: val, scale })
11993    }
11994    pub fn value(&self) -> Decimal { self.0.decimal }
11995
11996    pub fn tag() -> Tag { tag::FIRST_PX }
11997}
11998
11999impl FieldValueReader for FirstPxField {
12000    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12001        self.0.read(raw)
12002    }
12003}
12004
12005impl FieldValueWriter for FirstPxField {
12006    fn write_to(&self, buf: &mut Vec<u8>) {
12007        self.0.write_to(buf);
12008    }
12009}
12010
12011impl FieldValue for FirstPxField {}
12012
12013
12014/// `FlexProductEligibilityIndicatorField` is a `BOOLEAN` field, Tag 1242.
12015pub struct FlexProductEligibilityIndicatorField(pub FIXBoolean);
12016
12017impl FlexProductEligibilityIndicatorField {
12018
12019    pub fn new(val: bool) -> Self { Self(val) }
12020    pub fn value(&self) -> bool { self.0 }
12021
12022    pub fn tag() -> Tag { tag::FLEX_PRODUCT_ELIGIBILITY_INDICATOR }
12023}
12024
12025impl FieldValueReader for FlexProductEligibilityIndicatorField {
12026    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12027        self.0.read(raw)
12028    }
12029}
12030
12031impl FieldValueWriter for FlexProductEligibilityIndicatorField {
12032    fn write_to(&self, buf: &mut Vec<u8>) {
12033        self.0.write_to(buf);
12034    }
12035}
12036
12037impl FieldValue for FlexProductEligibilityIndicatorField {}
12038
12039
12040/// `FlexibleIndicatorField` is a `BOOLEAN` field, Tag 1244.
12041pub struct FlexibleIndicatorField(pub FIXBoolean);
12042
12043impl FlexibleIndicatorField {
12044
12045    pub fn new(val: bool) -> Self { Self(val) }
12046    pub fn value(&self) -> bool { self.0 }
12047
12048    pub fn tag() -> Tag { tag::FLEXIBLE_INDICATOR }
12049}
12050
12051impl FieldValueReader for FlexibleIndicatorField {
12052    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12053        self.0.read(raw)
12054    }
12055}
12056
12057impl FieldValueWriter for FlexibleIndicatorField {
12058    fn write_to(&self, buf: &mut Vec<u8>) {
12059        self.0.write_to(buf);
12060    }
12061}
12062
12063impl FieldValue for FlexibleIndicatorField {}
12064
12065
12066/// `FloorPriceField` is a `PRICE` field, Tag 1200.
12067pub struct FloorPriceField(pub FIXDecimal);
12068
12069impl FloorPriceField {
12070
12071    pub fn new(val: Decimal, scale: i32) -> Self {
12072        Self(FIXDecimal { decimal: val, scale })
12073    }
12074    pub fn value(&self) -> Decimal { self.0.decimal }
12075
12076    pub fn tag() -> Tag { tag::FLOOR_PRICE }
12077}
12078
12079impl FieldValueReader for FloorPriceField {
12080    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12081        self.0.read(raw)
12082    }
12083}
12084
12085impl FieldValueWriter for FloorPriceField {
12086    fn write_to(&self, buf: &mut Vec<u8>) {
12087        self.0.write_to(buf);
12088    }
12089}
12090
12091impl FieldValue for FloorPriceField {}
12092
12093
12094/// `FlowScheduleTypeField` is a `INT` field, Tag 1439.
12095pub struct FlowScheduleTypeField(pub FIXInt);
12096
12097impl FlowScheduleTypeField {
12098
12099    pub fn new(val: isize) -> Self { Self(val) }
12100    pub fn value(&self) -> isize { self.0 }
12101
12102    pub fn tag() -> Tag { tag::FLOW_SCHEDULE_TYPE }
12103}
12104
12105impl FieldValueReader for FlowScheduleTypeField {
12106    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12107        self.0.read(raw)
12108    }
12109}
12110
12111impl FieldValueWriter for FlowScheduleTypeField {
12112    fn write_to(&self, buf: &mut Vec<u8>) {
12113        self.0.write_to(buf);
12114    }
12115}
12116
12117impl FieldValue for FlowScheduleTypeField {}
12118
12119
12120/// `ForexReqField` is a `BOOLEAN` field, Tag 121.
12121pub struct ForexReqField(pub FIXBoolean);
12122
12123impl ForexReqField {
12124
12125    pub fn new(val: bool) -> Self { Self(val) }
12126    pub fn value(&self) -> bool { self.0 }
12127
12128    pub fn tag() -> Tag { tag::FOREX_REQ }
12129}
12130
12131impl FieldValueReader for ForexReqField {
12132    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12133        self.0.read(raw)
12134    }
12135}
12136
12137impl FieldValueWriter for ForexReqField {
12138    fn write_to(&self, buf: &mut Vec<u8>) {
12139        self.0.write_to(buf);
12140    }
12141}
12142
12143impl FieldValue for ForexReqField {}
12144
12145
12146/// `FundRenewWaivField` is a `CHAR` field, Tag 497.
12147pub struct FundRenewWaivField(pub FIXString);
12148
12149impl FundRenewWaivField {
12150
12151    pub fn new(val: String) -> Self { Self(val) }
12152    pub fn value(&self) -> &str { &self.0 }
12153
12154    pub fn tag() -> Tag { tag::FUND_RENEW_WAIV }
12155}
12156
12157impl FieldValueReader for FundRenewWaivField {
12158    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12159        self.0.read(raw)
12160    }
12161}
12162
12163impl FieldValueWriter for FundRenewWaivField {
12164    fn write_to(&self, buf: &mut Vec<u8>) {
12165        self.0.write_to(buf);
12166    }
12167}
12168
12169impl FieldValue for FundRenewWaivField {}
12170
12171
12172/// `FutSettDateField` is a `LOCALMKTDATE` field, Tag 64.
12173pub struct FutSettDateField(pub FIXString);
12174
12175impl FutSettDateField {
12176
12177    pub fn new(val: String) -> Self { Self(val) }
12178    pub fn value(&self) -> &str { &self.0 }
12179
12180    pub fn tag() -> Tag { tag::FUT_SETT_DATE }
12181}
12182
12183impl FieldValueReader for FutSettDateField {
12184    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12185        self.0.read(raw)
12186    }
12187}
12188
12189impl FieldValueWriter for FutSettDateField {
12190    fn write_to(&self, buf: &mut Vec<u8>) {
12191        self.0.write_to(buf);
12192    }
12193}
12194
12195impl FieldValue for FutSettDateField {}
12196
12197
12198/// `FutSettDate2Field` is a `LOCALMKTDATE` field, Tag 193.
12199pub struct FutSettDate2Field(pub FIXString);
12200
12201impl FutSettDate2Field {
12202
12203    pub fn new(val: String) -> Self { Self(val) }
12204    pub fn value(&self) -> &str { &self.0 }
12205
12206    pub fn tag() -> Tag { tag::FUT_SETT_DATE2 }
12207}
12208
12209impl FieldValueReader for FutSettDate2Field {
12210    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12211        self.0.read(raw)
12212    }
12213}
12214
12215impl FieldValueWriter for FutSettDate2Field {
12216    fn write_to(&self, buf: &mut Vec<u8>) {
12217        self.0.write_to(buf);
12218    }
12219}
12220
12221impl FieldValue for FutSettDate2Field {}
12222
12223
12224/// `FuturesValuationMethodField` is a `STRING` field, Tag 1197.
12225pub struct FuturesValuationMethodField(pub FIXString);
12226
12227impl FuturesValuationMethodField {
12228
12229    pub fn new(val: String) -> Self { Self(val) }
12230    pub fn value(&self) -> &str { &self.0 }
12231
12232    pub fn tag() -> Tag { tag::FUTURES_VALUATION_METHOD }
12233}
12234
12235impl FieldValueReader for FuturesValuationMethodField {
12236    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12237        self.0.read(raw)
12238    }
12239}
12240
12241impl FieldValueWriter for FuturesValuationMethodField {
12242    fn write_to(&self, buf: &mut Vec<u8>) {
12243        self.0.write_to(buf);
12244    }
12245}
12246
12247impl FieldValue for FuturesValuationMethodField {}
12248
12249
12250/// `GTBookingInstField` is a `INT` field, Tag 427.
12251pub struct GTBookingInstField(pub FIXInt);
12252
12253impl GTBookingInstField {
12254
12255    pub fn new(val: isize) -> Self { Self(val) }
12256    pub fn value(&self) -> isize { self.0 }
12257
12258    pub fn tag() -> Tag { tag::GT_BOOKING_INST }
12259}
12260
12261impl FieldValueReader for GTBookingInstField {
12262    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12263        self.0.read(raw)
12264    }
12265}
12266
12267impl FieldValueWriter for GTBookingInstField {
12268    fn write_to(&self, buf: &mut Vec<u8>) {
12269        self.0.write_to(buf);
12270    }
12271}
12272
12273impl FieldValue for GTBookingInstField {}
12274
12275
12276/// `GapFillFlagField` is a `BOOLEAN` field, Tag 123.
12277pub struct GapFillFlagField(pub FIXBoolean);
12278
12279impl GapFillFlagField {
12280
12281    pub fn new(val: bool) -> Self { Self(val) }
12282    pub fn value(&self) -> bool { self.0 }
12283
12284    pub fn tag() -> Tag { tag::GAP_FILL_FLAG }
12285}
12286
12287impl FieldValueReader for GapFillFlagField {
12288    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12289        self.0.read(raw)
12290    }
12291}
12292
12293impl FieldValueWriter for GapFillFlagField {
12294    fn write_to(&self, buf: &mut Vec<u8>) {
12295        self.0.write_to(buf);
12296    }
12297}
12298
12299impl FieldValue for GapFillFlagField {}
12300
12301
12302/// `GrossTradeAmtField` is a `AMT` field, Tag 381.
12303pub struct GrossTradeAmtField(pub FIXDecimal);
12304
12305impl GrossTradeAmtField {
12306
12307    pub fn new(val: Decimal, scale: i32) -> Self {
12308        Self(FIXDecimal { decimal: val, scale })
12309    }
12310    pub fn value(&self) -> Decimal { self.0.decimal }
12311
12312    pub fn tag() -> Tag { tag::GROSS_TRADE_AMT }
12313}
12314
12315impl FieldValueReader for GrossTradeAmtField {
12316    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12317        self.0.read(raw)
12318    }
12319}
12320
12321impl FieldValueWriter for GrossTradeAmtField {
12322    fn write_to(&self, buf: &mut Vec<u8>) {
12323        self.0.write_to(buf);
12324    }
12325}
12326
12327impl FieldValue for GrossTradeAmtField {}
12328
12329
12330/// `HaltReasonCharField` is a `CHAR` field, Tag 327.
12331pub struct HaltReasonCharField(pub FIXString);
12332
12333impl HaltReasonCharField {
12334
12335    pub fn new(val: String) -> Self { Self(val) }
12336    pub fn value(&self) -> &str { &self.0 }
12337
12338    pub fn tag() -> Tag { tag::HALT_REASON_CHAR }
12339}
12340
12341impl FieldValueReader for HaltReasonCharField {
12342    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12343        self.0.read(raw)
12344    }
12345}
12346
12347impl FieldValueWriter for HaltReasonCharField {
12348    fn write_to(&self, buf: &mut Vec<u8>) {
12349        self.0.write_to(buf);
12350    }
12351}
12352
12353impl FieldValue for HaltReasonCharField {}
12354
12355
12356/// `HaltReasonIntField` is a `INT` field, Tag 327.
12357pub struct HaltReasonIntField(pub FIXInt);
12358
12359impl HaltReasonIntField {
12360
12361    pub fn new(val: isize) -> Self { Self(val) }
12362    pub fn value(&self) -> isize { self.0 }
12363
12364    pub fn tag() -> Tag { tag::HALT_REASON_INT }
12365}
12366
12367impl FieldValueReader for HaltReasonIntField {
12368    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12369        self.0.read(raw)
12370    }
12371}
12372
12373impl FieldValueWriter for HaltReasonIntField {
12374    fn write_to(&self, buf: &mut Vec<u8>) {
12375        self.0.write_to(buf);
12376    }
12377}
12378
12379impl FieldValue for HaltReasonIntField {}
12380
12381
12382/// `HandlInstField` is a `CHAR` field, Tag 21.
12383pub struct HandlInstField(pub FIXString);
12384
12385impl HandlInstField {
12386
12387    pub fn new(val: String) -> Self { Self(val) }
12388    pub fn value(&self) -> &str { &self.0 }
12389
12390    pub fn tag() -> Tag { tag::HANDL_INST }
12391}
12392
12393impl FieldValueReader for HandlInstField {
12394    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12395        self.0.read(raw)
12396    }
12397}
12398
12399impl FieldValueWriter for HandlInstField {
12400    fn write_to(&self, buf: &mut Vec<u8>) {
12401        self.0.write_to(buf);
12402    }
12403}
12404
12405impl FieldValue for HandlInstField {}
12406
12407
12408/// `HeadlineField` is a `STRING` field, Tag 148.
12409pub struct HeadlineField(pub FIXString);
12410
12411impl HeadlineField {
12412
12413    pub fn new(val: String) -> Self { Self(val) }
12414    pub fn value(&self) -> &str { &self.0 }
12415
12416    pub fn tag() -> Tag { tag::HEADLINE }
12417}
12418
12419impl FieldValueReader for HeadlineField {
12420    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12421        self.0.read(raw)
12422    }
12423}
12424
12425impl FieldValueWriter for HeadlineField {
12426    fn write_to(&self, buf: &mut Vec<u8>) {
12427        self.0.write_to(buf);
12428    }
12429}
12430
12431impl FieldValue for HeadlineField {}
12432
12433
12434/// `HeartBtIntField` is a `INT` field, Tag 108.
12435pub struct HeartBtIntField(pub FIXInt);
12436
12437impl HeartBtIntField {
12438
12439    pub fn new(val: isize) -> Self { Self(val) }
12440    pub fn value(&self) -> isize { self.0 }
12441
12442    pub fn tag() -> Tag { tag::HEART_BT_INT }
12443}
12444
12445impl FieldValueReader for HeartBtIntField {
12446    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12447        self.0.read(raw)
12448    }
12449}
12450
12451impl FieldValueWriter for HeartBtIntField {
12452    fn write_to(&self, buf: &mut Vec<u8>) {
12453        self.0.write_to(buf);
12454    }
12455}
12456
12457impl FieldValue for HeartBtIntField {}
12458
12459
12460/// `HighLimitPriceField` is a `PRICE` field, Tag 1149.
12461pub struct HighLimitPriceField(pub FIXDecimal);
12462
12463impl HighLimitPriceField {
12464
12465    pub fn new(val: Decimal, scale: i32) -> Self {
12466        Self(FIXDecimal { decimal: val, scale })
12467    }
12468    pub fn value(&self) -> Decimal { self.0.decimal }
12469
12470    pub fn tag() -> Tag { tag::HIGH_LIMIT_PRICE }
12471}
12472
12473impl FieldValueReader for HighLimitPriceField {
12474    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12475        self.0.read(raw)
12476    }
12477}
12478
12479impl FieldValueWriter for HighLimitPriceField {
12480    fn write_to(&self, buf: &mut Vec<u8>) {
12481        self.0.write_to(buf);
12482    }
12483}
12484
12485impl FieldValue for HighLimitPriceField {}
12486
12487
12488/// `HighPxField` is a `PRICE` field, Tag 332.
12489pub struct HighPxField(pub FIXDecimal);
12490
12491impl HighPxField {
12492
12493    pub fn new(val: Decimal, scale: i32) -> Self {
12494        Self(FIXDecimal { decimal: val, scale })
12495    }
12496    pub fn value(&self) -> Decimal { self.0.decimal }
12497
12498    pub fn tag() -> Tag { tag::HIGH_PX }
12499}
12500
12501impl FieldValueReader for HighPxField {
12502    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12503        self.0.read(raw)
12504    }
12505}
12506
12507impl FieldValueWriter for HighPxField {
12508    fn write_to(&self, buf: &mut Vec<u8>) {
12509        self.0.write_to(buf);
12510    }
12511}
12512
12513impl FieldValue for HighPxField {}
12514
12515
12516/// `HopCompIDField` is a `STRING` field, Tag 628.
12517pub struct HopCompIDField(pub FIXString);
12518
12519impl HopCompIDField {
12520
12521    pub fn new(val: String) -> Self { Self(val) }
12522    pub fn value(&self) -> &str { &self.0 }
12523
12524    pub fn tag() -> Tag { tag::HOP_COMP_ID }
12525}
12526
12527impl FieldValueReader for HopCompIDField {
12528    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12529        self.0.read(raw)
12530    }
12531}
12532
12533impl FieldValueWriter for HopCompIDField {
12534    fn write_to(&self, buf: &mut Vec<u8>) {
12535        self.0.write_to(buf);
12536    }
12537}
12538
12539impl FieldValue for HopCompIDField {}
12540
12541
12542/// `HopRefIDField` is a `SEQNUM` field, Tag 630.
12543pub struct HopRefIDField(pub FIXInt);
12544
12545impl HopRefIDField {
12546
12547    pub fn new(val: isize) -> Self { Self(val) }
12548    pub fn value(&self) -> isize { self.0 }
12549
12550    pub fn tag() -> Tag { tag::HOP_REF_ID }
12551}
12552
12553impl FieldValueReader for HopRefIDField {
12554    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12555        self.0.read(raw)
12556    }
12557}
12558
12559impl FieldValueWriter for HopRefIDField {
12560    fn write_to(&self, buf: &mut Vec<u8>) {
12561        self.0.write_to(buf);
12562    }
12563}
12564
12565impl FieldValue for HopRefIDField {}
12566
12567
12568/// `HopSendingTimeField` is a `UTCTIMESTAMP` field, Tag 629.
12569pub struct HopSendingTimeField(pub FIXUTCTimestamp);
12570
12571impl HopSendingTimeField {
12572
12573    pub fn new(val: Timestamp) -> Self {
12574        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
12575    }
12576    pub fn value(&self) -> Timestamp { self.0.time }
12577
12578    pub fn tag() -> Tag { tag::HOP_SENDING_TIME }
12579}
12580
12581impl FieldValueReader for HopSendingTimeField {
12582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12583        self.0.read(raw)
12584    }
12585}
12586
12587impl FieldValueWriter for HopSendingTimeField {
12588    fn write_to(&self, buf: &mut Vec<u8>) {
12589        self.0.write_to(buf);
12590    }
12591}
12592
12593impl FieldValue for HopSendingTimeField {}
12594
12595
12596/// `HostCrossIDField` is a `STRING` field, Tag 961.
12597pub struct HostCrossIDField(pub FIXString);
12598
12599impl HostCrossIDField {
12600
12601    pub fn new(val: String) -> Self { Self(val) }
12602    pub fn value(&self) -> &str { &self.0 }
12603
12604    pub fn tag() -> Tag { tag::HOST_CROSS_ID }
12605}
12606
12607impl FieldValueReader for HostCrossIDField {
12608    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12609        self.0.read(raw)
12610    }
12611}
12612
12613impl FieldValueWriter for HostCrossIDField {
12614    fn write_to(&self, buf: &mut Vec<u8>) {
12615        self.0.write_to(buf);
12616    }
12617}
12618
12619impl FieldValue for HostCrossIDField {}
12620
12621
12622/// `IDSourceField` is a `STRING` field, Tag 22.
12623pub struct IDSourceField(pub FIXString);
12624
12625impl IDSourceField {
12626
12627    pub fn new(val: String) -> Self { Self(val) }
12628    pub fn value(&self) -> &str { &self.0 }
12629
12630    pub fn tag() -> Tag { tag::ID_SOURCE }
12631}
12632
12633impl FieldValueReader for IDSourceField {
12634    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12635        self.0.read(raw)
12636    }
12637}
12638
12639impl FieldValueWriter for IDSourceField {
12640    fn write_to(&self, buf: &mut Vec<u8>) {
12641        self.0.write_to(buf);
12642    }
12643}
12644
12645impl FieldValue for IDSourceField {}
12646
12647
12648/// `IOIIDField` is a `STRING` field, Tag 23.
12649pub struct IOIIDField(pub FIXString);
12650
12651impl IOIIDField {
12652
12653    pub fn new(val: String) -> Self { Self(val) }
12654    pub fn value(&self) -> &str { &self.0 }
12655
12656    pub fn tag() -> Tag { tag::IOIID }
12657}
12658
12659impl FieldValueReader for IOIIDField {
12660    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12661        self.0.read(raw)
12662    }
12663}
12664
12665impl FieldValueWriter for IOIIDField {
12666    fn write_to(&self, buf: &mut Vec<u8>) {
12667        self.0.write_to(buf);
12668    }
12669}
12670
12671impl FieldValue for IOIIDField {}
12672
12673
12674/// `IOINaturalFlagField` is a `BOOLEAN` field, Tag 130.
12675pub struct IOINaturalFlagField(pub FIXBoolean);
12676
12677impl IOINaturalFlagField {
12678
12679    pub fn new(val: bool) -> Self { Self(val) }
12680    pub fn value(&self) -> bool { self.0 }
12681
12682    pub fn tag() -> Tag { tag::IOI_NATURAL_FLAG }
12683}
12684
12685impl FieldValueReader for IOINaturalFlagField {
12686    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12687        self.0.read(raw)
12688    }
12689}
12690
12691impl FieldValueWriter for IOINaturalFlagField {
12692    fn write_to(&self, buf: &mut Vec<u8>) {
12693        self.0.write_to(buf);
12694    }
12695}
12696
12697impl FieldValue for IOINaturalFlagField {}
12698
12699
12700/// `IOIOthSvcField` is a `CHAR` field, Tag 24.
12701pub struct IOIOthSvcField(pub FIXString);
12702
12703impl IOIOthSvcField {
12704
12705    pub fn new(val: String) -> Self { Self(val) }
12706    pub fn value(&self) -> &str { &self.0 }
12707
12708    pub fn tag() -> Tag { tag::IOI_OTH_SVC }
12709}
12710
12711impl FieldValueReader for IOIOthSvcField {
12712    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12713        self.0.read(raw)
12714    }
12715}
12716
12717impl FieldValueWriter for IOIOthSvcField {
12718    fn write_to(&self, buf: &mut Vec<u8>) {
12719        self.0.write_to(buf);
12720    }
12721}
12722
12723impl FieldValue for IOIOthSvcField {}
12724
12725
12726/// `IOIQltyIndField` is a `CHAR` field, Tag 25.
12727pub struct IOIQltyIndField(pub FIXString);
12728
12729impl IOIQltyIndField {
12730
12731    pub fn new(val: String) -> Self { Self(val) }
12732    pub fn value(&self) -> &str { &self.0 }
12733
12734    pub fn tag() -> Tag { tag::IOI_QLTY_IND }
12735}
12736
12737impl FieldValueReader for IOIQltyIndField {
12738    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12739        self.0.read(raw)
12740    }
12741}
12742
12743impl FieldValueWriter for IOIQltyIndField {
12744    fn write_to(&self, buf: &mut Vec<u8>) {
12745        self.0.write_to(buf);
12746    }
12747}
12748
12749impl FieldValue for IOIQltyIndField {}
12750
12751
12752/// `IOIQtyField` is a `STRING` field, Tag 27.
12753pub struct IOIQtyField(pub FIXString);
12754
12755impl IOIQtyField {
12756
12757    pub fn new(val: String) -> Self { Self(val) }
12758    pub fn value(&self) -> &str { &self.0 }
12759
12760    pub fn tag() -> Tag { tag::IOI_QTY }
12761}
12762
12763impl FieldValueReader for IOIQtyField {
12764    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12765        self.0.read(raw)
12766    }
12767}
12768
12769impl FieldValueWriter for IOIQtyField {
12770    fn write_to(&self, buf: &mut Vec<u8>) {
12771        self.0.write_to(buf);
12772    }
12773}
12774
12775impl FieldValue for IOIQtyField {}
12776
12777
12778/// `IOIQualifierField` is a `CHAR` field, Tag 104.
12779pub struct IOIQualifierField(pub FIXString);
12780
12781impl IOIQualifierField {
12782
12783    pub fn new(val: String) -> Self { Self(val) }
12784    pub fn value(&self) -> &str { &self.0 }
12785
12786    pub fn tag() -> Tag { tag::IOI_QUALIFIER }
12787}
12788
12789impl FieldValueReader for IOIQualifierField {
12790    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12791        self.0.read(raw)
12792    }
12793}
12794
12795impl FieldValueWriter for IOIQualifierField {
12796    fn write_to(&self, buf: &mut Vec<u8>) {
12797        self.0.write_to(buf);
12798    }
12799}
12800
12801impl FieldValue for IOIQualifierField {}
12802
12803
12804/// `IOIRefIDField` is a `STRING` field, Tag 26.
12805pub struct IOIRefIDField(pub FIXString);
12806
12807impl IOIRefIDField {
12808
12809    pub fn new(val: String) -> Self { Self(val) }
12810    pub fn value(&self) -> &str { &self.0 }
12811
12812    pub fn tag() -> Tag { tag::IOI_REF_ID }
12813}
12814
12815impl FieldValueReader for IOIRefIDField {
12816    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12817        self.0.read(raw)
12818    }
12819}
12820
12821impl FieldValueWriter for IOIRefIDField {
12822    fn write_to(&self, buf: &mut Vec<u8>) {
12823        self.0.write_to(buf);
12824    }
12825}
12826
12827impl FieldValue for IOIRefIDField {}
12828
12829
12830/// `IOISharesField` is a `STRING` field, Tag 27.
12831pub struct IOISharesField(pub FIXString);
12832
12833impl IOISharesField {
12834
12835    pub fn new(val: String) -> Self { Self(val) }
12836    pub fn value(&self) -> &str { &self.0 }
12837
12838    pub fn tag() -> Tag { tag::IOI_SHARES }
12839}
12840
12841impl FieldValueReader for IOISharesField {
12842    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12843        self.0.read(raw)
12844    }
12845}
12846
12847impl FieldValueWriter for IOISharesField {
12848    fn write_to(&self, buf: &mut Vec<u8>) {
12849        self.0.write_to(buf);
12850    }
12851}
12852
12853impl FieldValue for IOISharesField {}
12854
12855
12856/// `IOITransTypeField` is a `CHAR` field, Tag 28.
12857pub struct IOITransTypeField(pub FIXString);
12858
12859impl IOITransTypeField {
12860
12861    pub fn new(val: String) -> Self { Self(val) }
12862    pub fn value(&self) -> &str { &self.0 }
12863
12864    pub fn tag() -> Tag { tag::IOI_TRANS_TYPE }
12865}
12866
12867impl FieldValueReader for IOITransTypeField {
12868    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12869        self.0.read(raw)
12870    }
12871}
12872
12873impl FieldValueWriter for IOITransTypeField {
12874    fn write_to(&self, buf: &mut Vec<u8>) {
12875        self.0.write_to(buf);
12876    }
12877}
12878
12879impl FieldValue for IOITransTypeField {}
12880
12881
12882/// `IOIidField` is a `STRING` field, Tag 23.
12883pub struct IOIidField(pub FIXString);
12884
12885impl IOIidField {
12886
12887    pub fn new(val: String) -> Self { Self(val) }
12888    pub fn value(&self) -> &str { &self.0 }
12889
12890    pub fn tag() -> Tag { tag::IO_IID }
12891}
12892
12893impl FieldValueReader for IOIidField {
12894    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12895        self.0.read(raw)
12896    }
12897}
12898
12899impl FieldValueWriter for IOIidField {
12900    fn write_to(&self, buf: &mut Vec<u8>) {
12901        self.0.write_to(buf);
12902    }
12903}
12904
12905impl FieldValue for IOIidField {}
12906
12907
12908/// `ImpliedMarketIndicatorField` is a `INT` field, Tag 1144.
12909pub struct ImpliedMarketIndicatorField(pub FIXInt);
12910
12911impl ImpliedMarketIndicatorField {
12912
12913    pub fn new(val: isize) -> Self { Self(val) }
12914    pub fn value(&self) -> isize { self.0 }
12915
12916    pub fn tag() -> Tag { tag::IMPLIED_MARKET_INDICATOR }
12917}
12918
12919impl FieldValueReader for ImpliedMarketIndicatorField {
12920    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12921        self.0.read(raw)
12922    }
12923}
12924
12925impl FieldValueWriter for ImpliedMarketIndicatorField {
12926    fn write_to(&self, buf: &mut Vec<u8>) {
12927        self.0.write_to(buf);
12928    }
12929}
12930
12931impl FieldValue for ImpliedMarketIndicatorField {}
12932
12933
12934/// `InViewOfCommonField` is a `BOOLEAN` field, Tag 328.
12935pub struct InViewOfCommonField(pub FIXBoolean);
12936
12937impl InViewOfCommonField {
12938
12939    pub fn new(val: bool) -> Self { Self(val) }
12940    pub fn value(&self) -> bool { self.0 }
12941
12942    pub fn tag() -> Tag { tag::IN_VIEW_OF_COMMON }
12943}
12944
12945impl FieldValueReader for InViewOfCommonField {
12946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12947        self.0.read(raw)
12948    }
12949}
12950
12951impl FieldValueWriter for InViewOfCommonField {
12952    fn write_to(&self, buf: &mut Vec<u8>) {
12953        self.0.write_to(buf);
12954    }
12955}
12956
12957impl FieldValue for InViewOfCommonField {}
12958
12959
12960/// `IncTaxIndField` is a `INT` field, Tag 416.
12961pub struct IncTaxIndField(pub FIXInt);
12962
12963impl IncTaxIndField {
12964
12965    pub fn new(val: isize) -> Self { Self(val) }
12966    pub fn value(&self) -> isize { self.0 }
12967
12968    pub fn tag() -> Tag { tag::INC_TAX_IND }
12969}
12970
12971impl FieldValueReader for IncTaxIndField {
12972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12973        self.0.read(raw)
12974    }
12975}
12976
12977impl FieldValueWriter for IncTaxIndField {
12978    fn write_to(&self, buf: &mut Vec<u8>) {
12979        self.0.write_to(buf);
12980    }
12981}
12982
12983impl FieldValue for IncTaxIndField {}
12984
12985
12986/// `IndividualAllocIDField` is a `STRING` field, Tag 467.
12987pub struct IndividualAllocIDField(pub FIXString);
12988
12989impl IndividualAllocIDField {
12990
12991    pub fn new(val: String) -> Self { Self(val) }
12992    pub fn value(&self) -> &str { &self.0 }
12993
12994    pub fn tag() -> Tag { tag::INDIVIDUAL_ALLOC_ID }
12995}
12996
12997impl FieldValueReader for IndividualAllocIDField {
12998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
12999        self.0.read(raw)
13000    }
13001}
13002
13003impl FieldValueWriter for IndividualAllocIDField {
13004    fn write_to(&self, buf: &mut Vec<u8>) {
13005        self.0.write_to(buf);
13006    }
13007}
13008
13009impl FieldValue for IndividualAllocIDField {}
13010
13011
13012/// `IndividualAllocRejCodeField` is a `INT` field, Tag 776.
13013pub struct IndividualAllocRejCodeField(pub FIXInt);
13014
13015impl IndividualAllocRejCodeField {
13016
13017    pub fn new(val: isize) -> Self { Self(val) }
13018    pub fn value(&self) -> isize { self.0 }
13019
13020    pub fn tag() -> Tag { tag::INDIVIDUAL_ALLOC_REJ_CODE }
13021}
13022
13023impl FieldValueReader for IndividualAllocRejCodeField {
13024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13025        self.0.read(raw)
13026    }
13027}
13028
13029impl FieldValueWriter for IndividualAllocRejCodeField {
13030    fn write_to(&self, buf: &mut Vec<u8>) {
13031        self.0.write_to(buf);
13032    }
13033}
13034
13035impl FieldValue for IndividualAllocRejCodeField {}
13036
13037
13038/// `IndividualAllocTypeField` is a `INT` field, Tag 992.
13039pub struct IndividualAllocTypeField(pub FIXInt);
13040
13041impl IndividualAllocTypeField {
13042
13043    pub fn new(val: isize) -> Self { Self(val) }
13044    pub fn value(&self) -> isize { self.0 }
13045
13046    pub fn tag() -> Tag { tag::INDIVIDUAL_ALLOC_TYPE }
13047}
13048
13049impl FieldValueReader for IndividualAllocTypeField {
13050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13051        self.0.read(raw)
13052    }
13053}
13054
13055impl FieldValueWriter for IndividualAllocTypeField {
13056    fn write_to(&self, buf: &mut Vec<u8>) {
13057        self.0.write_to(buf);
13058    }
13059}
13060
13061impl FieldValue for IndividualAllocTypeField {}
13062
13063
13064/// `InputSourceField` is a `STRING` field, Tag 979.
13065pub struct InputSourceField(pub FIXString);
13066
13067impl InputSourceField {
13068
13069    pub fn new(val: String) -> Self { Self(val) }
13070    pub fn value(&self) -> &str { &self.0 }
13071
13072    pub fn tag() -> Tag { tag::INPUT_SOURCE }
13073}
13074
13075impl FieldValueReader for InputSourceField {
13076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13077        self.0.read(raw)
13078    }
13079}
13080
13081impl FieldValueWriter for InputSourceField {
13082    fn write_to(&self, buf: &mut Vec<u8>) {
13083        self.0.write_to(buf);
13084    }
13085}
13086
13087impl FieldValue for InputSourceField {}
13088
13089
13090/// `InstrAttribTypeField` is a `INT` field, Tag 871.
13091pub struct InstrAttribTypeField(pub FIXInt);
13092
13093impl InstrAttribTypeField {
13094
13095    pub fn new(val: isize) -> Self { Self(val) }
13096    pub fn value(&self) -> isize { self.0 }
13097
13098    pub fn tag() -> Tag { tag::INSTR_ATTRIB_TYPE }
13099}
13100
13101impl FieldValueReader for InstrAttribTypeField {
13102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13103        self.0.read(raw)
13104    }
13105}
13106
13107impl FieldValueWriter for InstrAttribTypeField {
13108    fn write_to(&self, buf: &mut Vec<u8>) {
13109        self.0.write_to(buf);
13110    }
13111}
13112
13113impl FieldValue for InstrAttribTypeField {}
13114
13115
13116/// `InstrAttribValueField` is a `STRING` field, Tag 872.
13117pub struct InstrAttribValueField(pub FIXString);
13118
13119impl InstrAttribValueField {
13120
13121    pub fn new(val: String) -> Self { Self(val) }
13122    pub fn value(&self) -> &str { &self.0 }
13123
13124    pub fn tag() -> Tag { tag::INSTR_ATTRIB_VALUE }
13125}
13126
13127impl FieldValueReader for InstrAttribValueField {
13128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13129        self.0.read(raw)
13130    }
13131}
13132
13133impl FieldValueWriter for InstrAttribValueField {
13134    fn write_to(&self, buf: &mut Vec<u8>) {
13135        self.0.write_to(buf);
13136    }
13137}
13138
13139impl FieldValue for InstrAttribValueField {}
13140
13141
13142/// `InstrRegistryField` is a `STRING` field, Tag 543.
13143pub struct InstrRegistryField(pub FIXString);
13144
13145impl InstrRegistryField {
13146
13147    pub fn new(val: String) -> Self { Self(val) }
13148    pub fn value(&self) -> &str { &self.0 }
13149
13150    pub fn tag() -> Tag { tag::INSTR_REGISTRY }
13151}
13152
13153impl FieldValueReader for InstrRegistryField {
13154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13155        self.0.read(raw)
13156    }
13157}
13158
13159impl FieldValueWriter for InstrRegistryField {
13160    fn write_to(&self, buf: &mut Vec<u8>) {
13161        self.0.write_to(buf);
13162    }
13163}
13164
13165impl FieldValue for InstrRegistryField {}
13166
13167
13168/// `InstrmtAssignmentMethodField` is a `CHAR` field, Tag 1049.
13169pub struct InstrmtAssignmentMethodField(pub FIXString);
13170
13171impl InstrmtAssignmentMethodField {
13172
13173    pub fn new(val: String) -> Self { Self(val) }
13174    pub fn value(&self) -> &str { &self.0 }
13175
13176    pub fn tag() -> Tag { tag::INSTRMT_ASSIGNMENT_METHOD }
13177}
13178
13179impl FieldValueReader for InstrmtAssignmentMethodField {
13180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13181        self.0.read(raw)
13182    }
13183}
13184
13185impl FieldValueWriter for InstrmtAssignmentMethodField {
13186    fn write_to(&self, buf: &mut Vec<u8>) {
13187        self.0.write_to(buf);
13188    }
13189}
13190
13191impl FieldValue for InstrmtAssignmentMethodField {}
13192
13193
13194/// `InstrumentPartyIDField` is a `STRING` field, Tag 1019.
13195pub struct InstrumentPartyIDField(pub FIXString);
13196
13197impl InstrumentPartyIDField {
13198
13199    pub fn new(val: String) -> Self { Self(val) }
13200    pub fn value(&self) -> &str { &self.0 }
13201
13202    pub fn tag() -> Tag { tag::INSTRUMENT_PARTY_ID }
13203}
13204
13205impl FieldValueReader for InstrumentPartyIDField {
13206    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13207        self.0.read(raw)
13208    }
13209}
13210
13211impl FieldValueWriter for InstrumentPartyIDField {
13212    fn write_to(&self, buf: &mut Vec<u8>) {
13213        self.0.write_to(buf);
13214    }
13215}
13216
13217impl FieldValue for InstrumentPartyIDField {}
13218
13219
13220/// `InstrumentPartyIDSourceField` is a `CHAR` field, Tag 1050.
13221pub struct InstrumentPartyIDSourceField(pub FIXString);
13222
13223impl InstrumentPartyIDSourceField {
13224
13225    pub fn new(val: String) -> Self { Self(val) }
13226    pub fn value(&self) -> &str { &self.0 }
13227
13228    pub fn tag() -> Tag { tag::INSTRUMENT_PARTY_ID_SOURCE }
13229}
13230
13231impl FieldValueReader for InstrumentPartyIDSourceField {
13232    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13233        self.0.read(raw)
13234    }
13235}
13236
13237impl FieldValueWriter for InstrumentPartyIDSourceField {
13238    fn write_to(&self, buf: &mut Vec<u8>) {
13239        self.0.write_to(buf);
13240    }
13241}
13242
13243impl FieldValue for InstrumentPartyIDSourceField {}
13244
13245
13246/// `InstrumentPartyRoleField` is a `INT` field, Tag 1051.
13247pub struct InstrumentPartyRoleField(pub FIXInt);
13248
13249impl InstrumentPartyRoleField {
13250
13251    pub fn new(val: isize) -> Self { Self(val) }
13252    pub fn value(&self) -> isize { self.0 }
13253
13254    pub fn tag() -> Tag { tag::INSTRUMENT_PARTY_ROLE }
13255}
13256
13257impl FieldValueReader for InstrumentPartyRoleField {
13258    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13259        self.0.read(raw)
13260    }
13261}
13262
13263impl FieldValueWriter for InstrumentPartyRoleField {
13264    fn write_to(&self, buf: &mut Vec<u8>) {
13265        self.0.write_to(buf);
13266    }
13267}
13268
13269impl FieldValue for InstrumentPartyRoleField {}
13270
13271
13272/// `InstrumentPartySubIDField` is a `STRING` field, Tag 1053.
13273pub struct InstrumentPartySubIDField(pub FIXString);
13274
13275impl InstrumentPartySubIDField {
13276
13277    pub fn new(val: String) -> Self { Self(val) }
13278    pub fn value(&self) -> &str { &self.0 }
13279
13280    pub fn tag() -> Tag { tag::INSTRUMENT_PARTY_SUB_ID }
13281}
13282
13283impl FieldValueReader for InstrumentPartySubIDField {
13284    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13285        self.0.read(raw)
13286    }
13287}
13288
13289impl FieldValueWriter for InstrumentPartySubIDField {
13290    fn write_to(&self, buf: &mut Vec<u8>) {
13291        self.0.write_to(buf);
13292    }
13293}
13294
13295impl FieldValue for InstrumentPartySubIDField {}
13296
13297
13298/// `InstrumentPartySubIDTypeField` is a `INT` field, Tag 1054.
13299pub struct InstrumentPartySubIDTypeField(pub FIXInt);
13300
13301impl InstrumentPartySubIDTypeField {
13302
13303    pub fn new(val: isize) -> Self { Self(val) }
13304    pub fn value(&self) -> isize { self.0 }
13305
13306    pub fn tag() -> Tag { tag::INSTRUMENT_PARTY_SUB_ID_TYPE }
13307}
13308
13309impl FieldValueReader for InstrumentPartySubIDTypeField {
13310    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13311        self.0.read(raw)
13312    }
13313}
13314
13315impl FieldValueWriter for InstrumentPartySubIDTypeField {
13316    fn write_to(&self, buf: &mut Vec<u8>) {
13317        self.0.write_to(buf);
13318    }
13319}
13320
13321impl FieldValue for InstrumentPartySubIDTypeField {}
13322
13323
13324/// `InterestAccrualDateField` is a `LOCALMKTDATE` field, Tag 874.
13325pub struct InterestAccrualDateField(pub FIXString);
13326
13327impl InterestAccrualDateField {
13328
13329    pub fn new(val: String) -> Self { Self(val) }
13330    pub fn value(&self) -> &str { &self.0 }
13331
13332    pub fn tag() -> Tag { tag::INTEREST_ACCRUAL_DATE }
13333}
13334
13335impl FieldValueReader for InterestAccrualDateField {
13336    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13337        self.0.read(raw)
13338    }
13339}
13340
13341impl FieldValueWriter for InterestAccrualDateField {
13342    fn write_to(&self, buf: &mut Vec<u8>) {
13343        self.0.write_to(buf);
13344    }
13345}
13346
13347impl FieldValue for InterestAccrualDateField {}
13348
13349
13350/// `InterestAtMaturityField` is a `AMT` field, Tag 738.
13351pub struct InterestAtMaturityField(pub FIXDecimal);
13352
13353impl InterestAtMaturityField {
13354
13355    pub fn new(val: Decimal, scale: i32) -> Self {
13356        Self(FIXDecimal { decimal: val, scale })
13357    }
13358    pub fn value(&self) -> Decimal { self.0.decimal }
13359
13360    pub fn tag() -> Tag { tag::INTEREST_AT_MATURITY }
13361}
13362
13363impl FieldValueReader for InterestAtMaturityField {
13364    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13365        self.0.read(raw)
13366    }
13367}
13368
13369impl FieldValueWriter for InterestAtMaturityField {
13370    fn write_to(&self, buf: &mut Vec<u8>) {
13371        self.0.write_to(buf);
13372    }
13373}
13374
13375impl FieldValue for InterestAtMaturityField {}
13376
13377
13378/// `InvestorCountryOfResidenceField` is a `COUNTRY` field, Tag 475.
13379pub struct InvestorCountryOfResidenceField(pub FIXString);
13380
13381impl InvestorCountryOfResidenceField {
13382
13383    pub fn new(val: String) -> Self { Self(val) }
13384    pub fn value(&self) -> &str { &self.0 }
13385
13386    pub fn tag() -> Tag { tag::INVESTOR_COUNTRY_OF_RESIDENCE }
13387}
13388
13389impl FieldValueReader for InvestorCountryOfResidenceField {
13390    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13391        self.0.read(raw)
13392    }
13393}
13394
13395impl FieldValueWriter for InvestorCountryOfResidenceField {
13396    fn write_to(&self, buf: &mut Vec<u8>) {
13397        self.0.write_to(buf);
13398    }
13399}
13400
13401impl FieldValue for InvestorCountryOfResidenceField {}
13402
13403
13404/// `IssueDateField` is a `LOCALMKTDATE` field, Tag 225.
13405pub struct IssueDateField(pub FIXString);
13406
13407impl IssueDateField {
13408
13409    pub fn new(val: String) -> Self { Self(val) }
13410    pub fn value(&self) -> &str { &self.0 }
13411
13412    pub fn tag() -> Tag { tag::ISSUE_DATE }
13413}
13414
13415impl FieldValueReader for IssueDateField {
13416    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13417        self.0.read(raw)
13418    }
13419}
13420
13421impl FieldValueWriter for IssueDateField {
13422    fn write_to(&self, buf: &mut Vec<u8>) {
13423        self.0.write_to(buf);
13424    }
13425}
13426
13427impl FieldValue for IssueDateField {}
13428
13429
13430/// `IssuerField` is a `STRING` field, Tag 106.
13431pub struct IssuerField(pub FIXString);
13432
13433impl IssuerField {
13434
13435    pub fn new(val: String) -> Self { Self(val) }
13436    pub fn value(&self) -> &str { &self.0 }
13437
13438    pub fn tag() -> Tag { tag::ISSUER }
13439}
13440
13441impl FieldValueReader for IssuerField {
13442    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13443        self.0.read(raw)
13444    }
13445}
13446
13447impl FieldValueWriter for IssuerField {
13448    fn write_to(&self, buf: &mut Vec<u8>) {
13449        self.0.write_to(buf);
13450    }
13451}
13452
13453impl FieldValue for IssuerField {}
13454
13455
13456/// `LanguageCodeField` is a `LANGUAGE` field, Tag 1474.
13457pub struct LanguageCodeField(pub FIXString);
13458
13459impl LanguageCodeField {
13460
13461    pub fn new(val: String) -> Self { Self(val) }
13462    pub fn value(&self) -> &str { &self.0 }
13463
13464    pub fn tag() -> Tag { tag::LANGUAGE_CODE }
13465}
13466
13467impl FieldValueReader for LanguageCodeField {
13468    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13469        self.0.read(raw)
13470    }
13471}
13472
13473impl FieldValueWriter for LanguageCodeField {
13474    fn write_to(&self, buf: &mut Vec<u8>) {
13475        self.0.write_to(buf);
13476    }
13477}
13478
13479impl FieldValue for LanguageCodeField {}
13480
13481
13482/// `LastCapacityField` is a `CHAR` field, Tag 29.
13483pub struct LastCapacityField(pub FIXString);
13484
13485impl LastCapacityField {
13486
13487    pub fn new(val: String) -> Self { Self(val) }
13488    pub fn value(&self) -> &str { &self.0 }
13489
13490    pub fn tag() -> Tag { tag::LAST_CAPACITY }
13491}
13492
13493impl FieldValueReader for LastCapacityField {
13494    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13495        self.0.read(raw)
13496    }
13497}
13498
13499impl FieldValueWriter for LastCapacityField {
13500    fn write_to(&self, buf: &mut Vec<u8>) {
13501        self.0.write_to(buf);
13502    }
13503}
13504
13505impl FieldValue for LastCapacityField {}
13506
13507
13508/// `LastForwardPointsField` is a `PRICEOFFSET` field, Tag 195.
13509pub struct LastForwardPointsField(pub FIXDecimal);
13510
13511impl LastForwardPointsField {
13512
13513    pub fn new(val: Decimal, scale: i32) -> Self {
13514        Self(FIXDecimal { decimal: val, scale })
13515    }
13516    pub fn value(&self) -> Decimal { self.0.decimal }
13517
13518    pub fn tag() -> Tag { tag::LAST_FORWARD_POINTS }
13519}
13520
13521impl FieldValueReader for LastForwardPointsField {
13522    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13523        self.0.read(raw)
13524    }
13525}
13526
13527impl FieldValueWriter for LastForwardPointsField {
13528    fn write_to(&self, buf: &mut Vec<u8>) {
13529        self.0.write_to(buf);
13530    }
13531}
13532
13533impl FieldValue for LastForwardPointsField {}
13534
13535
13536/// `LastForwardPoints2Field` is a `PRICEOFFSET` field, Tag 641.
13537pub struct LastForwardPoints2Field(pub FIXDecimal);
13538
13539impl LastForwardPoints2Field {
13540
13541    pub fn new(val: Decimal, scale: i32) -> Self {
13542        Self(FIXDecimal { decimal: val, scale })
13543    }
13544    pub fn value(&self) -> Decimal { self.0.decimal }
13545
13546    pub fn tag() -> Tag { tag::LAST_FORWARD_POINTS2 }
13547}
13548
13549impl FieldValueReader for LastForwardPoints2Field {
13550    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13551        self.0.read(raw)
13552    }
13553}
13554
13555impl FieldValueWriter for LastForwardPoints2Field {
13556    fn write_to(&self, buf: &mut Vec<u8>) {
13557        self.0.write_to(buf);
13558    }
13559}
13560
13561impl FieldValue for LastForwardPoints2Field {}
13562
13563
13564/// `LastFragmentField` is a `BOOLEAN` field, Tag 893.
13565pub struct LastFragmentField(pub FIXBoolean);
13566
13567impl LastFragmentField {
13568
13569    pub fn new(val: bool) -> Self { Self(val) }
13570    pub fn value(&self) -> bool { self.0 }
13571
13572    pub fn tag() -> Tag { tag::LAST_FRAGMENT }
13573}
13574
13575impl FieldValueReader for LastFragmentField {
13576    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13577        self.0.read(raw)
13578    }
13579}
13580
13581impl FieldValueWriter for LastFragmentField {
13582    fn write_to(&self, buf: &mut Vec<u8>) {
13583        self.0.write_to(buf);
13584    }
13585}
13586
13587impl FieldValue for LastFragmentField {}
13588
13589
13590/// `LastLiquidityIndField` is a `INT` field, Tag 851.
13591pub struct LastLiquidityIndField(pub FIXInt);
13592
13593impl LastLiquidityIndField {
13594
13595    pub fn new(val: isize) -> Self { Self(val) }
13596    pub fn value(&self) -> isize { self.0 }
13597
13598    pub fn tag() -> Tag { tag::LAST_LIQUIDITY_IND }
13599}
13600
13601impl FieldValueReader for LastLiquidityIndField {
13602    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13603        self.0.read(raw)
13604    }
13605}
13606
13607impl FieldValueWriter for LastLiquidityIndField {
13608    fn write_to(&self, buf: &mut Vec<u8>) {
13609        self.0.write_to(buf);
13610    }
13611}
13612
13613impl FieldValue for LastLiquidityIndField {}
13614
13615
13616/// `LastMktField` is a `EXCHANGE` field, Tag 30.
13617pub struct LastMktField(pub FIXString);
13618
13619impl LastMktField {
13620
13621    pub fn new(val: String) -> Self { Self(val) }
13622    pub fn value(&self) -> &str { &self.0 }
13623
13624    pub fn tag() -> Tag { tag::LAST_MKT }
13625}
13626
13627impl FieldValueReader for LastMktField {
13628    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13629        self.0.read(raw)
13630    }
13631}
13632
13633impl FieldValueWriter for LastMktField {
13634    fn write_to(&self, buf: &mut Vec<u8>) {
13635        self.0.write_to(buf);
13636    }
13637}
13638
13639impl FieldValue for LastMktField {}
13640
13641
13642/// `LastMsgSeqNumProcessedField` is a `SEQNUM` field, Tag 369.
13643pub struct LastMsgSeqNumProcessedField(pub FIXInt);
13644
13645impl LastMsgSeqNumProcessedField {
13646
13647    pub fn new(val: isize) -> Self { Self(val) }
13648    pub fn value(&self) -> isize { self.0 }
13649
13650    pub fn tag() -> Tag { tag::LAST_MSG_SEQ_NUM_PROCESSED }
13651}
13652
13653impl FieldValueReader for LastMsgSeqNumProcessedField {
13654    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13655        self.0.read(raw)
13656    }
13657}
13658
13659impl FieldValueWriter for LastMsgSeqNumProcessedField {
13660    fn write_to(&self, buf: &mut Vec<u8>) {
13661        self.0.write_to(buf);
13662    }
13663}
13664
13665impl FieldValue for LastMsgSeqNumProcessedField {}
13666
13667
13668/// `LastNetworkResponseIDField` is a `STRING` field, Tag 934.
13669pub struct LastNetworkResponseIDField(pub FIXString);
13670
13671impl LastNetworkResponseIDField {
13672
13673    pub fn new(val: String) -> Self { Self(val) }
13674    pub fn value(&self) -> &str { &self.0 }
13675
13676    pub fn tag() -> Tag { tag::LAST_NETWORK_RESPONSE_ID }
13677}
13678
13679impl FieldValueReader for LastNetworkResponseIDField {
13680    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13681        self.0.read(raw)
13682    }
13683}
13684
13685impl FieldValueWriter for LastNetworkResponseIDField {
13686    fn write_to(&self, buf: &mut Vec<u8>) {
13687        self.0.write_to(buf);
13688    }
13689}
13690
13691impl FieldValue for LastNetworkResponseIDField {}
13692
13693
13694/// `LastParPxField` is a `PRICE` field, Tag 669.
13695pub struct LastParPxField(pub FIXDecimal);
13696
13697impl LastParPxField {
13698
13699    pub fn new(val: Decimal, scale: i32) -> Self {
13700        Self(FIXDecimal { decimal: val, scale })
13701    }
13702    pub fn value(&self) -> Decimal { self.0.decimal }
13703
13704    pub fn tag() -> Tag { tag::LAST_PAR_PX }
13705}
13706
13707impl FieldValueReader for LastParPxField {
13708    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13709        self.0.read(raw)
13710    }
13711}
13712
13713impl FieldValueWriter for LastParPxField {
13714    fn write_to(&self, buf: &mut Vec<u8>) {
13715        self.0.write_to(buf);
13716    }
13717}
13718
13719impl FieldValue for LastParPxField {}
13720
13721
13722/// `LastPxField` is a `PRICE` field, Tag 31.
13723pub struct LastPxField(pub FIXDecimal);
13724
13725impl LastPxField {
13726
13727    pub fn new(val: Decimal, scale: i32) -> Self {
13728        Self(FIXDecimal { decimal: val, scale })
13729    }
13730    pub fn value(&self) -> Decimal { self.0.decimal }
13731
13732    pub fn tag() -> Tag { tag::LAST_PX }
13733}
13734
13735impl FieldValueReader for LastPxField {
13736    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13737        self.0.read(raw)
13738    }
13739}
13740
13741impl FieldValueWriter for LastPxField {
13742    fn write_to(&self, buf: &mut Vec<u8>) {
13743        self.0.write_to(buf);
13744    }
13745}
13746
13747impl FieldValue for LastPxField {}
13748
13749
13750/// `LastQtyField` is a `QTY` field, Tag 32.
13751pub struct LastQtyField(pub FIXDecimal);
13752
13753impl LastQtyField {
13754
13755    pub fn new(val: Decimal, scale: i32) -> Self {
13756        Self(FIXDecimal { decimal: val, scale })
13757    }
13758    pub fn value(&self) -> Decimal { self.0.decimal }
13759
13760    pub fn tag() -> Tag { tag::LAST_QTY }
13761}
13762
13763impl FieldValueReader for LastQtyField {
13764    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13765        self.0.read(raw)
13766    }
13767}
13768
13769impl FieldValueWriter for LastQtyField {
13770    fn write_to(&self, buf: &mut Vec<u8>) {
13771        self.0.write_to(buf);
13772    }
13773}
13774
13775impl FieldValue for LastQtyField {}
13776
13777
13778/// `LastRptRequestedField` is a `BOOLEAN` field, Tag 912.
13779pub struct LastRptRequestedField(pub FIXBoolean);
13780
13781impl LastRptRequestedField {
13782
13783    pub fn new(val: bool) -> Self { Self(val) }
13784    pub fn value(&self) -> bool { self.0 }
13785
13786    pub fn tag() -> Tag { tag::LAST_RPT_REQUESTED }
13787}
13788
13789impl FieldValueReader for LastRptRequestedField {
13790    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13791        self.0.read(raw)
13792    }
13793}
13794
13795impl FieldValueWriter for LastRptRequestedField {
13796    fn write_to(&self, buf: &mut Vec<u8>) {
13797        self.0.write_to(buf);
13798    }
13799}
13800
13801impl FieldValue for LastRptRequestedField {}
13802
13803
13804/// `LastSharesField` is a `QTY` field, Tag 32.
13805pub struct LastSharesField(pub FIXDecimal);
13806
13807impl LastSharesField {
13808
13809    pub fn new(val: Decimal, scale: i32) -> Self {
13810        Self(FIXDecimal { decimal: val, scale })
13811    }
13812    pub fn value(&self) -> Decimal { self.0.decimal }
13813
13814    pub fn tag() -> Tag { tag::LAST_SHARES }
13815}
13816
13817impl FieldValueReader for LastSharesField {
13818    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13819        self.0.read(raw)
13820    }
13821}
13822
13823impl FieldValueWriter for LastSharesField {
13824    fn write_to(&self, buf: &mut Vec<u8>) {
13825        self.0.write_to(buf);
13826    }
13827}
13828
13829impl FieldValue for LastSharesField {}
13830
13831
13832/// `LastSpotRateField` is a `PRICE` field, Tag 194.
13833pub struct LastSpotRateField(pub FIXDecimal);
13834
13835impl LastSpotRateField {
13836
13837    pub fn new(val: Decimal, scale: i32) -> Self {
13838        Self(FIXDecimal { decimal: val, scale })
13839    }
13840    pub fn value(&self) -> Decimal { self.0.decimal }
13841
13842    pub fn tag() -> Tag { tag::LAST_SPOT_RATE }
13843}
13844
13845impl FieldValueReader for LastSpotRateField {
13846    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13847        self.0.read(raw)
13848    }
13849}
13850
13851impl FieldValueWriter for LastSpotRateField {
13852    fn write_to(&self, buf: &mut Vec<u8>) {
13853        self.0.write_to(buf);
13854    }
13855}
13856
13857impl FieldValue for LastSpotRateField {}
13858
13859
13860/// `LastSwapPointsField` is a `PRICEOFFSET` field, Tag 1071.
13861pub struct LastSwapPointsField(pub FIXDecimal);
13862
13863impl LastSwapPointsField {
13864
13865    pub fn new(val: Decimal, scale: i32) -> Self {
13866        Self(FIXDecimal { decimal: val, scale })
13867    }
13868    pub fn value(&self) -> Decimal { self.0.decimal }
13869
13870    pub fn tag() -> Tag { tag::LAST_SWAP_POINTS }
13871}
13872
13873impl FieldValueReader for LastSwapPointsField {
13874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13875        self.0.read(raw)
13876    }
13877}
13878
13879impl FieldValueWriter for LastSwapPointsField {
13880    fn write_to(&self, buf: &mut Vec<u8>) {
13881        self.0.write_to(buf);
13882    }
13883}
13884
13885impl FieldValue for LastSwapPointsField {}
13886
13887
13888/// `LastUpdateTimeField` is a `UTCTIMESTAMP` field, Tag 779.
13889pub struct LastUpdateTimeField(pub FIXUTCTimestamp);
13890
13891impl LastUpdateTimeField {
13892
13893    pub fn new(val: Timestamp) -> Self {
13894        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
13895    }
13896    pub fn value(&self) -> Timestamp { self.0.time }
13897
13898    pub fn tag() -> Tag { tag::LAST_UPDATE_TIME }
13899}
13900
13901impl FieldValueReader for LastUpdateTimeField {
13902    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13903        self.0.read(raw)
13904    }
13905}
13906
13907impl FieldValueWriter for LastUpdateTimeField {
13908    fn write_to(&self, buf: &mut Vec<u8>) {
13909        self.0.write_to(buf);
13910    }
13911}
13912
13913impl FieldValue for LastUpdateTimeField {}
13914
13915
13916/// `LateIndicatorField` is a `BOOLEAN` field, Tag 978.
13917pub struct LateIndicatorField(pub FIXBoolean);
13918
13919impl LateIndicatorField {
13920
13921    pub fn new(val: bool) -> Self { Self(val) }
13922    pub fn value(&self) -> bool { self.0 }
13923
13924    pub fn tag() -> Tag { tag::LATE_INDICATOR }
13925}
13926
13927impl FieldValueReader for LateIndicatorField {
13928    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13929        self.0.read(raw)
13930    }
13931}
13932
13933impl FieldValueWriter for LateIndicatorField {
13934    fn write_to(&self, buf: &mut Vec<u8>) {
13935        self.0.write_to(buf);
13936    }
13937}
13938
13939impl FieldValue for LateIndicatorField {}
13940
13941
13942/// `LeavesQtyField` is a `QTY` field, Tag 151.
13943pub struct LeavesQtyField(pub FIXDecimal);
13944
13945impl LeavesQtyField {
13946
13947    pub fn new(val: Decimal, scale: i32) -> Self {
13948        Self(FIXDecimal { decimal: val, scale })
13949    }
13950    pub fn value(&self) -> Decimal { self.0.decimal }
13951
13952    pub fn tag() -> Tag { tag::LEAVES_QTY }
13953}
13954
13955impl FieldValueReader for LeavesQtyField {
13956    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13957        self.0.read(raw)
13958    }
13959}
13960
13961impl FieldValueWriter for LeavesQtyField {
13962    fn write_to(&self, buf: &mut Vec<u8>) {
13963        self.0.write_to(buf);
13964    }
13965}
13966
13967impl FieldValue for LeavesQtyField {}
13968
13969
13970/// `LegAllocAccountField` is a `STRING` field, Tag 671.
13971pub struct LegAllocAccountField(pub FIXString);
13972
13973impl LegAllocAccountField {
13974
13975    pub fn new(val: String) -> Self { Self(val) }
13976    pub fn value(&self) -> &str { &self.0 }
13977
13978    pub fn tag() -> Tag { tag::LEG_ALLOC_ACCOUNT }
13979}
13980
13981impl FieldValueReader for LegAllocAccountField {
13982    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
13983        self.0.read(raw)
13984    }
13985}
13986
13987impl FieldValueWriter for LegAllocAccountField {
13988    fn write_to(&self, buf: &mut Vec<u8>) {
13989        self.0.write_to(buf);
13990    }
13991}
13992
13993impl FieldValue for LegAllocAccountField {}
13994
13995
13996/// `LegAllocAcctIDSourceField` is a `STRING` field, Tag 674.
13997pub struct LegAllocAcctIDSourceField(pub FIXString);
13998
13999impl LegAllocAcctIDSourceField {
14000
14001    pub fn new(val: String) -> Self { Self(val) }
14002    pub fn value(&self) -> &str { &self.0 }
14003
14004    pub fn tag() -> Tag { tag::LEG_ALLOC_ACCT_ID_SOURCE }
14005}
14006
14007impl FieldValueReader for LegAllocAcctIDSourceField {
14008    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14009        self.0.read(raw)
14010    }
14011}
14012
14013impl FieldValueWriter for LegAllocAcctIDSourceField {
14014    fn write_to(&self, buf: &mut Vec<u8>) {
14015        self.0.write_to(buf);
14016    }
14017}
14018
14019impl FieldValue for LegAllocAcctIDSourceField {}
14020
14021
14022/// `LegAllocIDField` is a `STRING` field, Tag 1366.
14023pub struct LegAllocIDField(pub FIXString);
14024
14025impl LegAllocIDField {
14026
14027    pub fn new(val: String) -> Self { Self(val) }
14028    pub fn value(&self) -> &str { &self.0 }
14029
14030    pub fn tag() -> Tag { tag::LEG_ALLOC_ID }
14031}
14032
14033impl FieldValueReader for LegAllocIDField {
14034    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14035        self.0.read(raw)
14036    }
14037}
14038
14039impl FieldValueWriter for LegAllocIDField {
14040    fn write_to(&self, buf: &mut Vec<u8>) {
14041        self.0.write_to(buf);
14042    }
14043}
14044
14045impl FieldValue for LegAllocIDField {}
14046
14047
14048/// `LegAllocQtyField` is a `QTY` field, Tag 673.
14049pub struct LegAllocQtyField(pub FIXDecimal);
14050
14051impl LegAllocQtyField {
14052
14053    pub fn new(val: Decimal, scale: i32) -> Self {
14054        Self(FIXDecimal { decimal: val, scale })
14055    }
14056    pub fn value(&self) -> Decimal { self.0.decimal }
14057
14058    pub fn tag() -> Tag { tag::LEG_ALLOC_QTY }
14059}
14060
14061impl FieldValueReader for LegAllocQtyField {
14062    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14063        self.0.read(raw)
14064    }
14065}
14066
14067impl FieldValueWriter for LegAllocQtyField {
14068    fn write_to(&self, buf: &mut Vec<u8>) {
14069        self.0.write_to(buf);
14070    }
14071}
14072
14073impl FieldValue for LegAllocQtyField {}
14074
14075
14076/// `LegAllocSettlCurrencyField` is a `CURRENCY` field, Tag 1367.
14077pub struct LegAllocSettlCurrencyField(pub FIXString);
14078
14079impl LegAllocSettlCurrencyField {
14080
14081    pub fn new(val: String) -> Self { Self(val) }
14082    pub fn value(&self) -> &str { &self.0 }
14083
14084    pub fn tag() -> Tag { tag::LEG_ALLOC_SETTL_CURRENCY }
14085}
14086
14087impl FieldValueReader for LegAllocSettlCurrencyField {
14088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14089        self.0.read(raw)
14090    }
14091}
14092
14093impl FieldValueWriter for LegAllocSettlCurrencyField {
14094    fn write_to(&self, buf: &mut Vec<u8>) {
14095        self.0.write_to(buf);
14096    }
14097}
14098
14099impl FieldValue for LegAllocSettlCurrencyField {}
14100
14101
14102/// `LegBenchmarkCurveCurrencyField` is a `CURRENCY` field, Tag 676.
14103pub struct LegBenchmarkCurveCurrencyField(pub FIXString);
14104
14105impl LegBenchmarkCurveCurrencyField {
14106
14107    pub fn new(val: String) -> Self { Self(val) }
14108    pub fn value(&self) -> &str { &self.0 }
14109
14110    pub fn tag() -> Tag { tag::LEG_BENCHMARK_CURVE_CURRENCY }
14111}
14112
14113impl FieldValueReader for LegBenchmarkCurveCurrencyField {
14114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14115        self.0.read(raw)
14116    }
14117}
14118
14119impl FieldValueWriter for LegBenchmarkCurveCurrencyField {
14120    fn write_to(&self, buf: &mut Vec<u8>) {
14121        self.0.write_to(buf);
14122    }
14123}
14124
14125impl FieldValue for LegBenchmarkCurveCurrencyField {}
14126
14127
14128/// `LegBenchmarkCurveNameField` is a `STRING` field, Tag 677.
14129pub struct LegBenchmarkCurveNameField(pub FIXString);
14130
14131impl LegBenchmarkCurveNameField {
14132
14133    pub fn new(val: String) -> Self { Self(val) }
14134    pub fn value(&self) -> &str { &self.0 }
14135
14136    pub fn tag() -> Tag { tag::LEG_BENCHMARK_CURVE_NAME }
14137}
14138
14139impl FieldValueReader for LegBenchmarkCurveNameField {
14140    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14141        self.0.read(raw)
14142    }
14143}
14144
14145impl FieldValueWriter for LegBenchmarkCurveNameField {
14146    fn write_to(&self, buf: &mut Vec<u8>) {
14147        self.0.write_to(buf);
14148    }
14149}
14150
14151impl FieldValue for LegBenchmarkCurveNameField {}
14152
14153
14154/// `LegBenchmarkCurvePointField` is a `STRING` field, Tag 678.
14155pub struct LegBenchmarkCurvePointField(pub FIXString);
14156
14157impl LegBenchmarkCurvePointField {
14158
14159    pub fn new(val: String) -> Self { Self(val) }
14160    pub fn value(&self) -> &str { &self.0 }
14161
14162    pub fn tag() -> Tag { tag::LEG_BENCHMARK_CURVE_POINT }
14163}
14164
14165impl FieldValueReader for LegBenchmarkCurvePointField {
14166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14167        self.0.read(raw)
14168    }
14169}
14170
14171impl FieldValueWriter for LegBenchmarkCurvePointField {
14172    fn write_to(&self, buf: &mut Vec<u8>) {
14173        self.0.write_to(buf);
14174    }
14175}
14176
14177impl FieldValue for LegBenchmarkCurvePointField {}
14178
14179
14180/// `LegBenchmarkPriceField` is a `PRICE` field, Tag 679.
14181pub struct LegBenchmarkPriceField(pub FIXDecimal);
14182
14183impl LegBenchmarkPriceField {
14184
14185    pub fn new(val: Decimal, scale: i32) -> Self {
14186        Self(FIXDecimal { decimal: val, scale })
14187    }
14188    pub fn value(&self) -> Decimal { self.0.decimal }
14189
14190    pub fn tag() -> Tag { tag::LEG_BENCHMARK_PRICE }
14191}
14192
14193impl FieldValueReader for LegBenchmarkPriceField {
14194    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14195        self.0.read(raw)
14196    }
14197}
14198
14199impl FieldValueWriter for LegBenchmarkPriceField {
14200    fn write_to(&self, buf: &mut Vec<u8>) {
14201        self.0.write_to(buf);
14202    }
14203}
14204
14205impl FieldValue for LegBenchmarkPriceField {}
14206
14207
14208/// `LegBenchmarkPriceTypeField` is a `INT` field, Tag 680.
14209pub struct LegBenchmarkPriceTypeField(pub FIXInt);
14210
14211impl LegBenchmarkPriceTypeField {
14212
14213    pub fn new(val: isize) -> Self { Self(val) }
14214    pub fn value(&self) -> isize { self.0 }
14215
14216    pub fn tag() -> Tag { tag::LEG_BENCHMARK_PRICE_TYPE }
14217}
14218
14219impl FieldValueReader for LegBenchmarkPriceTypeField {
14220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14221        self.0.read(raw)
14222    }
14223}
14224
14225impl FieldValueWriter for LegBenchmarkPriceTypeField {
14226    fn write_to(&self, buf: &mut Vec<u8>) {
14227        self.0.write_to(buf);
14228    }
14229}
14230
14231impl FieldValue for LegBenchmarkPriceTypeField {}
14232
14233
14234/// `LegBidForwardPointsField` is a `PRICEOFFSET` field, Tag 1067.
14235pub struct LegBidForwardPointsField(pub FIXDecimal);
14236
14237impl LegBidForwardPointsField {
14238
14239    pub fn new(val: Decimal, scale: i32) -> Self {
14240        Self(FIXDecimal { decimal: val, scale })
14241    }
14242    pub fn value(&self) -> Decimal { self.0.decimal }
14243
14244    pub fn tag() -> Tag { tag::LEG_BID_FORWARD_POINTS }
14245}
14246
14247impl FieldValueReader for LegBidForwardPointsField {
14248    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14249        self.0.read(raw)
14250    }
14251}
14252
14253impl FieldValueWriter for LegBidForwardPointsField {
14254    fn write_to(&self, buf: &mut Vec<u8>) {
14255        self.0.write_to(buf);
14256    }
14257}
14258
14259impl FieldValue for LegBidForwardPointsField {}
14260
14261
14262/// `LegBidPxField` is a `PRICE` field, Tag 681.
14263pub struct LegBidPxField(pub FIXDecimal);
14264
14265impl LegBidPxField {
14266
14267    pub fn new(val: Decimal, scale: i32) -> Self {
14268        Self(FIXDecimal { decimal: val, scale })
14269    }
14270    pub fn value(&self) -> Decimal { self.0.decimal }
14271
14272    pub fn tag() -> Tag { tag::LEG_BID_PX }
14273}
14274
14275impl FieldValueReader for LegBidPxField {
14276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14277        self.0.read(raw)
14278    }
14279}
14280
14281impl FieldValueWriter for LegBidPxField {
14282    fn write_to(&self, buf: &mut Vec<u8>) {
14283        self.0.write_to(buf);
14284    }
14285}
14286
14287impl FieldValue for LegBidPxField {}
14288
14289
14290/// `LegCFICodeField` is a `STRING` field, Tag 608.
14291pub struct LegCFICodeField(pub FIXString);
14292
14293impl LegCFICodeField {
14294
14295    pub fn new(val: String) -> Self { Self(val) }
14296    pub fn value(&self) -> &str { &self.0 }
14297
14298    pub fn tag() -> Tag { tag::LEG_CFI_CODE }
14299}
14300
14301impl FieldValueReader for LegCFICodeField {
14302    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14303        self.0.read(raw)
14304    }
14305}
14306
14307impl FieldValueWriter for LegCFICodeField {
14308    fn write_to(&self, buf: &mut Vec<u8>) {
14309        self.0.write_to(buf);
14310    }
14311}
14312
14313impl FieldValue for LegCFICodeField {}
14314
14315
14316/// `LegCalculatedCcyLastQtyField` is a `QTY` field, Tag 1074.
14317pub struct LegCalculatedCcyLastQtyField(pub FIXDecimal);
14318
14319impl LegCalculatedCcyLastQtyField {
14320
14321    pub fn new(val: Decimal, scale: i32) -> Self {
14322        Self(FIXDecimal { decimal: val, scale })
14323    }
14324    pub fn value(&self) -> Decimal { self.0.decimal }
14325
14326    pub fn tag() -> Tag { tag::LEG_CALCULATED_CCY_LAST_QTY }
14327}
14328
14329impl FieldValueReader for LegCalculatedCcyLastQtyField {
14330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14331        self.0.read(raw)
14332    }
14333}
14334
14335impl FieldValueWriter for LegCalculatedCcyLastQtyField {
14336    fn write_to(&self, buf: &mut Vec<u8>) {
14337        self.0.write_to(buf);
14338    }
14339}
14340
14341impl FieldValue for LegCalculatedCcyLastQtyField {}
14342
14343
14344/// `LegContractMultiplierField` is a `FLOAT` field, Tag 614.
14345pub struct LegContractMultiplierField(pub FIXDecimal);
14346
14347impl LegContractMultiplierField {
14348
14349    pub fn new(val: Decimal, scale: i32) -> Self {
14350        Self(FIXDecimal { decimal: val, scale })
14351    }
14352    pub fn value(&self) -> Decimal { self.0.decimal }
14353
14354    pub fn tag() -> Tag { tag::LEG_CONTRACT_MULTIPLIER }
14355}
14356
14357impl FieldValueReader for LegContractMultiplierField {
14358    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14359        self.0.read(raw)
14360    }
14361}
14362
14363impl FieldValueWriter for LegContractMultiplierField {
14364    fn write_to(&self, buf: &mut Vec<u8>) {
14365        self.0.write_to(buf);
14366    }
14367}
14368
14369impl FieldValue for LegContractMultiplierField {}
14370
14371
14372/// `LegContractMultiplierUnitField` is a `INT` field, Tag 1436.
14373pub struct LegContractMultiplierUnitField(pub FIXInt);
14374
14375impl LegContractMultiplierUnitField {
14376
14377    pub fn new(val: isize) -> Self { Self(val) }
14378    pub fn value(&self) -> isize { self.0 }
14379
14380    pub fn tag() -> Tag { tag::LEG_CONTRACT_MULTIPLIER_UNIT }
14381}
14382
14383impl FieldValueReader for LegContractMultiplierUnitField {
14384    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14385        self.0.read(raw)
14386    }
14387}
14388
14389impl FieldValueWriter for LegContractMultiplierUnitField {
14390    fn write_to(&self, buf: &mut Vec<u8>) {
14391        self.0.write_to(buf);
14392    }
14393}
14394
14395impl FieldValue for LegContractMultiplierUnitField {}
14396
14397
14398/// `LegContractSettlMonthField` is a `MONTHYEAR` field, Tag 955.
14399pub struct LegContractSettlMonthField(pub FIXString);
14400
14401impl LegContractSettlMonthField {
14402
14403    pub fn new(val: String) -> Self { Self(val) }
14404    pub fn value(&self) -> &str { &self.0 }
14405
14406    pub fn tag() -> Tag { tag::LEG_CONTRACT_SETTL_MONTH }
14407}
14408
14409impl FieldValueReader for LegContractSettlMonthField {
14410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14411        self.0.read(raw)
14412    }
14413}
14414
14415impl FieldValueWriter for LegContractSettlMonthField {
14416    fn write_to(&self, buf: &mut Vec<u8>) {
14417        self.0.write_to(buf);
14418    }
14419}
14420
14421impl FieldValue for LegContractSettlMonthField {}
14422
14423
14424/// `LegCountryOfIssueField` is a `COUNTRY` field, Tag 596.
14425pub struct LegCountryOfIssueField(pub FIXString);
14426
14427impl LegCountryOfIssueField {
14428
14429    pub fn new(val: String) -> Self { Self(val) }
14430    pub fn value(&self) -> &str { &self.0 }
14431
14432    pub fn tag() -> Tag { tag::LEG_COUNTRY_OF_ISSUE }
14433}
14434
14435impl FieldValueReader for LegCountryOfIssueField {
14436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14437        self.0.read(raw)
14438    }
14439}
14440
14441impl FieldValueWriter for LegCountryOfIssueField {
14442    fn write_to(&self, buf: &mut Vec<u8>) {
14443        self.0.write_to(buf);
14444    }
14445}
14446
14447impl FieldValue for LegCountryOfIssueField {}
14448
14449
14450/// `LegCouponPaymentDateField` is a `LOCALMKTDATE` field, Tag 248.
14451pub struct LegCouponPaymentDateField(pub FIXString);
14452
14453impl LegCouponPaymentDateField {
14454
14455    pub fn new(val: String) -> Self { Self(val) }
14456    pub fn value(&self) -> &str { &self.0 }
14457
14458    pub fn tag() -> Tag { tag::LEG_COUPON_PAYMENT_DATE }
14459}
14460
14461impl FieldValueReader for LegCouponPaymentDateField {
14462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14463        self.0.read(raw)
14464    }
14465}
14466
14467impl FieldValueWriter for LegCouponPaymentDateField {
14468    fn write_to(&self, buf: &mut Vec<u8>) {
14469        self.0.write_to(buf);
14470    }
14471}
14472
14473impl FieldValue for LegCouponPaymentDateField {}
14474
14475
14476/// `LegCouponRateField` is a `PERCENTAGE` field, Tag 615.
14477pub struct LegCouponRateField(pub FIXDecimal);
14478
14479impl LegCouponRateField {
14480
14481    pub fn new(val: Decimal, scale: i32) -> Self {
14482        Self(FIXDecimal { decimal: val, scale })
14483    }
14484    pub fn value(&self) -> Decimal { self.0.decimal }
14485
14486    pub fn tag() -> Tag { tag::LEG_COUPON_RATE }
14487}
14488
14489impl FieldValueReader for LegCouponRateField {
14490    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14491        self.0.read(raw)
14492    }
14493}
14494
14495impl FieldValueWriter for LegCouponRateField {
14496    fn write_to(&self, buf: &mut Vec<u8>) {
14497        self.0.write_to(buf);
14498    }
14499}
14500
14501impl FieldValue for LegCouponRateField {}
14502
14503
14504/// `LegCoveredOrUncoveredField` is a `INT` field, Tag 565.
14505pub struct LegCoveredOrUncoveredField(pub FIXInt);
14506
14507impl LegCoveredOrUncoveredField {
14508
14509    pub fn new(val: isize) -> Self { Self(val) }
14510    pub fn value(&self) -> isize { self.0 }
14511
14512    pub fn tag() -> Tag { tag::LEG_COVERED_OR_UNCOVERED }
14513}
14514
14515impl FieldValueReader for LegCoveredOrUncoveredField {
14516    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14517        self.0.read(raw)
14518    }
14519}
14520
14521impl FieldValueWriter for LegCoveredOrUncoveredField {
14522    fn write_to(&self, buf: &mut Vec<u8>) {
14523        self.0.write_to(buf);
14524    }
14525}
14526
14527impl FieldValue for LegCoveredOrUncoveredField {}
14528
14529
14530/// `LegCreditRatingField` is a `STRING` field, Tag 257.
14531pub struct LegCreditRatingField(pub FIXString);
14532
14533impl LegCreditRatingField {
14534
14535    pub fn new(val: String) -> Self { Self(val) }
14536    pub fn value(&self) -> &str { &self.0 }
14537
14538    pub fn tag() -> Tag { tag::LEG_CREDIT_RATING }
14539}
14540
14541impl FieldValueReader for LegCreditRatingField {
14542    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14543        self.0.read(raw)
14544    }
14545}
14546
14547impl FieldValueWriter for LegCreditRatingField {
14548    fn write_to(&self, buf: &mut Vec<u8>) {
14549        self.0.write_to(buf);
14550    }
14551}
14552
14553impl FieldValue for LegCreditRatingField {}
14554
14555
14556/// `LegCurrencyField` is a `CURRENCY` field, Tag 556.
14557pub struct LegCurrencyField(pub FIXString);
14558
14559impl LegCurrencyField {
14560
14561    pub fn new(val: String) -> Self { Self(val) }
14562    pub fn value(&self) -> &str { &self.0 }
14563
14564    pub fn tag() -> Tag { tag::LEG_CURRENCY }
14565}
14566
14567impl FieldValueReader for LegCurrencyField {
14568    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14569        self.0.read(raw)
14570    }
14571}
14572
14573impl FieldValueWriter for LegCurrencyField {
14574    fn write_to(&self, buf: &mut Vec<u8>) {
14575        self.0.write_to(buf);
14576    }
14577}
14578
14579impl FieldValue for LegCurrencyField {}
14580
14581
14582/// `LegCurrencyRatioField` is a `FLOAT` field, Tag 1383.
14583pub struct LegCurrencyRatioField(pub FIXDecimal);
14584
14585impl LegCurrencyRatioField {
14586
14587    pub fn new(val: Decimal, scale: i32) -> Self {
14588        Self(FIXDecimal { decimal: val, scale })
14589    }
14590    pub fn value(&self) -> Decimal { self.0.decimal }
14591
14592    pub fn tag() -> Tag { tag::LEG_CURRENCY_RATIO }
14593}
14594
14595impl FieldValueReader for LegCurrencyRatioField {
14596    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14597        self.0.read(raw)
14598    }
14599}
14600
14601impl FieldValueWriter for LegCurrencyRatioField {
14602    fn write_to(&self, buf: &mut Vec<u8>) {
14603        self.0.write_to(buf);
14604    }
14605}
14606
14607impl FieldValue for LegCurrencyRatioField {}
14608
14609
14610/// `LegDatedDateField` is a `LOCALMKTDATE` field, Tag 739.
14611pub struct LegDatedDateField(pub FIXString);
14612
14613impl LegDatedDateField {
14614
14615    pub fn new(val: String) -> Self { Self(val) }
14616    pub fn value(&self) -> &str { &self.0 }
14617
14618    pub fn tag() -> Tag { tag::LEG_DATED_DATE }
14619}
14620
14621impl FieldValueReader for LegDatedDateField {
14622    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14623        self.0.read(raw)
14624    }
14625}
14626
14627impl FieldValueWriter for LegDatedDateField {
14628    fn write_to(&self, buf: &mut Vec<u8>) {
14629        self.0.write_to(buf);
14630    }
14631}
14632
14633impl FieldValue for LegDatedDateField {}
14634
14635
14636/// `LegDividendYieldField` is a `PERCENTAGE` field, Tag 1381.
14637pub struct LegDividendYieldField(pub FIXDecimal);
14638
14639impl LegDividendYieldField {
14640
14641    pub fn new(val: Decimal, scale: i32) -> Self {
14642        Self(FIXDecimal { decimal: val, scale })
14643    }
14644    pub fn value(&self) -> Decimal { self.0.decimal }
14645
14646    pub fn tag() -> Tag { tag::LEG_DIVIDEND_YIELD }
14647}
14648
14649impl FieldValueReader for LegDividendYieldField {
14650    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14651        self.0.read(raw)
14652    }
14653}
14654
14655impl FieldValueWriter for LegDividendYieldField {
14656    fn write_to(&self, buf: &mut Vec<u8>) {
14657        self.0.write_to(buf);
14658    }
14659}
14660
14661impl FieldValue for LegDividendYieldField {}
14662
14663
14664/// `LegExecInstField` is a `MULTIPLECHARVALUE` field, Tag 1384.
14665pub struct LegExecInstField(pub FIXString);
14666
14667impl LegExecInstField {
14668
14669    pub fn new(val: String) -> Self { Self(val) }
14670    pub fn value(&self) -> &str { &self.0 }
14671
14672    pub fn tag() -> Tag { tag::LEG_EXEC_INST }
14673}
14674
14675impl FieldValueReader for LegExecInstField {
14676    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14677        self.0.read(raw)
14678    }
14679}
14680
14681impl FieldValueWriter for LegExecInstField {
14682    fn write_to(&self, buf: &mut Vec<u8>) {
14683        self.0.write_to(buf);
14684    }
14685}
14686
14687impl FieldValue for LegExecInstField {}
14688
14689
14690/// `LegExerciseStyleField` is a `INT` field, Tag 1420.
14691pub struct LegExerciseStyleField(pub FIXInt);
14692
14693impl LegExerciseStyleField {
14694
14695    pub fn new(val: isize) -> Self { Self(val) }
14696    pub fn value(&self) -> isize { self.0 }
14697
14698    pub fn tag() -> Tag { tag::LEG_EXERCISE_STYLE }
14699}
14700
14701impl FieldValueReader for LegExerciseStyleField {
14702    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14703        self.0.read(raw)
14704    }
14705}
14706
14707impl FieldValueWriter for LegExerciseStyleField {
14708    fn write_to(&self, buf: &mut Vec<u8>) {
14709        self.0.write_to(buf);
14710    }
14711}
14712
14713impl FieldValue for LegExerciseStyleField {}
14714
14715
14716/// `LegFactorField` is a `FLOAT` field, Tag 253.
14717pub struct LegFactorField(pub FIXDecimal);
14718
14719impl LegFactorField {
14720
14721    pub fn new(val: Decimal, scale: i32) -> Self {
14722        Self(FIXDecimal { decimal: val, scale })
14723    }
14724    pub fn value(&self) -> Decimal { self.0.decimal }
14725
14726    pub fn tag() -> Tag { tag::LEG_FACTOR }
14727}
14728
14729impl FieldValueReader for LegFactorField {
14730    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14731        self.0.read(raw)
14732    }
14733}
14734
14735impl FieldValueWriter for LegFactorField {
14736    fn write_to(&self, buf: &mut Vec<u8>) {
14737        self.0.write_to(buf);
14738    }
14739}
14740
14741impl FieldValue for LegFactorField {}
14742
14743
14744/// `LegFlowScheduleTypeField` is a `INT` field, Tag 1440.
14745pub struct LegFlowScheduleTypeField(pub FIXInt);
14746
14747impl LegFlowScheduleTypeField {
14748
14749    pub fn new(val: isize) -> Self { Self(val) }
14750    pub fn value(&self) -> isize { self.0 }
14751
14752    pub fn tag() -> Tag { tag::LEG_FLOW_SCHEDULE_TYPE }
14753}
14754
14755impl FieldValueReader for LegFlowScheduleTypeField {
14756    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14757        self.0.read(raw)
14758    }
14759}
14760
14761impl FieldValueWriter for LegFlowScheduleTypeField {
14762    fn write_to(&self, buf: &mut Vec<u8>) {
14763        self.0.write_to(buf);
14764    }
14765}
14766
14767impl FieldValue for LegFlowScheduleTypeField {}
14768
14769
14770/// `LegFutSettDateField` is a `LOCALMKTDATE` field, Tag 588.
14771pub struct LegFutSettDateField(pub FIXString);
14772
14773impl LegFutSettDateField {
14774
14775    pub fn new(val: String) -> Self { Self(val) }
14776    pub fn value(&self) -> &str { &self.0 }
14777
14778    pub fn tag() -> Tag { tag::LEG_FUT_SETT_DATE }
14779}
14780
14781impl FieldValueReader for LegFutSettDateField {
14782    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14783        self.0.read(raw)
14784    }
14785}
14786
14787impl FieldValueWriter for LegFutSettDateField {
14788    fn write_to(&self, buf: &mut Vec<u8>) {
14789        self.0.write_to(buf);
14790    }
14791}
14792
14793impl FieldValue for LegFutSettDateField {}
14794
14795
14796/// `LegGrossTradeAmtField` is a `AMT` field, Tag 1075.
14797pub struct LegGrossTradeAmtField(pub FIXDecimal);
14798
14799impl LegGrossTradeAmtField {
14800
14801    pub fn new(val: Decimal, scale: i32) -> Self {
14802        Self(FIXDecimal { decimal: val, scale })
14803    }
14804    pub fn value(&self) -> Decimal { self.0.decimal }
14805
14806    pub fn tag() -> Tag { tag::LEG_GROSS_TRADE_AMT }
14807}
14808
14809impl FieldValueReader for LegGrossTradeAmtField {
14810    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14811        self.0.read(raw)
14812    }
14813}
14814
14815impl FieldValueWriter for LegGrossTradeAmtField {
14816    fn write_to(&self, buf: &mut Vec<u8>) {
14817        self.0.write_to(buf);
14818    }
14819}
14820
14821impl FieldValue for LegGrossTradeAmtField {}
14822
14823
14824/// `LegIOIQtyField` is a `STRING` field, Tag 682.
14825pub struct LegIOIQtyField(pub FIXString);
14826
14827impl LegIOIQtyField {
14828
14829    pub fn new(val: String) -> Self { Self(val) }
14830    pub fn value(&self) -> &str { &self.0 }
14831
14832    pub fn tag() -> Tag { tag::LEG_IOI_QTY }
14833}
14834
14835impl FieldValueReader for LegIOIQtyField {
14836    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14837        self.0.read(raw)
14838    }
14839}
14840
14841impl FieldValueWriter for LegIOIQtyField {
14842    fn write_to(&self, buf: &mut Vec<u8>) {
14843        self.0.write_to(buf);
14844    }
14845}
14846
14847impl FieldValue for LegIOIQtyField {}
14848
14849
14850/// `LegIndividualAllocIDField` is a `STRING` field, Tag 672.
14851pub struct LegIndividualAllocIDField(pub FIXString);
14852
14853impl LegIndividualAllocIDField {
14854
14855    pub fn new(val: String) -> Self { Self(val) }
14856    pub fn value(&self) -> &str { &self.0 }
14857
14858    pub fn tag() -> Tag { tag::LEG_INDIVIDUAL_ALLOC_ID }
14859}
14860
14861impl FieldValueReader for LegIndividualAllocIDField {
14862    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14863        self.0.read(raw)
14864    }
14865}
14866
14867impl FieldValueWriter for LegIndividualAllocIDField {
14868    fn write_to(&self, buf: &mut Vec<u8>) {
14869        self.0.write_to(buf);
14870    }
14871}
14872
14873impl FieldValue for LegIndividualAllocIDField {}
14874
14875
14876/// `LegInstrRegistryField` is a `STRING` field, Tag 599.
14877pub struct LegInstrRegistryField(pub FIXString);
14878
14879impl LegInstrRegistryField {
14880
14881    pub fn new(val: String) -> Self { Self(val) }
14882    pub fn value(&self) -> &str { &self.0 }
14883
14884    pub fn tag() -> Tag { tag::LEG_INSTR_REGISTRY }
14885}
14886
14887impl FieldValueReader for LegInstrRegistryField {
14888    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14889        self.0.read(raw)
14890    }
14891}
14892
14893impl FieldValueWriter for LegInstrRegistryField {
14894    fn write_to(&self, buf: &mut Vec<u8>) {
14895        self.0.write_to(buf);
14896    }
14897}
14898
14899impl FieldValue for LegInstrRegistryField {}
14900
14901
14902/// `LegInterestAccrualDateField` is a `LOCALMKTDATE` field, Tag 956.
14903pub struct LegInterestAccrualDateField(pub FIXString);
14904
14905impl LegInterestAccrualDateField {
14906
14907    pub fn new(val: String) -> Self { Self(val) }
14908    pub fn value(&self) -> &str { &self.0 }
14909
14910    pub fn tag() -> Tag { tag::LEG_INTEREST_ACCRUAL_DATE }
14911}
14912
14913impl FieldValueReader for LegInterestAccrualDateField {
14914    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14915        self.0.read(raw)
14916    }
14917}
14918
14919impl FieldValueWriter for LegInterestAccrualDateField {
14920    fn write_to(&self, buf: &mut Vec<u8>) {
14921        self.0.write_to(buf);
14922    }
14923}
14924
14925impl FieldValue for LegInterestAccrualDateField {}
14926
14927
14928/// `LegIssueDateField` is a `LOCALMKTDATE` field, Tag 249.
14929pub struct LegIssueDateField(pub FIXString);
14930
14931impl LegIssueDateField {
14932
14933    pub fn new(val: String) -> Self { Self(val) }
14934    pub fn value(&self) -> &str { &self.0 }
14935
14936    pub fn tag() -> Tag { tag::LEG_ISSUE_DATE }
14937}
14938
14939impl FieldValueReader for LegIssueDateField {
14940    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14941        self.0.read(raw)
14942    }
14943}
14944
14945impl FieldValueWriter for LegIssueDateField {
14946    fn write_to(&self, buf: &mut Vec<u8>) {
14947        self.0.write_to(buf);
14948    }
14949}
14950
14951impl FieldValue for LegIssueDateField {}
14952
14953
14954/// `LegIssuerField` is a `STRING` field, Tag 617.
14955pub struct LegIssuerField(pub FIXString);
14956
14957impl LegIssuerField {
14958
14959    pub fn new(val: String) -> Self { Self(val) }
14960    pub fn value(&self) -> &str { &self.0 }
14961
14962    pub fn tag() -> Tag { tag::LEG_ISSUER }
14963}
14964
14965impl FieldValueReader for LegIssuerField {
14966    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14967        self.0.read(raw)
14968    }
14969}
14970
14971impl FieldValueWriter for LegIssuerField {
14972    fn write_to(&self, buf: &mut Vec<u8>) {
14973        self.0.write_to(buf);
14974    }
14975}
14976
14977impl FieldValue for LegIssuerField {}
14978
14979
14980/// `LegLastForwardPointsField` is a `PRICEOFFSET` field, Tag 1073.
14981pub struct LegLastForwardPointsField(pub FIXDecimal);
14982
14983impl LegLastForwardPointsField {
14984
14985    pub fn new(val: Decimal, scale: i32) -> Self {
14986        Self(FIXDecimal { decimal: val, scale })
14987    }
14988    pub fn value(&self) -> Decimal { self.0.decimal }
14989
14990    pub fn tag() -> Tag { tag::LEG_LAST_FORWARD_POINTS }
14991}
14992
14993impl FieldValueReader for LegLastForwardPointsField {
14994    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
14995        self.0.read(raw)
14996    }
14997}
14998
14999impl FieldValueWriter for LegLastForwardPointsField {
15000    fn write_to(&self, buf: &mut Vec<u8>) {
15001        self.0.write_to(buf);
15002    }
15003}
15004
15005impl FieldValue for LegLastForwardPointsField {}
15006
15007
15008/// `LegLastPxField` is a `PRICE` field, Tag 637.
15009pub struct LegLastPxField(pub FIXDecimal);
15010
15011impl LegLastPxField {
15012
15013    pub fn new(val: Decimal, scale: i32) -> Self {
15014        Self(FIXDecimal { decimal: val, scale })
15015    }
15016    pub fn value(&self) -> Decimal { self.0.decimal }
15017
15018    pub fn tag() -> Tag { tag::LEG_LAST_PX }
15019}
15020
15021impl FieldValueReader for LegLastPxField {
15022    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15023        self.0.read(raw)
15024    }
15025}
15026
15027impl FieldValueWriter for LegLastPxField {
15028    fn write_to(&self, buf: &mut Vec<u8>) {
15029        self.0.write_to(buf);
15030    }
15031}
15032
15033impl FieldValue for LegLastPxField {}
15034
15035
15036/// `LegLastQtyField` is a `QTY` field, Tag 1418.
15037pub struct LegLastQtyField(pub FIXDecimal);
15038
15039impl LegLastQtyField {
15040
15041    pub fn new(val: Decimal, scale: i32) -> Self {
15042        Self(FIXDecimal { decimal: val, scale })
15043    }
15044    pub fn value(&self) -> Decimal { self.0.decimal }
15045
15046    pub fn tag() -> Tag { tag::LEG_LAST_QTY }
15047}
15048
15049impl FieldValueReader for LegLastQtyField {
15050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15051        self.0.read(raw)
15052    }
15053}
15054
15055impl FieldValueWriter for LegLastQtyField {
15056    fn write_to(&self, buf: &mut Vec<u8>) {
15057        self.0.write_to(buf);
15058    }
15059}
15060
15061impl FieldValue for LegLastQtyField {}
15062
15063
15064/// `LegLocaleOfIssueField` is a `STRING` field, Tag 598.
15065pub struct LegLocaleOfIssueField(pub FIXString);
15066
15067impl LegLocaleOfIssueField {
15068
15069    pub fn new(val: String) -> Self { Self(val) }
15070    pub fn value(&self) -> &str { &self.0 }
15071
15072    pub fn tag() -> Tag { tag::LEG_LOCALE_OF_ISSUE }
15073}
15074
15075impl FieldValueReader for LegLocaleOfIssueField {
15076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15077        self.0.read(raw)
15078    }
15079}
15080
15081impl FieldValueWriter for LegLocaleOfIssueField {
15082    fn write_to(&self, buf: &mut Vec<u8>) {
15083        self.0.write_to(buf);
15084    }
15085}
15086
15087impl FieldValue for LegLocaleOfIssueField {}
15088
15089
15090/// `LegMaturityDateField` is a `LOCALMKTDATE` field, Tag 611.
15091pub struct LegMaturityDateField(pub FIXString);
15092
15093impl LegMaturityDateField {
15094
15095    pub fn new(val: String) -> Self { Self(val) }
15096    pub fn value(&self) -> &str { &self.0 }
15097
15098    pub fn tag() -> Tag { tag::LEG_MATURITY_DATE }
15099}
15100
15101impl FieldValueReader for LegMaturityDateField {
15102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15103        self.0.read(raw)
15104    }
15105}
15106
15107impl FieldValueWriter for LegMaturityDateField {
15108    fn write_to(&self, buf: &mut Vec<u8>) {
15109        self.0.write_to(buf);
15110    }
15111}
15112
15113impl FieldValue for LegMaturityDateField {}
15114
15115
15116/// `LegMaturityMonthYearField` is a `MONTHYEAR` field, Tag 610.
15117pub struct LegMaturityMonthYearField(pub FIXString);
15118
15119impl LegMaturityMonthYearField {
15120
15121    pub fn new(val: String) -> Self { Self(val) }
15122    pub fn value(&self) -> &str { &self.0 }
15123
15124    pub fn tag() -> Tag { tag::LEG_MATURITY_MONTH_YEAR }
15125}
15126
15127impl FieldValueReader for LegMaturityMonthYearField {
15128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15129        self.0.read(raw)
15130    }
15131}
15132
15133impl FieldValueWriter for LegMaturityMonthYearField {
15134    fn write_to(&self, buf: &mut Vec<u8>) {
15135        self.0.write_to(buf);
15136    }
15137}
15138
15139impl FieldValue for LegMaturityMonthYearField {}
15140
15141
15142/// `LegMaturityTimeField` is a `TZTIMEONLY` field, Tag 1212.
15143pub struct LegMaturityTimeField(pub FIXString);
15144
15145impl LegMaturityTimeField {
15146
15147    pub fn new(val: String) -> Self { Self(val) }
15148    pub fn value(&self) -> &str { &self.0 }
15149
15150    pub fn tag() -> Tag { tag::LEG_MATURITY_TIME }
15151}
15152
15153impl FieldValueReader for LegMaturityTimeField {
15154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15155        self.0.read(raw)
15156    }
15157}
15158
15159impl FieldValueWriter for LegMaturityTimeField {
15160    fn write_to(&self, buf: &mut Vec<u8>) {
15161        self.0.write_to(buf);
15162    }
15163}
15164
15165impl FieldValue for LegMaturityTimeField {}
15166
15167
15168/// `LegNumberField` is a `INT` field, Tag 1152.
15169pub struct LegNumberField(pub FIXInt);
15170
15171impl LegNumberField {
15172
15173    pub fn new(val: isize) -> Self { Self(val) }
15174    pub fn value(&self) -> isize { self.0 }
15175
15176    pub fn tag() -> Tag { tag::LEG_NUMBER }
15177}
15178
15179impl FieldValueReader for LegNumberField {
15180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15181        self.0.read(raw)
15182    }
15183}
15184
15185impl FieldValueWriter for LegNumberField {
15186    fn write_to(&self, buf: &mut Vec<u8>) {
15187        self.0.write_to(buf);
15188    }
15189}
15190
15191impl FieldValue for LegNumberField {}
15192
15193
15194/// `LegOfferForwardPointsField` is a `PRICEOFFSET` field, Tag 1068.
15195pub struct LegOfferForwardPointsField(pub FIXDecimal);
15196
15197impl LegOfferForwardPointsField {
15198
15199    pub fn new(val: Decimal, scale: i32) -> Self {
15200        Self(FIXDecimal { decimal: val, scale })
15201    }
15202    pub fn value(&self) -> Decimal { self.0.decimal }
15203
15204    pub fn tag() -> Tag { tag::LEG_OFFER_FORWARD_POINTS }
15205}
15206
15207impl FieldValueReader for LegOfferForwardPointsField {
15208    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15209        self.0.read(raw)
15210    }
15211}
15212
15213impl FieldValueWriter for LegOfferForwardPointsField {
15214    fn write_to(&self, buf: &mut Vec<u8>) {
15215        self.0.write_to(buf);
15216    }
15217}
15218
15219impl FieldValue for LegOfferForwardPointsField {}
15220
15221
15222/// `LegOfferPxField` is a `PRICE` field, Tag 684.
15223pub struct LegOfferPxField(pub FIXDecimal);
15224
15225impl LegOfferPxField {
15226
15227    pub fn new(val: Decimal, scale: i32) -> Self {
15228        Self(FIXDecimal { decimal: val, scale })
15229    }
15230    pub fn value(&self) -> Decimal { self.0.decimal }
15231
15232    pub fn tag() -> Tag { tag::LEG_OFFER_PX }
15233}
15234
15235impl FieldValueReader for LegOfferPxField {
15236    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15237        self.0.read(raw)
15238    }
15239}
15240
15241impl FieldValueWriter for LegOfferPxField {
15242    fn write_to(&self, buf: &mut Vec<u8>) {
15243        self.0.write_to(buf);
15244    }
15245}
15246
15247impl FieldValue for LegOfferPxField {}
15248
15249
15250/// `LegOptAttributeField` is a `CHAR` field, Tag 613.
15251pub struct LegOptAttributeField(pub FIXString);
15252
15253impl LegOptAttributeField {
15254
15255    pub fn new(val: String) -> Self { Self(val) }
15256    pub fn value(&self) -> &str { &self.0 }
15257
15258    pub fn tag() -> Tag { tag::LEG_OPT_ATTRIBUTE }
15259}
15260
15261impl FieldValueReader for LegOptAttributeField {
15262    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15263        self.0.read(raw)
15264    }
15265}
15266
15267impl FieldValueWriter for LegOptAttributeField {
15268    fn write_to(&self, buf: &mut Vec<u8>) {
15269        self.0.write_to(buf);
15270    }
15271}
15272
15273impl FieldValue for LegOptAttributeField {}
15274
15275
15276/// `LegOptionRatioField` is a `FLOAT` field, Tag 1017.
15277pub struct LegOptionRatioField(pub FIXDecimal);
15278
15279impl LegOptionRatioField {
15280
15281    pub fn new(val: Decimal, scale: i32) -> Self {
15282        Self(FIXDecimal { decimal: val, scale })
15283    }
15284    pub fn value(&self) -> Decimal { self.0.decimal }
15285
15286    pub fn tag() -> Tag { tag::LEG_OPTION_RATIO }
15287}
15288
15289impl FieldValueReader for LegOptionRatioField {
15290    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15291        self.0.read(raw)
15292    }
15293}
15294
15295impl FieldValueWriter for LegOptionRatioField {
15296    fn write_to(&self, buf: &mut Vec<u8>) {
15297        self.0.write_to(buf);
15298    }
15299}
15300
15301impl FieldValue for LegOptionRatioField {}
15302
15303
15304/// `LegOrderQtyField` is a `QTY` field, Tag 685.
15305pub struct LegOrderQtyField(pub FIXDecimal);
15306
15307impl LegOrderQtyField {
15308
15309    pub fn new(val: Decimal, scale: i32) -> Self {
15310        Self(FIXDecimal { decimal: val, scale })
15311    }
15312    pub fn value(&self) -> Decimal { self.0.decimal }
15313
15314    pub fn tag() -> Tag { tag::LEG_ORDER_QTY }
15315}
15316
15317impl FieldValueReader for LegOrderQtyField {
15318    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15319        self.0.read(raw)
15320    }
15321}
15322
15323impl FieldValueWriter for LegOrderQtyField {
15324    fn write_to(&self, buf: &mut Vec<u8>) {
15325        self.0.write_to(buf);
15326    }
15327}
15328
15329impl FieldValue for LegOrderQtyField {}
15330
15331
15332/// `LegPoolField` is a `STRING` field, Tag 740.
15333pub struct LegPoolField(pub FIXString);
15334
15335impl LegPoolField {
15336
15337    pub fn new(val: String) -> Self { Self(val) }
15338    pub fn value(&self) -> &str { &self.0 }
15339
15340    pub fn tag() -> Tag { tag::LEG_POOL }
15341}
15342
15343impl FieldValueReader for LegPoolField {
15344    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15345        self.0.read(raw)
15346    }
15347}
15348
15349impl FieldValueWriter for LegPoolField {
15350    fn write_to(&self, buf: &mut Vec<u8>) {
15351        self.0.write_to(buf);
15352    }
15353}
15354
15355impl FieldValue for LegPoolField {}
15356
15357
15358/// `LegPositionEffectField` is a `CHAR` field, Tag 564.
15359pub struct LegPositionEffectField(pub FIXString);
15360
15361impl LegPositionEffectField {
15362
15363    pub fn new(val: String) -> Self { Self(val) }
15364    pub fn value(&self) -> &str { &self.0 }
15365
15366    pub fn tag() -> Tag { tag::LEG_POSITION_EFFECT }
15367}
15368
15369impl FieldValueReader for LegPositionEffectField {
15370    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15371        self.0.read(raw)
15372    }
15373}
15374
15375impl FieldValueWriter for LegPositionEffectField {
15376    fn write_to(&self, buf: &mut Vec<u8>) {
15377        self.0.write_to(buf);
15378    }
15379}
15380
15381impl FieldValue for LegPositionEffectField {}
15382
15383
15384/// `LegPriceField` is a `PRICE` field, Tag 566.
15385pub struct LegPriceField(pub FIXDecimal);
15386
15387impl LegPriceField {
15388
15389    pub fn new(val: Decimal, scale: i32) -> Self {
15390        Self(FIXDecimal { decimal: val, scale })
15391    }
15392    pub fn value(&self) -> Decimal { self.0.decimal }
15393
15394    pub fn tag() -> Tag { tag::LEG_PRICE }
15395}
15396
15397impl FieldValueReader for LegPriceField {
15398    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15399        self.0.read(raw)
15400    }
15401}
15402
15403impl FieldValueWriter for LegPriceField {
15404    fn write_to(&self, buf: &mut Vec<u8>) {
15405        self.0.write_to(buf);
15406    }
15407}
15408
15409impl FieldValue for LegPriceField {}
15410
15411
15412/// `LegPriceTypeField` is a `INT` field, Tag 686.
15413pub struct LegPriceTypeField(pub FIXInt);
15414
15415impl LegPriceTypeField {
15416
15417    pub fn new(val: isize) -> Self { Self(val) }
15418    pub fn value(&self) -> isize { self.0 }
15419
15420    pub fn tag() -> Tag { tag::LEG_PRICE_TYPE }
15421}
15422
15423impl FieldValueReader for LegPriceTypeField {
15424    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15425        self.0.read(raw)
15426    }
15427}
15428
15429impl FieldValueWriter for LegPriceTypeField {
15430    fn write_to(&self, buf: &mut Vec<u8>) {
15431        self.0.write_to(buf);
15432    }
15433}
15434
15435impl FieldValue for LegPriceTypeField {}
15436
15437
15438/// `LegPriceUnitOfMeasureField` is a `STRING` field, Tag 1421.
15439pub struct LegPriceUnitOfMeasureField(pub FIXString);
15440
15441impl LegPriceUnitOfMeasureField {
15442
15443    pub fn new(val: String) -> Self { Self(val) }
15444    pub fn value(&self) -> &str { &self.0 }
15445
15446    pub fn tag() -> Tag { tag::LEG_PRICE_UNIT_OF_MEASURE }
15447}
15448
15449impl FieldValueReader for LegPriceUnitOfMeasureField {
15450    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15451        self.0.read(raw)
15452    }
15453}
15454
15455impl FieldValueWriter for LegPriceUnitOfMeasureField {
15456    fn write_to(&self, buf: &mut Vec<u8>) {
15457        self.0.write_to(buf);
15458    }
15459}
15460
15461impl FieldValue for LegPriceUnitOfMeasureField {}
15462
15463
15464/// `LegPriceUnitOfMeasureQtyField` is a `QTY` field, Tag 1422.
15465pub struct LegPriceUnitOfMeasureQtyField(pub FIXDecimal);
15466
15467impl LegPriceUnitOfMeasureQtyField {
15468
15469    pub fn new(val: Decimal, scale: i32) -> Self {
15470        Self(FIXDecimal { decimal: val, scale })
15471    }
15472    pub fn value(&self) -> Decimal { self.0.decimal }
15473
15474    pub fn tag() -> Tag { tag::LEG_PRICE_UNIT_OF_MEASURE_QTY }
15475}
15476
15477impl FieldValueReader for LegPriceUnitOfMeasureQtyField {
15478    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15479        self.0.read(raw)
15480    }
15481}
15482
15483impl FieldValueWriter for LegPriceUnitOfMeasureQtyField {
15484    fn write_to(&self, buf: &mut Vec<u8>) {
15485        self.0.write_to(buf);
15486    }
15487}
15488
15489impl FieldValue for LegPriceUnitOfMeasureQtyField {}
15490
15491
15492/// `LegProductField` is a `INT` field, Tag 607.
15493pub struct LegProductField(pub FIXInt);
15494
15495impl LegProductField {
15496
15497    pub fn new(val: isize) -> Self { Self(val) }
15498    pub fn value(&self) -> isize { self.0 }
15499
15500    pub fn tag() -> Tag { tag::LEG_PRODUCT }
15501}
15502
15503impl FieldValueReader for LegProductField {
15504    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15505        self.0.read(raw)
15506    }
15507}
15508
15509impl FieldValueWriter for LegProductField {
15510    fn write_to(&self, buf: &mut Vec<u8>) {
15511        self.0.write_to(buf);
15512    }
15513}
15514
15515impl FieldValue for LegProductField {}
15516
15517
15518/// `LegPutOrCallField` is a `INT` field, Tag 1358.
15519pub struct LegPutOrCallField(pub FIXInt);
15520
15521impl LegPutOrCallField {
15522
15523    pub fn new(val: isize) -> Self { Self(val) }
15524    pub fn value(&self) -> isize { self.0 }
15525
15526    pub fn tag() -> Tag { tag::LEG_PUT_OR_CALL }
15527}
15528
15529impl FieldValueReader for LegPutOrCallField {
15530    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15531        self.0.read(raw)
15532    }
15533}
15534
15535impl FieldValueWriter for LegPutOrCallField {
15536    fn write_to(&self, buf: &mut Vec<u8>) {
15537        self.0.write_to(buf);
15538    }
15539}
15540
15541impl FieldValue for LegPutOrCallField {}
15542
15543
15544/// `LegQtyField` is a `QTY` field, Tag 687.
15545pub struct LegQtyField(pub FIXDecimal);
15546
15547impl LegQtyField {
15548
15549    pub fn new(val: Decimal, scale: i32) -> Self {
15550        Self(FIXDecimal { decimal: val, scale })
15551    }
15552    pub fn value(&self) -> Decimal { self.0.decimal }
15553
15554    pub fn tag() -> Tag { tag::LEG_QTY }
15555}
15556
15557impl FieldValueReader for LegQtyField {
15558    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15559        self.0.read(raw)
15560    }
15561}
15562
15563impl FieldValueWriter for LegQtyField {
15564    fn write_to(&self, buf: &mut Vec<u8>) {
15565        self.0.write_to(buf);
15566    }
15567}
15568
15569impl FieldValue for LegQtyField {}
15570
15571
15572/// `LegRatioQtyField` is a `FLOAT` field, Tag 623.
15573pub struct LegRatioQtyField(pub FIXDecimal);
15574
15575impl LegRatioQtyField {
15576
15577    pub fn new(val: Decimal, scale: i32) -> Self {
15578        Self(FIXDecimal { decimal: val, scale })
15579    }
15580    pub fn value(&self) -> Decimal { self.0.decimal }
15581
15582    pub fn tag() -> Tag { tag::LEG_RATIO_QTY }
15583}
15584
15585impl FieldValueReader for LegRatioQtyField {
15586    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15587        self.0.read(raw)
15588    }
15589}
15590
15591impl FieldValueWriter for LegRatioQtyField {
15592    fn write_to(&self, buf: &mut Vec<u8>) {
15593        self.0.write_to(buf);
15594    }
15595}
15596
15597impl FieldValue for LegRatioQtyField {}
15598
15599
15600/// `LegRedemptionDateField` is a `LOCALMKTDATE` field, Tag 254.
15601pub struct LegRedemptionDateField(pub FIXString);
15602
15603impl LegRedemptionDateField {
15604
15605    pub fn new(val: String) -> Self { Self(val) }
15606    pub fn value(&self) -> &str { &self.0 }
15607
15608    pub fn tag() -> Tag { tag::LEG_REDEMPTION_DATE }
15609}
15610
15611impl FieldValueReader for LegRedemptionDateField {
15612    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15613        self.0.read(raw)
15614    }
15615}
15616
15617impl FieldValueWriter for LegRedemptionDateField {
15618    fn write_to(&self, buf: &mut Vec<u8>) {
15619        self.0.write_to(buf);
15620    }
15621}
15622
15623impl FieldValue for LegRedemptionDateField {}
15624
15625
15626/// `LegRefIDField` is a `STRING` field, Tag 654.
15627pub struct LegRefIDField(pub FIXString);
15628
15629impl LegRefIDField {
15630
15631    pub fn new(val: String) -> Self { Self(val) }
15632    pub fn value(&self) -> &str { &self.0 }
15633
15634    pub fn tag() -> Tag { tag::LEG_REF_ID }
15635}
15636
15637impl FieldValueReader for LegRefIDField {
15638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15639        self.0.read(raw)
15640    }
15641}
15642
15643impl FieldValueWriter for LegRefIDField {
15644    fn write_to(&self, buf: &mut Vec<u8>) {
15645        self.0.write_to(buf);
15646    }
15647}
15648
15649impl FieldValue for LegRefIDField {}
15650
15651
15652/// `LegRepoCollateralSecurityTypeField` is a `INT` field, Tag 250.
15653pub struct LegRepoCollateralSecurityTypeField(pub FIXInt);
15654
15655impl LegRepoCollateralSecurityTypeField {
15656
15657    pub fn new(val: isize) -> Self { Self(val) }
15658    pub fn value(&self) -> isize { self.0 }
15659
15660    pub fn tag() -> Tag { tag::LEG_REPO_COLLATERAL_SECURITY_TYPE }
15661}
15662
15663impl FieldValueReader for LegRepoCollateralSecurityTypeField {
15664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15665        self.0.read(raw)
15666    }
15667}
15668
15669impl FieldValueWriter for LegRepoCollateralSecurityTypeField {
15670    fn write_to(&self, buf: &mut Vec<u8>) {
15671        self.0.write_to(buf);
15672    }
15673}
15674
15675impl FieldValue for LegRepoCollateralSecurityTypeField {}
15676
15677
15678/// `LegReportIDField` is a `STRING` field, Tag 990.
15679pub struct LegReportIDField(pub FIXString);
15680
15681impl LegReportIDField {
15682
15683    pub fn new(val: String) -> Self { Self(val) }
15684    pub fn value(&self) -> &str { &self.0 }
15685
15686    pub fn tag() -> Tag { tag::LEG_REPORT_ID }
15687}
15688
15689impl FieldValueReader for LegReportIDField {
15690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15691        self.0.read(raw)
15692    }
15693}
15694
15695impl FieldValueWriter for LegReportIDField {
15696    fn write_to(&self, buf: &mut Vec<u8>) {
15697        self.0.write_to(buf);
15698    }
15699}
15700
15701impl FieldValue for LegReportIDField {}
15702
15703
15704/// `LegRepurchaseRateField` is a `PERCENTAGE` field, Tag 252.
15705pub struct LegRepurchaseRateField(pub FIXDecimal);
15706
15707impl LegRepurchaseRateField {
15708
15709    pub fn new(val: Decimal, scale: i32) -> Self {
15710        Self(FIXDecimal { decimal: val, scale })
15711    }
15712    pub fn value(&self) -> Decimal { self.0.decimal }
15713
15714    pub fn tag() -> Tag { tag::LEG_REPURCHASE_RATE }
15715}
15716
15717impl FieldValueReader for LegRepurchaseRateField {
15718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15719        self.0.read(raw)
15720    }
15721}
15722
15723impl FieldValueWriter for LegRepurchaseRateField {
15724    fn write_to(&self, buf: &mut Vec<u8>) {
15725        self.0.write_to(buf);
15726    }
15727}
15728
15729impl FieldValue for LegRepurchaseRateField {}
15730
15731
15732/// `LegRepurchaseTermField` is a `INT` field, Tag 251.
15733pub struct LegRepurchaseTermField(pub FIXInt);
15734
15735impl LegRepurchaseTermField {
15736
15737    pub fn new(val: isize) -> Self { Self(val) }
15738    pub fn value(&self) -> isize { self.0 }
15739
15740    pub fn tag() -> Tag { tag::LEG_REPURCHASE_TERM }
15741}
15742
15743impl FieldValueReader for LegRepurchaseTermField {
15744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15745        self.0.read(raw)
15746    }
15747}
15748
15749impl FieldValueWriter for LegRepurchaseTermField {
15750    fn write_to(&self, buf: &mut Vec<u8>) {
15751        self.0.write_to(buf);
15752    }
15753}
15754
15755impl FieldValue for LegRepurchaseTermField {}
15756
15757
15758/// `LegSecurityAltIDField` is a `STRING` field, Tag 605.
15759pub struct LegSecurityAltIDField(pub FIXString);
15760
15761impl LegSecurityAltIDField {
15762
15763    pub fn new(val: String) -> Self { Self(val) }
15764    pub fn value(&self) -> &str { &self.0 }
15765
15766    pub fn tag() -> Tag { tag::LEG_SECURITY_ALT_ID }
15767}
15768
15769impl FieldValueReader for LegSecurityAltIDField {
15770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15771        self.0.read(raw)
15772    }
15773}
15774
15775impl FieldValueWriter for LegSecurityAltIDField {
15776    fn write_to(&self, buf: &mut Vec<u8>) {
15777        self.0.write_to(buf);
15778    }
15779}
15780
15781impl FieldValue for LegSecurityAltIDField {}
15782
15783
15784/// `LegSecurityAltIDSourceField` is a `STRING` field, Tag 606.
15785pub struct LegSecurityAltIDSourceField(pub FIXString);
15786
15787impl LegSecurityAltIDSourceField {
15788
15789    pub fn new(val: String) -> Self { Self(val) }
15790    pub fn value(&self) -> &str { &self.0 }
15791
15792    pub fn tag() -> Tag { tag::LEG_SECURITY_ALT_ID_SOURCE }
15793}
15794
15795impl FieldValueReader for LegSecurityAltIDSourceField {
15796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15797        self.0.read(raw)
15798    }
15799}
15800
15801impl FieldValueWriter for LegSecurityAltIDSourceField {
15802    fn write_to(&self, buf: &mut Vec<u8>) {
15803        self.0.write_to(buf);
15804    }
15805}
15806
15807impl FieldValue for LegSecurityAltIDSourceField {}
15808
15809
15810/// `LegSecurityDescField` is a `STRING` field, Tag 620.
15811pub struct LegSecurityDescField(pub FIXString);
15812
15813impl LegSecurityDescField {
15814
15815    pub fn new(val: String) -> Self { Self(val) }
15816    pub fn value(&self) -> &str { &self.0 }
15817
15818    pub fn tag() -> Tag { tag::LEG_SECURITY_DESC }
15819}
15820
15821impl FieldValueReader for LegSecurityDescField {
15822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15823        self.0.read(raw)
15824    }
15825}
15826
15827impl FieldValueWriter for LegSecurityDescField {
15828    fn write_to(&self, buf: &mut Vec<u8>) {
15829        self.0.write_to(buf);
15830    }
15831}
15832
15833impl FieldValue for LegSecurityDescField {}
15834
15835
15836/// `LegSecurityExchangeField` is a `EXCHANGE` field, Tag 616.
15837pub struct LegSecurityExchangeField(pub FIXString);
15838
15839impl LegSecurityExchangeField {
15840
15841    pub fn new(val: String) -> Self { Self(val) }
15842    pub fn value(&self) -> &str { &self.0 }
15843
15844    pub fn tag() -> Tag { tag::LEG_SECURITY_EXCHANGE }
15845}
15846
15847impl FieldValueReader for LegSecurityExchangeField {
15848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15849        self.0.read(raw)
15850    }
15851}
15852
15853impl FieldValueWriter for LegSecurityExchangeField {
15854    fn write_to(&self, buf: &mut Vec<u8>) {
15855        self.0.write_to(buf);
15856    }
15857}
15858
15859impl FieldValue for LegSecurityExchangeField {}
15860
15861
15862/// `LegSecurityIDField` is a `STRING` field, Tag 602.
15863pub struct LegSecurityIDField(pub FIXString);
15864
15865impl LegSecurityIDField {
15866
15867    pub fn new(val: String) -> Self { Self(val) }
15868    pub fn value(&self) -> &str { &self.0 }
15869
15870    pub fn tag() -> Tag { tag::LEG_SECURITY_ID }
15871}
15872
15873impl FieldValueReader for LegSecurityIDField {
15874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15875        self.0.read(raw)
15876    }
15877}
15878
15879impl FieldValueWriter for LegSecurityIDField {
15880    fn write_to(&self, buf: &mut Vec<u8>) {
15881        self.0.write_to(buf);
15882    }
15883}
15884
15885impl FieldValue for LegSecurityIDField {}
15886
15887
15888/// `LegSecurityIDSourceField` is a `STRING` field, Tag 603.
15889pub struct LegSecurityIDSourceField(pub FIXString);
15890
15891impl LegSecurityIDSourceField {
15892
15893    pub fn new(val: String) -> Self { Self(val) }
15894    pub fn value(&self) -> &str { &self.0 }
15895
15896    pub fn tag() -> Tag { tag::LEG_SECURITY_ID_SOURCE }
15897}
15898
15899impl FieldValueReader for LegSecurityIDSourceField {
15900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15901        self.0.read(raw)
15902    }
15903}
15904
15905impl FieldValueWriter for LegSecurityIDSourceField {
15906    fn write_to(&self, buf: &mut Vec<u8>) {
15907        self.0.write_to(buf);
15908    }
15909}
15910
15911impl FieldValue for LegSecurityIDSourceField {}
15912
15913
15914/// `LegSecuritySubTypeField` is a `STRING` field, Tag 764.
15915pub struct LegSecuritySubTypeField(pub FIXString);
15916
15917impl LegSecuritySubTypeField {
15918
15919    pub fn new(val: String) -> Self { Self(val) }
15920    pub fn value(&self) -> &str { &self.0 }
15921
15922    pub fn tag() -> Tag { tag::LEG_SECURITY_SUB_TYPE }
15923}
15924
15925impl FieldValueReader for LegSecuritySubTypeField {
15926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15927        self.0.read(raw)
15928    }
15929}
15930
15931impl FieldValueWriter for LegSecuritySubTypeField {
15932    fn write_to(&self, buf: &mut Vec<u8>) {
15933        self.0.write_to(buf);
15934    }
15935}
15936
15937impl FieldValue for LegSecuritySubTypeField {}
15938
15939
15940/// `LegSecurityTypeField` is a `STRING` field, Tag 609.
15941pub struct LegSecurityTypeField(pub FIXString);
15942
15943impl LegSecurityTypeField {
15944
15945    pub fn new(val: String) -> Self { Self(val) }
15946    pub fn value(&self) -> &str { &self.0 }
15947
15948    pub fn tag() -> Tag { tag::LEG_SECURITY_TYPE }
15949}
15950
15951impl FieldValueReader for LegSecurityTypeField {
15952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15953        self.0.read(raw)
15954    }
15955}
15956
15957impl FieldValueWriter for LegSecurityTypeField {
15958    fn write_to(&self, buf: &mut Vec<u8>) {
15959        self.0.write_to(buf);
15960    }
15961}
15962
15963impl FieldValue for LegSecurityTypeField {}
15964
15965
15966/// `LegSettlCurrencyField` is a `CURRENCY` field, Tag 675.
15967pub struct LegSettlCurrencyField(pub FIXString);
15968
15969impl LegSettlCurrencyField {
15970
15971    pub fn new(val: String) -> Self { Self(val) }
15972    pub fn value(&self) -> &str { &self.0 }
15973
15974    pub fn tag() -> Tag { tag::LEG_SETTL_CURRENCY }
15975}
15976
15977impl FieldValueReader for LegSettlCurrencyField {
15978    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
15979        self.0.read(raw)
15980    }
15981}
15982
15983impl FieldValueWriter for LegSettlCurrencyField {
15984    fn write_to(&self, buf: &mut Vec<u8>) {
15985        self.0.write_to(buf);
15986    }
15987}
15988
15989impl FieldValue for LegSettlCurrencyField {}
15990
15991
15992/// `LegSettlDateField` is a `LOCALMKTDATE` field, Tag 588.
15993pub struct LegSettlDateField(pub FIXString);
15994
15995impl LegSettlDateField {
15996
15997    pub fn new(val: String) -> Self { Self(val) }
15998    pub fn value(&self) -> &str { &self.0 }
15999
16000    pub fn tag() -> Tag { tag::LEG_SETTL_DATE }
16001}
16002
16003impl FieldValueReader for LegSettlDateField {
16004    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16005        self.0.read(raw)
16006    }
16007}
16008
16009impl FieldValueWriter for LegSettlDateField {
16010    fn write_to(&self, buf: &mut Vec<u8>) {
16011        self.0.write_to(buf);
16012    }
16013}
16014
16015impl FieldValue for LegSettlDateField {}
16016
16017
16018/// `LegSettlTypeField` is a `CHAR` field, Tag 587.
16019pub struct LegSettlTypeField(pub FIXString);
16020
16021impl LegSettlTypeField {
16022
16023    pub fn new(val: String) -> Self { Self(val) }
16024    pub fn value(&self) -> &str { &self.0 }
16025
16026    pub fn tag() -> Tag { tag::LEG_SETTL_TYPE }
16027}
16028
16029impl FieldValueReader for LegSettlTypeField {
16030    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16031        self.0.read(raw)
16032    }
16033}
16034
16035impl FieldValueWriter for LegSettlTypeField {
16036    fn write_to(&self, buf: &mut Vec<u8>) {
16037        self.0.write_to(buf);
16038    }
16039}
16040
16041impl FieldValue for LegSettlTypeField {}
16042
16043
16044/// `LegSettlmntTypField` is a `CHAR` field, Tag 587.
16045pub struct LegSettlmntTypField(pub FIXString);
16046
16047impl LegSettlmntTypField {
16048
16049    pub fn new(val: String) -> Self { Self(val) }
16050    pub fn value(&self) -> &str { &self.0 }
16051
16052    pub fn tag() -> Tag { tag::LEG_SETTLMNT_TYP }
16053}
16054
16055impl FieldValueReader for LegSettlmntTypField {
16056    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16057        self.0.read(raw)
16058    }
16059}
16060
16061impl FieldValueWriter for LegSettlmntTypField {
16062    fn write_to(&self, buf: &mut Vec<u8>) {
16063        self.0.write_to(buf);
16064    }
16065}
16066
16067impl FieldValue for LegSettlmntTypField {}
16068
16069
16070/// `LegSideField` is a `CHAR` field, Tag 624.
16071pub struct LegSideField(pub FIXString);
16072
16073impl LegSideField {
16074
16075    pub fn new(val: String) -> Self { Self(val) }
16076    pub fn value(&self) -> &str { &self.0 }
16077
16078    pub fn tag() -> Tag { tag::LEG_SIDE }
16079}
16080
16081impl FieldValueReader for LegSideField {
16082    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16083        self.0.read(raw)
16084    }
16085}
16086
16087impl FieldValueWriter for LegSideField {
16088    fn write_to(&self, buf: &mut Vec<u8>) {
16089        self.0.write_to(buf);
16090    }
16091}
16092
16093impl FieldValue for LegSideField {}
16094
16095
16096/// `LegStateOrProvinceOfIssueField` is a `STRING` field, Tag 597.
16097pub struct LegStateOrProvinceOfIssueField(pub FIXString);
16098
16099impl LegStateOrProvinceOfIssueField {
16100
16101    pub fn new(val: String) -> Self { Self(val) }
16102    pub fn value(&self) -> &str { &self.0 }
16103
16104    pub fn tag() -> Tag { tag::LEG_STATE_OR_PROVINCE_OF_ISSUE }
16105}
16106
16107impl FieldValueReader for LegStateOrProvinceOfIssueField {
16108    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16109        self.0.read(raw)
16110    }
16111}
16112
16113impl FieldValueWriter for LegStateOrProvinceOfIssueField {
16114    fn write_to(&self, buf: &mut Vec<u8>) {
16115        self.0.write_to(buf);
16116    }
16117}
16118
16119impl FieldValue for LegStateOrProvinceOfIssueField {}
16120
16121
16122/// `LegStipulationTypeField` is a `STRING` field, Tag 688.
16123pub struct LegStipulationTypeField(pub FIXString);
16124
16125impl LegStipulationTypeField {
16126
16127    pub fn new(val: String) -> Self { Self(val) }
16128    pub fn value(&self) -> &str { &self.0 }
16129
16130    pub fn tag() -> Tag { tag::LEG_STIPULATION_TYPE }
16131}
16132
16133impl FieldValueReader for LegStipulationTypeField {
16134    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16135        self.0.read(raw)
16136    }
16137}
16138
16139impl FieldValueWriter for LegStipulationTypeField {
16140    fn write_to(&self, buf: &mut Vec<u8>) {
16141        self.0.write_to(buf);
16142    }
16143}
16144
16145impl FieldValue for LegStipulationTypeField {}
16146
16147
16148/// `LegStipulationValueField` is a `STRING` field, Tag 689.
16149pub struct LegStipulationValueField(pub FIXString);
16150
16151impl LegStipulationValueField {
16152
16153    pub fn new(val: String) -> Self { Self(val) }
16154    pub fn value(&self) -> &str { &self.0 }
16155
16156    pub fn tag() -> Tag { tag::LEG_STIPULATION_VALUE }
16157}
16158
16159impl FieldValueReader for LegStipulationValueField {
16160    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16161        self.0.read(raw)
16162    }
16163}
16164
16165impl FieldValueWriter for LegStipulationValueField {
16166    fn write_to(&self, buf: &mut Vec<u8>) {
16167        self.0.write_to(buf);
16168    }
16169}
16170
16171impl FieldValue for LegStipulationValueField {}
16172
16173
16174/// `LegStrikeCurrencyField` is a `CURRENCY` field, Tag 942.
16175pub struct LegStrikeCurrencyField(pub FIXString);
16176
16177impl LegStrikeCurrencyField {
16178
16179    pub fn new(val: String) -> Self { Self(val) }
16180    pub fn value(&self) -> &str { &self.0 }
16181
16182    pub fn tag() -> Tag { tag::LEG_STRIKE_CURRENCY }
16183}
16184
16185impl FieldValueReader for LegStrikeCurrencyField {
16186    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16187        self.0.read(raw)
16188    }
16189}
16190
16191impl FieldValueWriter for LegStrikeCurrencyField {
16192    fn write_to(&self, buf: &mut Vec<u8>) {
16193        self.0.write_to(buf);
16194    }
16195}
16196
16197impl FieldValue for LegStrikeCurrencyField {}
16198
16199
16200/// `LegStrikePriceField` is a `PRICE` field, Tag 612.
16201pub struct LegStrikePriceField(pub FIXDecimal);
16202
16203impl LegStrikePriceField {
16204
16205    pub fn new(val: Decimal, scale: i32) -> Self {
16206        Self(FIXDecimal { decimal: val, scale })
16207    }
16208    pub fn value(&self) -> Decimal { self.0.decimal }
16209
16210    pub fn tag() -> Tag { tag::LEG_STRIKE_PRICE }
16211}
16212
16213impl FieldValueReader for LegStrikePriceField {
16214    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16215        self.0.read(raw)
16216    }
16217}
16218
16219impl FieldValueWriter for LegStrikePriceField {
16220    fn write_to(&self, buf: &mut Vec<u8>) {
16221        self.0.write_to(buf);
16222    }
16223}
16224
16225impl FieldValue for LegStrikePriceField {}
16226
16227
16228/// `LegSwapTypeField` is a `INT` field, Tag 690.
16229pub struct LegSwapTypeField(pub FIXInt);
16230
16231impl LegSwapTypeField {
16232
16233    pub fn new(val: isize) -> Self { Self(val) }
16234    pub fn value(&self) -> isize { self.0 }
16235
16236    pub fn tag() -> Tag { tag::LEG_SWAP_TYPE }
16237}
16238
16239impl FieldValueReader for LegSwapTypeField {
16240    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16241        self.0.read(raw)
16242    }
16243}
16244
16245impl FieldValueWriter for LegSwapTypeField {
16246    fn write_to(&self, buf: &mut Vec<u8>) {
16247        self.0.write_to(buf);
16248    }
16249}
16250
16251impl FieldValue for LegSwapTypeField {}
16252
16253
16254/// `LegSymbolField` is a `STRING` field, Tag 600.
16255pub struct LegSymbolField(pub FIXString);
16256
16257impl LegSymbolField {
16258
16259    pub fn new(val: String) -> Self { Self(val) }
16260    pub fn value(&self) -> &str { &self.0 }
16261
16262    pub fn tag() -> Tag { tag::LEG_SYMBOL }
16263}
16264
16265impl FieldValueReader for LegSymbolField {
16266    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16267        self.0.read(raw)
16268    }
16269}
16270
16271impl FieldValueWriter for LegSymbolField {
16272    fn write_to(&self, buf: &mut Vec<u8>) {
16273        self.0.write_to(buf);
16274    }
16275}
16276
16277impl FieldValue for LegSymbolField {}
16278
16279
16280/// `LegSymbolSfxField` is a `STRING` field, Tag 601.
16281pub struct LegSymbolSfxField(pub FIXString);
16282
16283impl LegSymbolSfxField {
16284
16285    pub fn new(val: String) -> Self { Self(val) }
16286    pub fn value(&self) -> &str { &self.0 }
16287
16288    pub fn tag() -> Tag { tag::LEG_SYMBOL_SFX }
16289}
16290
16291impl FieldValueReader for LegSymbolSfxField {
16292    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16293        self.0.read(raw)
16294    }
16295}
16296
16297impl FieldValueWriter for LegSymbolSfxField {
16298    fn write_to(&self, buf: &mut Vec<u8>) {
16299        self.0.write_to(buf);
16300    }
16301}
16302
16303impl FieldValue for LegSymbolSfxField {}
16304
16305
16306/// `LegTimeUnitField` is a `STRING` field, Tag 1001.
16307pub struct LegTimeUnitField(pub FIXString);
16308
16309impl LegTimeUnitField {
16310
16311    pub fn new(val: String) -> Self { Self(val) }
16312    pub fn value(&self) -> &str { &self.0 }
16313
16314    pub fn tag() -> Tag { tag::LEG_TIME_UNIT }
16315}
16316
16317impl FieldValueReader for LegTimeUnitField {
16318    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16319        self.0.read(raw)
16320    }
16321}
16322
16323impl FieldValueWriter for LegTimeUnitField {
16324    fn write_to(&self, buf: &mut Vec<u8>) {
16325        self.0.write_to(buf);
16326    }
16327}
16328
16329impl FieldValue for LegTimeUnitField {}
16330
16331
16332/// `LegUnitOfMeasureField` is a `STRING` field, Tag 999.
16333pub struct LegUnitOfMeasureField(pub FIXString);
16334
16335impl LegUnitOfMeasureField {
16336
16337    pub fn new(val: String) -> Self { Self(val) }
16338    pub fn value(&self) -> &str { &self.0 }
16339
16340    pub fn tag() -> Tag { tag::LEG_UNIT_OF_MEASURE }
16341}
16342
16343impl FieldValueReader for LegUnitOfMeasureField {
16344    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16345        self.0.read(raw)
16346    }
16347}
16348
16349impl FieldValueWriter for LegUnitOfMeasureField {
16350    fn write_to(&self, buf: &mut Vec<u8>) {
16351        self.0.write_to(buf);
16352    }
16353}
16354
16355impl FieldValue for LegUnitOfMeasureField {}
16356
16357
16358/// `LegUnitOfMeasureQtyField` is a `QTY` field, Tag 1224.
16359pub struct LegUnitOfMeasureQtyField(pub FIXDecimal);
16360
16361impl LegUnitOfMeasureQtyField {
16362
16363    pub fn new(val: Decimal, scale: i32) -> Self {
16364        Self(FIXDecimal { decimal: val, scale })
16365    }
16366    pub fn value(&self) -> Decimal { self.0.decimal }
16367
16368    pub fn tag() -> Tag { tag::LEG_UNIT_OF_MEASURE_QTY }
16369}
16370
16371impl FieldValueReader for LegUnitOfMeasureQtyField {
16372    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16373        self.0.read(raw)
16374    }
16375}
16376
16377impl FieldValueWriter for LegUnitOfMeasureQtyField {
16378    fn write_to(&self, buf: &mut Vec<u8>) {
16379        self.0.write_to(buf);
16380    }
16381}
16382
16383impl FieldValue for LegUnitOfMeasureQtyField {}
16384
16385
16386/// `LegVolatilityField` is a `FLOAT` field, Tag 1379.
16387pub struct LegVolatilityField(pub FIXDecimal);
16388
16389impl LegVolatilityField {
16390
16391    pub fn new(val: Decimal, scale: i32) -> Self {
16392        Self(FIXDecimal { decimal: val, scale })
16393    }
16394    pub fn value(&self) -> Decimal { self.0.decimal }
16395
16396    pub fn tag() -> Tag { tag::LEG_VOLATILITY }
16397}
16398
16399impl FieldValueReader for LegVolatilityField {
16400    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16401        self.0.read(raw)
16402    }
16403}
16404
16405impl FieldValueWriter for LegVolatilityField {
16406    fn write_to(&self, buf: &mut Vec<u8>) {
16407        self.0.write_to(buf);
16408    }
16409}
16410
16411impl FieldValue for LegVolatilityField {}
16412
16413
16414/// `LegalConfirmField` is a `BOOLEAN` field, Tag 650.
16415pub struct LegalConfirmField(pub FIXBoolean);
16416
16417impl LegalConfirmField {
16418
16419    pub fn new(val: bool) -> Self { Self(val) }
16420    pub fn value(&self) -> bool { self.0 }
16421
16422    pub fn tag() -> Tag { tag::LEGAL_CONFIRM }
16423}
16424
16425impl FieldValueReader for LegalConfirmField {
16426    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16427        self.0.read(raw)
16428    }
16429}
16430
16431impl FieldValueWriter for LegalConfirmField {
16432    fn write_to(&self, buf: &mut Vec<u8>) {
16433        self.0.write_to(buf);
16434    }
16435}
16436
16437impl FieldValue for LegalConfirmField {}
16438
16439
16440/// `LinesOfTextField` is a `NUMINGROUP` field, Tag 33.
16441pub struct LinesOfTextField(pub FIXInt);
16442
16443impl LinesOfTextField {
16444
16445    pub fn new(val: isize) -> Self { Self(val) }
16446    pub fn value(&self) -> isize { self.0 }
16447
16448    pub fn tag() -> Tag { tag::LINES_OF_TEXT }
16449}
16450
16451impl FieldValueReader for LinesOfTextField {
16452    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16453        self.0.read(raw)
16454    }
16455}
16456
16457impl FieldValueWriter for LinesOfTextField {
16458    fn write_to(&self, buf: &mut Vec<u8>) {
16459        self.0.write_to(buf);
16460    }
16461}
16462
16463impl FieldValue for LinesOfTextField {}
16464
16465
16466/// `LiquidityIndTypeField` is a `INT` field, Tag 409.
16467pub struct LiquidityIndTypeField(pub FIXInt);
16468
16469impl LiquidityIndTypeField {
16470
16471    pub fn new(val: isize) -> Self { Self(val) }
16472    pub fn value(&self) -> isize { self.0 }
16473
16474    pub fn tag() -> Tag { tag::LIQUIDITY_IND_TYPE }
16475}
16476
16477impl FieldValueReader for LiquidityIndTypeField {
16478    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16479        self.0.read(raw)
16480    }
16481}
16482
16483impl FieldValueWriter for LiquidityIndTypeField {
16484    fn write_to(&self, buf: &mut Vec<u8>) {
16485        self.0.write_to(buf);
16486    }
16487}
16488
16489impl FieldValue for LiquidityIndTypeField {}
16490
16491
16492/// `LiquidityNumSecuritiesField` is a `INT` field, Tag 441.
16493pub struct LiquidityNumSecuritiesField(pub FIXInt);
16494
16495impl LiquidityNumSecuritiesField {
16496
16497    pub fn new(val: isize) -> Self { Self(val) }
16498    pub fn value(&self) -> isize { self.0 }
16499
16500    pub fn tag() -> Tag { tag::LIQUIDITY_NUM_SECURITIES }
16501}
16502
16503impl FieldValueReader for LiquidityNumSecuritiesField {
16504    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16505        self.0.read(raw)
16506    }
16507}
16508
16509impl FieldValueWriter for LiquidityNumSecuritiesField {
16510    fn write_to(&self, buf: &mut Vec<u8>) {
16511        self.0.write_to(buf);
16512    }
16513}
16514
16515impl FieldValue for LiquidityNumSecuritiesField {}
16516
16517
16518/// `LiquidityPctHighField` is a `PERCENTAGE` field, Tag 403.
16519pub struct LiquidityPctHighField(pub FIXDecimal);
16520
16521impl LiquidityPctHighField {
16522
16523    pub fn new(val: Decimal, scale: i32) -> Self {
16524        Self(FIXDecimal { decimal: val, scale })
16525    }
16526    pub fn value(&self) -> Decimal { self.0.decimal }
16527
16528    pub fn tag() -> Tag { tag::LIQUIDITY_PCT_HIGH }
16529}
16530
16531impl FieldValueReader for LiquidityPctHighField {
16532    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16533        self.0.read(raw)
16534    }
16535}
16536
16537impl FieldValueWriter for LiquidityPctHighField {
16538    fn write_to(&self, buf: &mut Vec<u8>) {
16539        self.0.write_to(buf);
16540    }
16541}
16542
16543impl FieldValue for LiquidityPctHighField {}
16544
16545
16546/// `LiquidityPctLowField` is a `PERCENTAGE` field, Tag 402.
16547pub struct LiquidityPctLowField(pub FIXDecimal);
16548
16549impl LiquidityPctLowField {
16550
16551    pub fn new(val: Decimal, scale: i32) -> Self {
16552        Self(FIXDecimal { decimal: val, scale })
16553    }
16554    pub fn value(&self) -> Decimal { self.0.decimal }
16555
16556    pub fn tag() -> Tag { tag::LIQUIDITY_PCT_LOW }
16557}
16558
16559impl FieldValueReader for LiquidityPctLowField {
16560    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16561        self.0.read(raw)
16562    }
16563}
16564
16565impl FieldValueWriter for LiquidityPctLowField {
16566    fn write_to(&self, buf: &mut Vec<u8>) {
16567        self.0.write_to(buf);
16568    }
16569}
16570
16571impl FieldValue for LiquidityPctLowField {}
16572
16573
16574/// `LiquidityValueField` is a `AMT` field, Tag 404.
16575pub struct LiquidityValueField(pub FIXDecimal);
16576
16577impl LiquidityValueField {
16578
16579    pub fn new(val: Decimal, scale: i32) -> Self {
16580        Self(FIXDecimal { decimal: val, scale })
16581    }
16582    pub fn value(&self) -> Decimal { self.0.decimal }
16583
16584    pub fn tag() -> Tag { tag::LIQUIDITY_VALUE }
16585}
16586
16587impl FieldValueReader for LiquidityValueField {
16588    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16589        self.0.read(raw)
16590    }
16591}
16592
16593impl FieldValueWriter for LiquidityValueField {
16594    fn write_to(&self, buf: &mut Vec<u8>) {
16595        self.0.write_to(buf);
16596    }
16597}
16598
16599impl FieldValue for LiquidityValueField {}
16600
16601
16602/// `ListExecInstField` is a `STRING` field, Tag 69.
16603pub struct ListExecInstField(pub FIXString);
16604
16605impl ListExecInstField {
16606
16607    pub fn new(val: String) -> Self { Self(val) }
16608    pub fn value(&self) -> &str { &self.0 }
16609
16610    pub fn tag() -> Tag { tag::LIST_EXEC_INST }
16611}
16612
16613impl FieldValueReader for ListExecInstField {
16614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16615        self.0.read(raw)
16616    }
16617}
16618
16619impl FieldValueWriter for ListExecInstField {
16620    fn write_to(&self, buf: &mut Vec<u8>) {
16621        self.0.write_to(buf);
16622    }
16623}
16624
16625impl FieldValue for ListExecInstField {}
16626
16627
16628/// `ListExecInstTypeField` is a `CHAR` field, Tag 433.
16629pub struct ListExecInstTypeField(pub FIXString);
16630
16631impl ListExecInstTypeField {
16632
16633    pub fn new(val: String) -> Self { Self(val) }
16634    pub fn value(&self) -> &str { &self.0 }
16635
16636    pub fn tag() -> Tag { tag::LIST_EXEC_INST_TYPE }
16637}
16638
16639impl FieldValueReader for ListExecInstTypeField {
16640    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16641        self.0.read(raw)
16642    }
16643}
16644
16645impl FieldValueWriter for ListExecInstTypeField {
16646    fn write_to(&self, buf: &mut Vec<u8>) {
16647        self.0.write_to(buf);
16648    }
16649}
16650
16651impl FieldValue for ListExecInstTypeField {}
16652
16653
16654/// `ListIDField` is a `STRING` field, Tag 66.
16655pub struct ListIDField(pub FIXString);
16656
16657impl ListIDField {
16658
16659    pub fn new(val: String) -> Self { Self(val) }
16660    pub fn value(&self) -> &str { &self.0 }
16661
16662    pub fn tag() -> Tag { tag::LIST_ID }
16663}
16664
16665impl FieldValueReader for ListIDField {
16666    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16667        self.0.read(raw)
16668    }
16669}
16670
16671impl FieldValueWriter for ListIDField {
16672    fn write_to(&self, buf: &mut Vec<u8>) {
16673        self.0.write_to(buf);
16674    }
16675}
16676
16677impl FieldValue for ListIDField {}
16678
16679
16680/// `ListMethodField` is a `INT` field, Tag 1198.
16681pub struct ListMethodField(pub FIXInt);
16682
16683impl ListMethodField {
16684
16685    pub fn new(val: isize) -> Self { Self(val) }
16686    pub fn value(&self) -> isize { self.0 }
16687
16688    pub fn tag() -> Tag { tag::LIST_METHOD }
16689}
16690
16691impl FieldValueReader for ListMethodField {
16692    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16693        self.0.read(raw)
16694    }
16695}
16696
16697impl FieldValueWriter for ListMethodField {
16698    fn write_to(&self, buf: &mut Vec<u8>) {
16699        self.0.write_to(buf);
16700    }
16701}
16702
16703impl FieldValue for ListMethodField {}
16704
16705
16706/// `ListNameField` is a `STRING` field, Tag 392.
16707pub struct ListNameField(pub FIXString);
16708
16709impl ListNameField {
16710
16711    pub fn new(val: String) -> Self { Self(val) }
16712    pub fn value(&self) -> &str { &self.0 }
16713
16714    pub fn tag() -> Tag { tag::LIST_NAME }
16715}
16716
16717impl FieldValueReader for ListNameField {
16718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16719        self.0.read(raw)
16720    }
16721}
16722
16723impl FieldValueWriter for ListNameField {
16724    fn write_to(&self, buf: &mut Vec<u8>) {
16725        self.0.write_to(buf);
16726    }
16727}
16728
16729impl FieldValue for ListNameField {}
16730
16731
16732/// `ListNoOrdsField` is a `INT` field, Tag 68.
16733pub struct ListNoOrdsField(pub FIXInt);
16734
16735impl ListNoOrdsField {
16736
16737    pub fn new(val: isize) -> Self { Self(val) }
16738    pub fn value(&self) -> isize { self.0 }
16739
16740    pub fn tag() -> Tag { tag::LIST_NO_ORDS }
16741}
16742
16743impl FieldValueReader for ListNoOrdsField {
16744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16745        self.0.read(raw)
16746    }
16747}
16748
16749impl FieldValueWriter for ListNoOrdsField {
16750    fn write_to(&self, buf: &mut Vec<u8>) {
16751        self.0.write_to(buf);
16752    }
16753}
16754
16755impl FieldValue for ListNoOrdsField {}
16756
16757
16758/// `ListOrderStatusField` is a `INT` field, Tag 431.
16759pub struct ListOrderStatusField(pub FIXInt);
16760
16761impl ListOrderStatusField {
16762
16763    pub fn new(val: isize) -> Self { Self(val) }
16764    pub fn value(&self) -> isize { self.0 }
16765
16766    pub fn tag() -> Tag { tag::LIST_ORDER_STATUS }
16767}
16768
16769impl FieldValueReader for ListOrderStatusField {
16770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16771        self.0.read(raw)
16772    }
16773}
16774
16775impl FieldValueWriter for ListOrderStatusField {
16776    fn write_to(&self, buf: &mut Vec<u8>) {
16777        self.0.write_to(buf);
16778    }
16779}
16780
16781impl FieldValue for ListOrderStatusField {}
16782
16783
16784/// `ListRejectReasonField` is a `INT` field, Tag 1386.
16785pub struct ListRejectReasonField(pub FIXInt);
16786
16787impl ListRejectReasonField {
16788
16789    pub fn new(val: isize) -> Self { Self(val) }
16790    pub fn value(&self) -> isize { self.0 }
16791
16792    pub fn tag() -> Tag { tag::LIST_REJECT_REASON }
16793}
16794
16795impl FieldValueReader for ListRejectReasonField {
16796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16797        self.0.read(raw)
16798    }
16799}
16800
16801impl FieldValueWriter for ListRejectReasonField {
16802    fn write_to(&self, buf: &mut Vec<u8>) {
16803        self.0.write_to(buf);
16804    }
16805}
16806
16807impl FieldValue for ListRejectReasonField {}
16808
16809
16810/// `ListSeqNoField` is a `INT` field, Tag 67.
16811pub struct ListSeqNoField(pub FIXInt);
16812
16813impl ListSeqNoField {
16814
16815    pub fn new(val: isize) -> Self { Self(val) }
16816    pub fn value(&self) -> isize { self.0 }
16817
16818    pub fn tag() -> Tag { tag::LIST_SEQ_NO }
16819}
16820
16821impl FieldValueReader for ListSeqNoField {
16822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16823        self.0.read(raw)
16824    }
16825}
16826
16827impl FieldValueWriter for ListSeqNoField {
16828    fn write_to(&self, buf: &mut Vec<u8>) {
16829        self.0.write_to(buf);
16830    }
16831}
16832
16833impl FieldValue for ListSeqNoField {}
16834
16835
16836/// `ListStatusTextField` is a `STRING` field, Tag 444.
16837pub struct ListStatusTextField(pub FIXString);
16838
16839impl ListStatusTextField {
16840
16841    pub fn new(val: String) -> Self { Self(val) }
16842    pub fn value(&self) -> &str { &self.0 }
16843
16844    pub fn tag() -> Tag { tag::LIST_STATUS_TEXT }
16845}
16846
16847impl FieldValueReader for ListStatusTextField {
16848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16849        self.0.read(raw)
16850    }
16851}
16852
16853impl FieldValueWriter for ListStatusTextField {
16854    fn write_to(&self, buf: &mut Vec<u8>) {
16855        self.0.write_to(buf);
16856    }
16857}
16858
16859impl FieldValue for ListStatusTextField {}
16860
16861
16862/// `ListStatusTypeField` is a `INT` field, Tag 429.
16863pub struct ListStatusTypeField(pub FIXInt);
16864
16865impl ListStatusTypeField {
16866
16867    pub fn new(val: isize) -> Self { Self(val) }
16868    pub fn value(&self) -> isize { self.0 }
16869
16870    pub fn tag() -> Tag { tag::LIST_STATUS_TYPE }
16871}
16872
16873impl FieldValueReader for ListStatusTypeField {
16874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16875        self.0.read(raw)
16876    }
16877}
16878
16879impl FieldValueWriter for ListStatusTypeField {
16880    fn write_to(&self, buf: &mut Vec<u8>) {
16881        self.0.write_to(buf);
16882    }
16883}
16884
16885impl FieldValue for ListStatusTypeField {}
16886
16887
16888/// `ListUpdateActionField` is a `CHAR` field, Tag 1324.
16889pub struct ListUpdateActionField(pub FIXString);
16890
16891impl ListUpdateActionField {
16892
16893    pub fn new(val: String) -> Self { Self(val) }
16894    pub fn value(&self) -> &str { &self.0 }
16895
16896    pub fn tag() -> Tag { tag::LIST_UPDATE_ACTION }
16897}
16898
16899impl FieldValueReader for ListUpdateActionField {
16900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16901        self.0.read(raw)
16902    }
16903}
16904
16905impl FieldValueWriter for ListUpdateActionField {
16906    fn write_to(&self, buf: &mut Vec<u8>) {
16907        self.0.write_to(buf);
16908    }
16909}
16910
16911impl FieldValue for ListUpdateActionField {}
16912
16913
16914/// `LocaleOfIssueField` is a `STRING` field, Tag 472.
16915pub struct LocaleOfIssueField(pub FIXString);
16916
16917impl LocaleOfIssueField {
16918
16919    pub fn new(val: String) -> Self { Self(val) }
16920    pub fn value(&self) -> &str { &self.0 }
16921
16922    pub fn tag() -> Tag { tag::LOCALE_OF_ISSUE }
16923}
16924
16925impl FieldValueReader for LocaleOfIssueField {
16926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16927        self.0.read(raw)
16928    }
16929}
16930
16931impl FieldValueWriter for LocaleOfIssueField {
16932    fn write_to(&self, buf: &mut Vec<u8>) {
16933        self.0.write_to(buf);
16934    }
16935}
16936
16937impl FieldValue for LocaleOfIssueField {}
16938
16939
16940/// `LocateReqdField` is a `BOOLEAN` field, Tag 114.
16941pub struct LocateReqdField(pub FIXBoolean);
16942
16943impl LocateReqdField {
16944
16945    pub fn new(val: bool) -> Self { Self(val) }
16946    pub fn value(&self) -> bool { self.0 }
16947
16948    pub fn tag() -> Tag { tag::LOCATE_REQD }
16949}
16950
16951impl FieldValueReader for LocateReqdField {
16952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16953        self.0.read(raw)
16954    }
16955}
16956
16957impl FieldValueWriter for LocateReqdField {
16958    fn write_to(&self, buf: &mut Vec<u8>) {
16959        self.0.write_to(buf);
16960    }
16961}
16962
16963impl FieldValue for LocateReqdField {}
16964
16965
16966/// `LocationIDField` is a `STRING` field, Tag 283.
16967pub struct LocationIDField(pub FIXString);
16968
16969impl LocationIDField {
16970
16971    pub fn new(val: String) -> Self { Self(val) }
16972    pub fn value(&self) -> &str { &self.0 }
16973
16974    pub fn tag() -> Tag { tag::LOCATION_ID }
16975}
16976
16977impl FieldValueReader for LocationIDField {
16978    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
16979        self.0.read(raw)
16980    }
16981}
16982
16983impl FieldValueWriter for LocationIDField {
16984    fn write_to(&self, buf: &mut Vec<u8>) {
16985        self.0.write_to(buf);
16986    }
16987}
16988
16989impl FieldValue for LocationIDField {}
16990
16991
16992/// `LongQtyField` is a `QTY` field, Tag 704.
16993pub struct LongQtyField(pub FIXDecimal);
16994
16995impl LongQtyField {
16996
16997    pub fn new(val: Decimal, scale: i32) -> Self {
16998        Self(FIXDecimal { decimal: val, scale })
16999    }
17000    pub fn value(&self) -> Decimal { self.0.decimal }
17001
17002    pub fn tag() -> Tag { tag::LONG_QTY }
17003}
17004
17005impl FieldValueReader for LongQtyField {
17006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17007        self.0.read(raw)
17008    }
17009}
17010
17011impl FieldValueWriter for LongQtyField {
17012    fn write_to(&self, buf: &mut Vec<u8>) {
17013        self.0.write_to(buf);
17014    }
17015}
17016
17017impl FieldValue for LongQtyField {}
17018
17019
17020/// `LotTypeField` is a `CHAR` field, Tag 1093.
17021pub struct LotTypeField(pub FIXString);
17022
17023impl LotTypeField {
17024
17025    pub fn new(val: String) -> Self { Self(val) }
17026    pub fn value(&self) -> &str { &self.0 }
17027
17028    pub fn tag() -> Tag { tag::LOT_TYPE }
17029}
17030
17031impl FieldValueReader for LotTypeField {
17032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17033        self.0.read(raw)
17034    }
17035}
17036
17037impl FieldValueWriter for LotTypeField {
17038    fn write_to(&self, buf: &mut Vec<u8>) {
17039        self.0.write_to(buf);
17040    }
17041}
17042
17043impl FieldValue for LotTypeField {}
17044
17045
17046/// `LowLimitPriceField` is a `PRICE` field, Tag 1148.
17047pub struct LowLimitPriceField(pub FIXDecimal);
17048
17049impl LowLimitPriceField {
17050
17051    pub fn new(val: Decimal, scale: i32) -> Self {
17052        Self(FIXDecimal { decimal: val, scale })
17053    }
17054    pub fn value(&self) -> Decimal { self.0.decimal }
17055
17056    pub fn tag() -> Tag { tag::LOW_LIMIT_PRICE }
17057}
17058
17059impl FieldValueReader for LowLimitPriceField {
17060    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17061        self.0.read(raw)
17062    }
17063}
17064
17065impl FieldValueWriter for LowLimitPriceField {
17066    fn write_to(&self, buf: &mut Vec<u8>) {
17067        self.0.write_to(buf);
17068    }
17069}
17070
17071impl FieldValue for LowLimitPriceField {}
17072
17073
17074/// `LowPxField` is a `PRICE` field, Tag 333.
17075pub struct LowPxField(pub FIXDecimal);
17076
17077impl LowPxField {
17078
17079    pub fn new(val: Decimal, scale: i32) -> Self {
17080        Self(FIXDecimal { decimal: val, scale })
17081    }
17082    pub fn value(&self) -> Decimal { self.0.decimal }
17083
17084    pub fn tag() -> Tag { tag::LOW_PX }
17085}
17086
17087impl FieldValueReader for LowPxField {
17088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17089        self.0.read(raw)
17090    }
17091}
17092
17093impl FieldValueWriter for LowPxField {
17094    fn write_to(&self, buf: &mut Vec<u8>) {
17095        self.0.write_to(buf);
17096    }
17097}
17098
17099impl FieldValue for LowPxField {}
17100
17101
17102/// `MDBookTypeField` is a `INT` field, Tag 1021.
17103pub struct MDBookTypeField(pub FIXInt);
17104
17105impl MDBookTypeField {
17106
17107    pub fn new(val: isize) -> Self { Self(val) }
17108    pub fn value(&self) -> isize { self.0 }
17109
17110    pub fn tag() -> Tag { tag::MD_BOOK_TYPE }
17111}
17112
17113impl FieldValueReader for MDBookTypeField {
17114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17115        self.0.read(raw)
17116    }
17117}
17118
17119impl FieldValueWriter for MDBookTypeField {
17120    fn write_to(&self, buf: &mut Vec<u8>) {
17121        self.0.write_to(buf);
17122    }
17123}
17124
17125impl FieldValue for MDBookTypeField {}
17126
17127
17128/// `MDEntryBuyerField` is a `STRING` field, Tag 288.
17129pub struct MDEntryBuyerField(pub FIXString);
17130
17131impl MDEntryBuyerField {
17132
17133    pub fn new(val: String) -> Self { Self(val) }
17134    pub fn value(&self) -> &str { &self.0 }
17135
17136    pub fn tag() -> Tag { tag::MD_ENTRY_BUYER }
17137}
17138
17139impl FieldValueReader for MDEntryBuyerField {
17140    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17141        self.0.read(raw)
17142    }
17143}
17144
17145impl FieldValueWriter for MDEntryBuyerField {
17146    fn write_to(&self, buf: &mut Vec<u8>) {
17147        self.0.write_to(buf);
17148    }
17149}
17150
17151impl FieldValue for MDEntryBuyerField {}
17152
17153
17154/// `MDEntryDateField` is a `UTCDATEONLY` field, Tag 272.
17155pub struct MDEntryDateField(pub FIXString);
17156
17157impl MDEntryDateField {
17158
17159    pub fn new(val: String) -> Self { Self(val) }
17160    pub fn value(&self) -> &str { &self.0 }
17161
17162    pub fn tag() -> Tag { tag::MD_ENTRY_DATE }
17163}
17164
17165impl FieldValueReader for MDEntryDateField {
17166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17167        self.0.read(raw)
17168    }
17169}
17170
17171impl FieldValueWriter for MDEntryDateField {
17172    fn write_to(&self, buf: &mut Vec<u8>) {
17173        self.0.write_to(buf);
17174    }
17175}
17176
17177impl FieldValue for MDEntryDateField {}
17178
17179
17180/// `MDEntryForwardPointsField` is a `PRICEOFFSET` field, Tag 1027.
17181pub struct MDEntryForwardPointsField(pub FIXDecimal);
17182
17183impl MDEntryForwardPointsField {
17184
17185    pub fn new(val: Decimal, scale: i32) -> Self {
17186        Self(FIXDecimal { decimal: val, scale })
17187    }
17188    pub fn value(&self) -> Decimal { self.0.decimal }
17189
17190    pub fn tag() -> Tag { tag::MD_ENTRY_FORWARD_POINTS }
17191}
17192
17193impl FieldValueReader for MDEntryForwardPointsField {
17194    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17195        self.0.read(raw)
17196    }
17197}
17198
17199impl FieldValueWriter for MDEntryForwardPointsField {
17200    fn write_to(&self, buf: &mut Vec<u8>) {
17201        self.0.write_to(buf);
17202    }
17203}
17204
17205impl FieldValue for MDEntryForwardPointsField {}
17206
17207
17208/// `MDEntryIDField` is a `STRING` field, Tag 278.
17209pub struct MDEntryIDField(pub FIXString);
17210
17211impl MDEntryIDField {
17212
17213    pub fn new(val: String) -> Self { Self(val) }
17214    pub fn value(&self) -> &str { &self.0 }
17215
17216    pub fn tag() -> Tag { tag::MD_ENTRY_ID }
17217}
17218
17219impl FieldValueReader for MDEntryIDField {
17220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17221        self.0.read(raw)
17222    }
17223}
17224
17225impl FieldValueWriter for MDEntryIDField {
17226    fn write_to(&self, buf: &mut Vec<u8>) {
17227        self.0.write_to(buf);
17228    }
17229}
17230
17231impl FieldValue for MDEntryIDField {}
17232
17233
17234/// `MDEntryOriginatorField` is a `STRING` field, Tag 282.
17235pub struct MDEntryOriginatorField(pub FIXString);
17236
17237impl MDEntryOriginatorField {
17238
17239    pub fn new(val: String) -> Self { Self(val) }
17240    pub fn value(&self) -> &str { &self.0 }
17241
17242    pub fn tag() -> Tag { tag::MD_ENTRY_ORIGINATOR }
17243}
17244
17245impl FieldValueReader for MDEntryOriginatorField {
17246    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17247        self.0.read(raw)
17248    }
17249}
17250
17251impl FieldValueWriter for MDEntryOriginatorField {
17252    fn write_to(&self, buf: &mut Vec<u8>) {
17253        self.0.write_to(buf);
17254    }
17255}
17256
17257impl FieldValue for MDEntryOriginatorField {}
17258
17259
17260/// `MDEntryPositionNoField` is a `INT` field, Tag 290.
17261pub struct MDEntryPositionNoField(pub FIXInt);
17262
17263impl MDEntryPositionNoField {
17264
17265    pub fn new(val: isize) -> Self { Self(val) }
17266    pub fn value(&self) -> isize { self.0 }
17267
17268    pub fn tag() -> Tag { tag::MD_ENTRY_POSITION_NO }
17269}
17270
17271impl FieldValueReader for MDEntryPositionNoField {
17272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17273        self.0.read(raw)
17274    }
17275}
17276
17277impl FieldValueWriter for MDEntryPositionNoField {
17278    fn write_to(&self, buf: &mut Vec<u8>) {
17279        self.0.write_to(buf);
17280    }
17281}
17282
17283impl FieldValue for MDEntryPositionNoField {}
17284
17285
17286/// `MDEntryPxField` is a `PRICE` field, Tag 270.
17287pub struct MDEntryPxField(pub FIXDecimal);
17288
17289impl MDEntryPxField {
17290
17291    pub fn new(val: Decimal, scale: i32) -> Self {
17292        Self(FIXDecimal { decimal: val, scale })
17293    }
17294    pub fn value(&self) -> Decimal { self.0.decimal }
17295
17296    pub fn tag() -> Tag { tag::MD_ENTRY_PX }
17297}
17298
17299impl FieldValueReader for MDEntryPxField {
17300    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17301        self.0.read(raw)
17302    }
17303}
17304
17305impl FieldValueWriter for MDEntryPxField {
17306    fn write_to(&self, buf: &mut Vec<u8>) {
17307        self.0.write_to(buf);
17308    }
17309}
17310
17311impl FieldValue for MDEntryPxField {}
17312
17313
17314/// `MDEntryRefIDField` is a `STRING` field, Tag 280.
17315pub struct MDEntryRefIDField(pub FIXString);
17316
17317impl MDEntryRefIDField {
17318
17319    pub fn new(val: String) -> Self { Self(val) }
17320    pub fn value(&self) -> &str { &self.0 }
17321
17322    pub fn tag() -> Tag { tag::MD_ENTRY_REF_ID }
17323}
17324
17325impl FieldValueReader for MDEntryRefIDField {
17326    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17327        self.0.read(raw)
17328    }
17329}
17330
17331impl FieldValueWriter for MDEntryRefIDField {
17332    fn write_to(&self, buf: &mut Vec<u8>) {
17333        self.0.write_to(buf);
17334    }
17335}
17336
17337impl FieldValue for MDEntryRefIDField {}
17338
17339
17340/// `MDEntrySellerField` is a `STRING` field, Tag 289.
17341pub struct MDEntrySellerField(pub FIXString);
17342
17343impl MDEntrySellerField {
17344
17345    pub fn new(val: String) -> Self { Self(val) }
17346    pub fn value(&self) -> &str { &self.0 }
17347
17348    pub fn tag() -> Tag { tag::MD_ENTRY_SELLER }
17349}
17350
17351impl FieldValueReader for MDEntrySellerField {
17352    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17353        self.0.read(raw)
17354    }
17355}
17356
17357impl FieldValueWriter for MDEntrySellerField {
17358    fn write_to(&self, buf: &mut Vec<u8>) {
17359        self.0.write_to(buf);
17360    }
17361}
17362
17363impl FieldValue for MDEntrySellerField {}
17364
17365
17366/// `MDEntrySizeField` is a `QTY` field, Tag 271.
17367pub struct MDEntrySizeField(pub FIXDecimal);
17368
17369impl MDEntrySizeField {
17370
17371    pub fn new(val: Decimal, scale: i32) -> Self {
17372        Self(FIXDecimal { decimal: val, scale })
17373    }
17374    pub fn value(&self) -> Decimal { self.0.decimal }
17375
17376    pub fn tag() -> Tag { tag::MD_ENTRY_SIZE }
17377}
17378
17379impl FieldValueReader for MDEntrySizeField {
17380    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17381        self.0.read(raw)
17382    }
17383}
17384
17385impl FieldValueWriter for MDEntrySizeField {
17386    fn write_to(&self, buf: &mut Vec<u8>) {
17387        self.0.write_to(buf);
17388    }
17389}
17390
17391impl FieldValue for MDEntrySizeField {}
17392
17393
17394/// `MDEntrySpotRateField` is a `FLOAT` field, Tag 1026.
17395pub struct MDEntrySpotRateField(pub FIXDecimal);
17396
17397impl MDEntrySpotRateField {
17398
17399    pub fn new(val: Decimal, scale: i32) -> Self {
17400        Self(FIXDecimal { decimal: val, scale })
17401    }
17402    pub fn value(&self) -> Decimal { self.0.decimal }
17403
17404    pub fn tag() -> Tag { tag::MD_ENTRY_SPOT_RATE }
17405}
17406
17407impl FieldValueReader for MDEntrySpotRateField {
17408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17409        self.0.read(raw)
17410    }
17411}
17412
17413impl FieldValueWriter for MDEntrySpotRateField {
17414    fn write_to(&self, buf: &mut Vec<u8>) {
17415        self.0.write_to(buf);
17416    }
17417}
17418
17419impl FieldValue for MDEntrySpotRateField {}
17420
17421
17422/// `MDEntryTimeField` is a `UTCTIMEONLY` field, Tag 273.
17423pub struct MDEntryTimeField(pub FIXString);
17424
17425impl MDEntryTimeField {
17426
17427    pub fn new(val: String) -> Self { Self(val) }
17428    pub fn value(&self) -> &str { &self.0 }
17429
17430    pub fn tag() -> Tag { tag::MD_ENTRY_TIME }
17431}
17432
17433impl FieldValueReader for MDEntryTimeField {
17434    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17435        self.0.read(raw)
17436    }
17437}
17438
17439impl FieldValueWriter for MDEntryTimeField {
17440    fn write_to(&self, buf: &mut Vec<u8>) {
17441        self.0.write_to(buf);
17442    }
17443}
17444
17445impl FieldValue for MDEntryTimeField {}
17446
17447
17448/// `MDEntryTypeField` is a `CHAR` field, Tag 269.
17449pub struct MDEntryTypeField(pub FIXString);
17450
17451impl MDEntryTypeField {
17452
17453    pub fn new(val: String) -> Self { Self(val) }
17454    pub fn value(&self) -> &str { &self.0 }
17455
17456    pub fn tag() -> Tag { tag::MD_ENTRY_TYPE }
17457}
17458
17459impl FieldValueReader for MDEntryTypeField {
17460    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17461        self.0.read(raw)
17462    }
17463}
17464
17465impl FieldValueWriter for MDEntryTypeField {
17466    fn write_to(&self, buf: &mut Vec<u8>) {
17467        self.0.write_to(buf);
17468    }
17469}
17470
17471impl FieldValue for MDEntryTypeField {}
17472
17473
17474/// `MDFeedTypeField` is a `STRING` field, Tag 1022.
17475pub struct MDFeedTypeField(pub FIXString);
17476
17477impl MDFeedTypeField {
17478
17479    pub fn new(val: String) -> Self { Self(val) }
17480    pub fn value(&self) -> &str { &self.0 }
17481
17482    pub fn tag() -> Tag { tag::MD_FEED_TYPE }
17483}
17484
17485impl FieldValueReader for MDFeedTypeField {
17486    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17487        self.0.read(raw)
17488    }
17489}
17490
17491impl FieldValueWriter for MDFeedTypeField {
17492    fn write_to(&self, buf: &mut Vec<u8>) {
17493        self.0.write_to(buf);
17494    }
17495}
17496
17497impl FieldValue for MDFeedTypeField {}
17498
17499
17500/// `MDImplicitDeleteField` is a `BOOLEAN` field, Tag 547.
17501pub struct MDImplicitDeleteField(pub FIXBoolean);
17502
17503impl MDImplicitDeleteField {
17504
17505    pub fn new(val: bool) -> Self { Self(val) }
17506    pub fn value(&self) -> bool { self.0 }
17507
17508    pub fn tag() -> Tag { tag::MD_IMPLICIT_DELETE }
17509}
17510
17511impl FieldValueReader for MDImplicitDeleteField {
17512    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17513        self.0.read(raw)
17514    }
17515}
17516
17517impl FieldValueWriter for MDImplicitDeleteField {
17518    fn write_to(&self, buf: &mut Vec<u8>) {
17519        self.0.write_to(buf);
17520    }
17521}
17522
17523impl FieldValue for MDImplicitDeleteField {}
17524
17525
17526/// `MDMktField` is a `EXCHANGE` field, Tag 275.
17527pub struct MDMktField(pub FIXString);
17528
17529impl MDMktField {
17530
17531    pub fn new(val: String) -> Self { Self(val) }
17532    pub fn value(&self) -> &str { &self.0 }
17533
17534    pub fn tag() -> Tag { tag::MD_MKT }
17535}
17536
17537impl FieldValueReader for MDMktField {
17538    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17539        self.0.read(raw)
17540    }
17541}
17542
17543impl FieldValueWriter for MDMktField {
17544    fn write_to(&self, buf: &mut Vec<u8>) {
17545        self.0.write_to(buf);
17546    }
17547}
17548
17549impl FieldValue for MDMktField {}
17550
17551
17552/// `MDOriginTypeField` is a `INT` field, Tag 1024.
17553pub struct MDOriginTypeField(pub FIXInt);
17554
17555impl MDOriginTypeField {
17556
17557    pub fn new(val: isize) -> Self { Self(val) }
17558    pub fn value(&self) -> isize { self.0 }
17559
17560    pub fn tag() -> Tag { tag::MD_ORIGIN_TYPE }
17561}
17562
17563impl FieldValueReader for MDOriginTypeField {
17564    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17565        self.0.read(raw)
17566    }
17567}
17568
17569impl FieldValueWriter for MDOriginTypeField {
17570    fn write_to(&self, buf: &mut Vec<u8>) {
17571        self.0.write_to(buf);
17572    }
17573}
17574
17575impl FieldValue for MDOriginTypeField {}
17576
17577
17578/// `MDPriceLevelField` is a `INT` field, Tag 1023.
17579pub struct MDPriceLevelField(pub FIXInt);
17580
17581impl MDPriceLevelField {
17582
17583    pub fn new(val: isize) -> Self { Self(val) }
17584    pub fn value(&self) -> isize { self.0 }
17585
17586    pub fn tag() -> Tag { tag::MD_PRICE_LEVEL }
17587}
17588
17589impl FieldValueReader for MDPriceLevelField {
17590    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17591        self.0.read(raw)
17592    }
17593}
17594
17595impl FieldValueWriter for MDPriceLevelField {
17596    fn write_to(&self, buf: &mut Vec<u8>) {
17597        self.0.write_to(buf);
17598    }
17599}
17600
17601impl FieldValue for MDPriceLevelField {}
17602
17603
17604/// `MDQuoteTypeField` is a `INT` field, Tag 1070.
17605pub struct MDQuoteTypeField(pub FIXInt);
17606
17607impl MDQuoteTypeField {
17608
17609    pub fn new(val: isize) -> Self { Self(val) }
17610    pub fn value(&self) -> isize { self.0 }
17611
17612    pub fn tag() -> Tag { tag::MD_QUOTE_TYPE }
17613}
17614
17615impl FieldValueReader for MDQuoteTypeField {
17616    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17617        self.0.read(raw)
17618    }
17619}
17620
17621impl FieldValueWriter for MDQuoteTypeField {
17622    fn write_to(&self, buf: &mut Vec<u8>) {
17623        self.0.write_to(buf);
17624    }
17625}
17626
17627impl FieldValue for MDQuoteTypeField {}
17628
17629
17630/// `MDReportIDField` is a `INT` field, Tag 963.
17631pub struct MDReportIDField(pub FIXInt);
17632
17633impl MDReportIDField {
17634
17635    pub fn new(val: isize) -> Self { Self(val) }
17636    pub fn value(&self) -> isize { self.0 }
17637
17638    pub fn tag() -> Tag { tag::MD_REPORT_ID }
17639}
17640
17641impl FieldValueReader for MDReportIDField {
17642    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17643        self.0.read(raw)
17644    }
17645}
17646
17647impl FieldValueWriter for MDReportIDField {
17648    fn write_to(&self, buf: &mut Vec<u8>) {
17649        self.0.write_to(buf);
17650    }
17651}
17652
17653impl FieldValue for MDReportIDField {}
17654
17655
17656/// `MDReqIDField` is a `STRING` field, Tag 262.
17657pub struct MDReqIDField(pub FIXString);
17658
17659impl MDReqIDField {
17660
17661    pub fn new(val: String) -> Self { Self(val) }
17662    pub fn value(&self) -> &str { &self.0 }
17663
17664    pub fn tag() -> Tag { tag::MD_REQ_ID }
17665}
17666
17667impl FieldValueReader for MDReqIDField {
17668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17669        self.0.read(raw)
17670    }
17671}
17672
17673impl FieldValueWriter for MDReqIDField {
17674    fn write_to(&self, buf: &mut Vec<u8>) {
17675        self.0.write_to(buf);
17676    }
17677}
17678
17679impl FieldValue for MDReqIDField {}
17680
17681
17682/// `MDReqRejReasonField` is a `CHAR` field, Tag 281.
17683pub struct MDReqRejReasonField(pub FIXString);
17684
17685impl MDReqRejReasonField {
17686
17687    pub fn new(val: String) -> Self { Self(val) }
17688    pub fn value(&self) -> &str { &self.0 }
17689
17690    pub fn tag() -> Tag { tag::MD_REQ_REJ_REASON }
17691}
17692
17693impl FieldValueReader for MDReqRejReasonField {
17694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17695        self.0.read(raw)
17696    }
17697}
17698
17699impl FieldValueWriter for MDReqRejReasonField {
17700    fn write_to(&self, buf: &mut Vec<u8>) {
17701        self.0.write_to(buf);
17702    }
17703}
17704
17705impl FieldValue for MDReqRejReasonField {}
17706
17707
17708/// `MDSecSizeField` is a `QTY` field, Tag 1179.
17709pub struct MDSecSizeField(pub FIXDecimal);
17710
17711impl MDSecSizeField {
17712
17713    pub fn new(val: Decimal, scale: i32) -> Self {
17714        Self(FIXDecimal { decimal: val, scale })
17715    }
17716    pub fn value(&self) -> Decimal { self.0.decimal }
17717
17718    pub fn tag() -> Tag { tag::MD_SEC_SIZE }
17719}
17720
17721impl FieldValueReader for MDSecSizeField {
17722    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17723        self.0.read(raw)
17724    }
17725}
17726
17727impl FieldValueWriter for MDSecSizeField {
17728    fn write_to(&self, buf: &mut Vec<u8>) {
17729        self.0.write_to(buf);
17730    }
17731}
17732
17733impl FieldValue for MDSecSizeField {}
17734
17735
17736/// `MDSecSizeTypeField` is a `INT` field, Tag 1178.
17737pub struct MDSecSizeTypeField(pub FIXInt);
17738
17739impl MDSecSizeTypeField {
17740
17741    pub fn new(val: isize) -> Self { Self(val) }
17742    pub fn value(&self) -> isize { self.0 }
17743
17744    pub fn tag() -> Tag { tag::MD_SEC_SIZE_TYPE }
17745}
17746
17747impl FieldValueReader for MDSecSizeTypeField {
17748    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17749        self.0.read(raw)
17750    }
17751}
17752
17753impl FieldValueWriter for MDSecSizeTypeField {
17754    fn write_to(&self, buf: &mut Vec<u8>) {
17755        self.0.write_to(buf);
17756    }
17757}
17758
17759impl FieldValue for MDSecSizeTypeField {}
17760
17761
17762/// `MDStreamIDField` is a `STRING` field, Tag 1500.
17763pub struct MDStreamIDField(pub FIXString);
17764
17765impl MDStreamIDField {
17766
17767    pub fn new(val: String) -> Self { Self(val) }
17768    pub fn value(&self) -> &str { &self.0 }
17769
17770    pub fn tag() -> Tag { tag::MD_STREAM_ID }
17771}
17772
17773impl FieldValueReader for MDStreamIDField {
17774    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17775        self.0.read(raw)
17776    }
17777}
17778
17779impl FieldValueWriter for MDStreamIDField {
17780    fn write_to(&self, buf: &mut Vec<u8>) {
17781        self.0.write_to(buf);
17782    }
17783}
17784
17785impl FieldValue for MDStreamIDField {}
17786
17787
17788/// `MDSubBookTypeField` is a `INT` field, Tag 1173.
17789pub struct MDSubBookTypeField(pub FIXInt);
17790
17791impl MDSubBookTypeField {
17792
17793    pub fn new(val: isize) -> Self { Self(val) }
17794    pub fn value(&self) -> isize { self.0 }
17795
17796    pub fn tag() -> Tag { tag::MD_SUB_BOOK_TYPE }
17797}
17798
17799impl FieldValueReader for MDSubBookTypeField {
17800    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17801        self.0.read(raw)
17802    }
17803}
17804
17805impl FieldValueWriter for MDSubBookTypeField {
17806    fn write_to(&self, buf: &mut Vec<u8>) {
17807        self.0.write_to(buf);
17808    }
17809}
17810
17811impl FieldValue for MDSubBookTypeField {}
17812
17813
17814/// `MDUpdateActionField` is a `CHAR` field, Tag 279.
17815pub struct MDUpdateActionField(pub FIXString);
17816
17817impl MDUpdateActionField {
17818
17819    pub fn new(val: String) -> Self { Self(val) }
17820    pub fn value(&self) -> &str { &self.0 }
17821
17822    pub fn tag() -> Tag { tag::MD_UPDATE_ACTION }
17823}
17824
17825impl FieldValueReader for MDUpdateActionField {
17826    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17827        self.0.read(raw)
17828    }
17829}
17830
17831impl FieldValueWriter for MDUpdateActionField {
17832    fn write_to(&self, buf: &mut Vec<u8>) {
17833        self.0.write_to(buf);
17834    }
17835}
17836
17837impl FieldValue for MDUpdateActionField {}
17838
17839
17840/// `MDUpdateTypeField` is a `INT` field, Tag 265.
17841pub struct MDUpdateTypeField(pub FIXInt);
17842
17843impl MDUpdateTypeField {
17844
17845    pub fn new(val: isize) -> Self { Self(val) }
17846    pub fn value(&self) -> isize { self.0 }
17847
17848    pub fn tag() -> Tag { tag::MD_UPDATE_TYPE }
17849}
17850
17851impl FieldValueReader for MDUpdateTypeField {
17852    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17853        self.0.read(raw)
17854    }
17855}
17856
17857impl FieldValueWriter for MDUpdateTypeField {
17858    fn write_to(&self, buf: &mut Vec<u8>) {
17859        self.0.write_to(buf);
17860    }
17861}
17862
17863impl FieldValue for MDUpdateTypeField {}
17864
17865
17866/// `MailingDtlsField` is a `STRING` field, Tag 474.
17867pub struct MailingDtlsField(pub FIXString);
17868
17869impl MailingDtlsField {
17870
17871    pub fn new(val: String) -> Self { Self(val) }
17872    pub fn value(&self) -> &str { &self.0 }
17873
17874    pub fn tag() -> Tag { tag::MAILING_DTLS }
17875}
17876
17877impl FieldValueReader for MailingDtlsField {
17878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17879        self.0.read(raw)
17880    }
17881}
17882
17883impl FieldValueWriter for MailingDtlsField {
17884    fn write_to(&self, buf: &mut Vec<u8>) {
17885        self.0.write_to(buf);
17886    }
17887}
17888
17889impl FieldValue for MailingDtlsField {}
17890
17891
17892/// `MailingInstField` is a `STRING` field, Tag 482.
17893pub struct MailingInstField(pub FIXString);
17894
17895impl MailingInstField {
17896
17897    pub fn new(val: String) -> Self { Self(val) }
17898    pub fn value(&self) -> &str { &self.0 }
17899
17900    pub fn tag() -> Tag { tag::MAILING_INST }
17901}
17902
17903impl FieldValueReader for MailingInstField {
17904    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17905        self.0.read(raw)
17906    }
17907}
17908
17909impl FieldValueWriter for MailingInstField {
17910    fn write_to(&self, buf: &mut Vec<u8>) {
17911        self.0.write_to(buf);
17912    }
17913}
17914
17915impl FieldValue for MailingInstField {}
17916
17917
17918/// `ManualOrderIndicatorField` is a `BOOLEAN` field, Tag 1028.
17919pub struct ManualOrderIndicatorField(pub FIXBoolean);
17920
17921impl ManualOrderIndicatorField {
17922
17923    pub fn new(val: bool) -> Self { Self(val) }
17924    pub fn value(&self) -> bool { self.0 }
17925
17926    pub fn tag() -> Tag { tag::MANUAL_ORDER_INDICATOR }
17927}
17928
17929impl FieldValueReader for ManualOrderIndicatorField {
17930    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17931        self.0.read(raw)
17932    }
17933}
17934
17935impl FieldValueWriter for ManualOrderIndicatorField {
17936    fn write_to(&self, buf: &mut Vec<u8>) {
17937        self.0.write_to(buf);
17938    }
17939}
17940
17941impl FieldValue for ManualOrderIndicatorField {}
17942
17943
17944/// `MarginExcessField` is a `AMT` field, Tag 899.
17945pub struct MarginExcessField(pub FIXDecimal);
17946
17947impl MarginExcessField {
17948
17949    pub fn new(val: Decimal, scale: i32) -> Self {
17950        Self(FIXDecimal { decimal: val, scale })
17951    }
17952    pub fn value(&self) -> Decimal { self.0.decimal }
17953
17954    pub fn tag() -> Tag { tag::MARGIN_EXCESS }
17955}
17956
17957impl FieldValueReader for MarginExcessField {
17958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17959        self.0.read(raw)
17960    }
17961}
17962
17963impl FieldValueWriter for MarginExcessField {
17964    fn write_to(&self, buf: &mut Vec<u8>) {
17965        self.0.write_to(buf);
17966    }
17967}
17968
17969impl FieldValue for MarginExcessField {}
17970
17971
17972/// `MarginRatioField` is a `PERCENTAGE` field, Tag 898.
17973pub struct MarginRatioField(pub FIXDecimal);
17974
17975impl MarginRatioField {
17976
17977    pub fn new(val: Decimal, scale: i32) -> Self {
17978        Self(FIXDecimal { decimal: val, scale })
17979    }
17980    pub fn value(&self) -> Decimal { self.0.decimal }
17981
17982    pub fn tag() -> Tag { tag::MARGIN_RATIO }
17983}
17984
17985impl FieldValueReader for MarginRatioField {
17986    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
17987        self.0.read(raw)
17988    }
17989}
17990
17991impl FieldValueWriter for MarginRatioField {
17992    fn write_to(&self, buf: &mut Vec<u8>) {
17993        self.0.write_to(buf);
17994    }
17995}
17996
17997impl FieldValue for MarginRatioField {}
17998
17999
18000/// `MarketDepthField` is a `INT` field, Tag 264.
18001pub struct MarketDepthField(pub FIXInt);
18002
18003impl MarketDepthField {
18004
18005    pub fn new(val: isize) -> Self { Self(val) }
18006    pub fn value(&self) -> isize { self.0 }
18007
18008    pub fn tag() -> Tag { tag::MARKET_DEPTH }
18009}
18010
18011impl FieldValueReader for MarketDepthField {
18012    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18013        self.0.read(raw)
18014    }
18015}
18016
18017impl FieldValueWriter for MarketDepthField {
18018    fn write_to(&self, buf: &mut Vec<u8>) {
18019        self.0.write_to(buf);
18020    }
18021}
18022
18023impl FieldValue for MarketDepthField {}
18024
18025
18026/// `MarketIDField` is a `EXCHANGE` field, Tag 1301.
18027pub struct MarketIDField(pub FIXString);
18028
18029impl MarketIDField {
18030
18031    pub fn new(val: String) -> Self { Self(val) }
18032    pub fn value(&self) -> &str { &self.0 }
18033
18034    pub fn tag() -> Tag { tag::MARKET_ID }
18035}
18036
18037impl FieldValueReader for MarketIDField {
18038    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18039        self.0.read(raw)
18040    }
18041}
18042
18043impl FieldValueWriter for MarketIDField {
18044    fn write_to(&self, buf: &mut Vec<u8>) {
18045        self.0.write_to(buf);
18046    }
18047}
18048
18049impl FieldValue for MarketIDField {}
18050
18051
18052/// `MarketReportIDField` is a `STRING` field, Tag 1394.
18053pub struct MarketReportIDField(pub FIXString);
18054
18055impl MarketReportIDField {
18056
18057    pub fn new(val: String) -> Self { Self(val) }
18058    pub fn value(&self) -> &str { &self.0 }
18059
18060    pub fn tag() -> Tag { tag::MARKET_REPORT_ID }
18061}
18062
18063impl FieldValueReader for MarketReportIDField {
18064    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18065        self.0.read(raw)
18066    }
18067}
18068
18069impl FieldValueWriter for MarketReportIDField {
18070    fn write_to(&self, buf: &mut Vec<u8>) {
18071        self.0.write_to(buf);
18072    }
18073}
18074
18075impl FieldValue for MarketReportIDField {}
18076
18077
18078/// `MarketReqIDField` is a `STRING` field, Tag 1393.
18079pub struct MarketReqIDField(pub FIXString);
18080
18081impl MarketReqIDField {
18082
18083    pub fn new(val: String) -> Self { Self(val) }
18084    pub fn value(&self) -> &str { &self.0 }
18085
18086    pub fn tag() -> Tag { tag::MARKET_REQ_ID }
18087}
18088
18089impl FieldValueReader for MarketReqIDField {
18090    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18091        self.0.read(raw)
18092    }
18093}
18094
18095impl FieldValueWriter for MarketReqIDField {
18096    fn write_to(&self, buf: &mut Vec<u8>) {
18097        self.0.write_to(buf);
18098    }
18099}
18100
18101impl FieldValue for MarketReqIDField {}
18102
18103
18104/// `MarketSegmentDescField` is a `STRING` field, Tag 1396.
18105pub struct MarketSegmentDescField(pub FIXString);
18106
18107impl MarketSegmentDescField {
18108
18109    pub fn new(val: String) -> Self { Self(val) }
18110    pub fn value(&self) -> &str { &self.0 }
18111
18112    pub fn tag() -> Tag { tag::MARKET_SEGMENT_DESC }
18113}
18114
18115impl FieldValueReader for MarketSegmentDescField {
18116    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18117        self.0.read(raw)
18118    }
18119}
18120
18121impl FieldValueWriter for MarketSegmentDescField {
18122    fn write_to(&self, buf: &mut Vec<u8>) {
18123        self.0.write_to(buf);
18124    }
18125}
18126
18127impl FieldValue for MarketSegmentDescField {}
18128
18129
18130/// `MarketSegmentIDField` is a `STRING` field, Tag 1300.
18131pub struct MarketSegmentIDField(pub FIXString);
18132
18133impl MarketSegmentIDField {
18134
18135    pub fn new(val: String) -> Self { Self(val) }
18136    pub fn value(&self) -> &str { &self.0 }
18137
18138    pub fn tag() -> Tag { tag::MARKET_SEGMENT_ID }
18139}
18140
18141impl FieldValueReader for MarketSegmentIDField {
18142    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18143        self.0.read(raw)
18144    }
18145}
18146
18147impl FieldValueWriter for MarketSegmentIDField {
18148    fn write_to(&self, buf: &mut Vec<u8>) {
18149        self.0.write_to(buf);
18150    }
18151}
18152
18153impl FieldValue for MarketSegmentIDField {}
18154
18155
18156/// `MarketUpdateActionField` is a `CHAR` field, Tag 1395.
18157pub struct MarketUpdateActionField(pub FIXString);
18158
18159impl MarketUpdateActionField {
18160
18161    pub fn new(val: String) -> Self { Self(val) }
18162    pub fn value(&self) -> &str { &self.0 }
18163
18164    pub fn tag() -> Tag { tag::MARKET_UPDATE_ACTION }
18165}
18166
18167impl FieldValueReader for MarketUpdateActionField {
18168    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18169        self.0.read(raw)
18170    }
18171}
18172
18173impl FieldValueWriter for MarketUpdateActionField {
18174    fn write_to(&self, buf: &mut Vec<u8>) {
18175        self.0.write_to(buf);
18176    }
18177}
18178
18179impl FieldValue for MarketUpdateActionField {}
18180
18181
18182/// `MassActionRejectReasonField` is a `INT` field, Tag 1376.
18183pub struct MassActionRejectReasonField(pub FIXInt);
18184
18185impl MassActionRejectReasonField {
18186
18187    pub fn new(val: isize) -> Self { Self(val) }
18188    pub fn value(&self) -> isize { self.0 }
18189
18190    pub fn tag() -> Tag { tag::MASS_ACTION_REJECT_REASON }
18191}
18192
18193impl FieldValueReader for MassActionRejectReasonField {
18194    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18195        self.0.read(raw)
18196    }
18197}
18198
18199impl FieldValueWriter for MassActionRejectReasonField {
18200    fn write_to(&self, buf: &mut Vec<u8>) {
18201        self.0.write_to(buf);
18202    }
18203}
18204
18205impl FieldValue for MassActionRejectReasonField {}
18206
18207
18208/// `MassActionReportIDField` is a `STRING` field, Tag 1369.
18209pub struct MassActionReportIDField(pub FIXString);
18210
18211impl MassActionReportIDField {
18212
18213    pub fn new(val: String) -> Self { Self(val) }
18214    pub fn value(&self) -> &str { &self.0 }
18215
18216    pub fn tag() -> Tag { tag::MASS_ACTION_REPORT_ID }
18217}
18218
18219impl FieldValueReader for MassActionReportIDField {
18220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18221        self.0.read(raw)
18222    }
18223}
18224
18225impl FieldValueWriter for MassActionReportIDField {
18226    fn write_to(&self, buf: &mut Vec<u8>) {
18227        self.0.write_to(buf);
18228    }
18229}
18230
18231impl FieldValue for MassActionReportIDField {}
18232
18233
18234/// `MassActionResponseField` is a `INT` field, Tag 1375.
18235pub struct MassActionResponseField(pub FIXInt);
18236
18237impl MassActionResponseField {
18238
18239    pub fn new(val: isize) -> Self { Self(val) }
18240    pub fn value(&self) -> isize { self.0 }
18241
18242    pub fn tag() -> Tag { tag::MASS_ACTION_RESPONSE }
18243}
18244
18245impl FieldValueReader for MassActionResponseField {
18246    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18247        self.0.read(raw)
18248    }
18249}
18250
18251impl FieldValueWriter for MassActionResponseField {
18252    fn write_to(&self, buf: &mut Vec<u8>) {
18253        self.0.write_to(buf);
18254    }
18255}
18256
18257impl FieldValue for MassActionResponseField {}
18258
18259
18260/// `MassActionScopeField` is a `INT` field, Tag 1374.
18261pub struct MassActionScopeField(pub FIXInt);
18262
18263impl MassActionScopeField {
18264
18265    pub fn new(val: isize) -> Self { Self(val) }
18266    pub fn value(&self) -> isize { self.0 }
18267
18268    pub fn tag() -> Tag { tag::MASS_ACTION_SCOPE }
18269}
18270
18271impl FieldValueReader for MassActionScopeField {
18272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18273        self.0.read(raw)
18274    }
18275}
18276
18277impl FieldValueWriter for MassActionScopeField {
18278    fn write_to(&self, buf: &mut Vec<u8>) {
18279        self.0.write_to(buf);
18280    }
18281}
18282
18283impl FieldValue for MassActionScopeField {}
18284
18285
18286/// `MassActionTypeField` is a `INT` field, Tag 1373.
18287pub struct MassActionTypeField(pub FIXInt);
18288
18289impl MassActionTypeField {
18290
18291    pub fn new(val: isize) -> Self { Self(val) }
18292    pub fn value(&self) -> isize { self.0 }
18293
18294    pub fn tag() -> Tag { tag::MASS_ACTION_TYPE }
18295}
18296
18297impl FieldValueReader for MassActionTypeField {
18298    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18299        self.0.read(raw)
18300    }
18301}
18302
18303impl FieldValueWriter for MassActionTypeField {
18304    fn write_to(&self, buf: &mut Vec<u8>) {
18305        self.0.write_to(buf);
18306    }
18307}
18308
18309impl FieldValue for MassActionTypeField {}
18310
18311
18312/// `MassCancelRejectReasonField` is a `INT` field, Tag 532.
18313pub struct MassCancelRejectReasonField(pub FIXInt);
18314
18315impl MassCancelRejectReasonField {
18316
18317    pub fn new(val: isize) -> Self { Self(val) }
18318    pub fn value(&self) -> isize { self.0 }
18319
18320    pub fn tag() -> Tag { tag::MASS_CANCEL_REJECT_REASON }
18321}
18322
18323impl FieldValueReader for MassCancelRejectReasonField {
18324    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18325        self.0.read(raw)
18326    }
18327}
18328
18329impl FieldValueWriter for MassCancelRejectReasonField {
18330    fn write_to(&self, buf: &mut Vec<u8>) {
18331        self.0.write_to(buf);
18332    }
18333}
18334
18335impl FieldValue for MassCancelRejectReasonField {}
18336
18337
18338/// `MassCancelRequestTypeField` is a `CHAR` field, Tag 530.
18339pub struct MassCancelRequestTypeField(pub FIXString);
18340
18341impl MassCancelRequestTypeField {
18342
18343    pub fn new(val: String) -> Self { Self(val) }
18344    pub fn value(&self) -> &str { &self.0 }
18345
18346    pub fn tag() -> Tag { tag::MASS_CANCEL_REQUEST_TYPE }
18347}
18348
18349impl FieldValueReader for MassCancelRequestTypeField {
18350    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18351        self.0.read(raw)
18352    }
18353}
18354
18355impl FieldValueWriter for MassCancelRequestTypeField {
18356    fn write_to(&self, buf: &mut Vec<u8>) {
18357        self.0.write_to(buf);
18358    }
18359}
18360
18361impl FieldValue for MassCancelRequestTypeField {}
18362
18363
18364/// `MassCancelResponseField` is a `CHAR` field, Tag 531.
18365pub struct MassCancelResponseField(pub FIXString);
18366
18367impl MassCancelResponseField {
18368
18369    pub fn new(val: String) -> Self { Self(val) }
18370    pub fn value(&self) -> &str { &self.0 }
18371
18372    pub fn tag() -> Tag { tag::MASS_CANCEL_RESPONSE }
18373}
18374
18375impl FieldValueReader for MassCancelResponseField {
18376    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18377        self.0.read(raw)
18378    }
18379}
18380
18381impl FieldValueWriter for MassCancelResponseField {
18382    fn write_to(&self, buf: &mut Vec<u8>) {
18383        self.0.write_to(buf);
18384    }
18385}
18386
18387impl FieldValue for MassCancelResponseField {}
18388
18389
18390/// `MassStatusReqIDField` is a `STRING` field, Tag 584.
18391pub struct MassStatusReqIDField(pub FIXString);
18392
18393impl MassStatusReqIDField {
18394
18395    pub fn new(val: String) -> Self { Self(val) }
18396    pub fn value(&self) -> &str { &self.0 }
18397
18398    pub fn tag() -> Tag { tag::MASS_STATUS_REQ_ID }
18399}
18400
18401impl FieldValueReader for MassStatusReqIDField {
18402    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18403        self.0.read(raw)
18404    }
18405}
18406
18407impl FieldValueWriter for MassStatusReqIDField {
18408    fn write_to(&self, buf: &mut Vec<u8>) {
18409        self.0.write_to(buf);
18410    }
18411}
18412
18413impl FieldValue for MassStatusReqIDField {}
18414
18415
18416/// `MassStatusReqTypeField` is a `INT` field, Tag 585.
18417pub struct MassStatusReqTypeField(pub FIXInt);
18418
18419impl MassStatusReqTypeField {
18420
18421    pub fn new(val: isize) -> Self { Self(val) }
18422    pub fn value(&self) -> isize { self.0 }
18423
18424    pub fn tag() -> Tag { tag::MASS_STATUS_REQ_TYPE }
18425}
18426
18427impl FieldValueReader for MassStatusReqTypeField {
18428    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18429        self.0.read(raw)
18430    }
18431}
18432
18433impl FieldValueWriter for MassStatusReqTypeField {
18434    fn write_to(&self, buf: &mut Vec<u8>) {
18435        self.0.write_to(buf);
18436    }
18437}
18438
18439impl FieldValue for MassStatusReqTypeField {}
18440
18441
18442/// `MatchAlgorithmField` is a `STRING` field, Tag 1142.
18443pub struct MatchAlgorithmField(pub FIXString);
18444
18445impl MatchAlgorithmField {
18446
18447    pub fn new(val: String) -> Self { Self(val) }
18448    pub fn value(&self) -> &str { &self.0 }
18449
18450    pub fn tag() -> Tag { tag::MATCH_ALGORITHM }
18451}
18452
18453impl FieldValueReader for MatchAlgorithmField {
18454    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18455        self.0.read(raw)
18456    }
18457}
18458
18459impl FieldValueWriter for MatchAlgorithmField {
18460    fn write_to(&self, buf: &mut Vec<u8>) {
18461        self.0.write_to(buf);
18462    }
18463}
18464
18465impl FieldValue for MatchAlgorithmField {}
18466
18467
18468/// `MatchIncrementField` is a `QTY` field, Tag 1089.
18469pub struct MatchIncrementField(pub FIXDecimal);
18470
18471impl MatchIncrementField {
18472
18473    pub fn new(val: Decimal, scale: i32) -> Self {
18474        Self(FIXDecimal { decimal: val, scale })
18475    }
18476    pub fn value(&self) -> Decimal { self.0.decimal }
18477
18478    pub fn tag() -> Tag { tag::MATCH_INCREMENT }
18479}
18480
18481impl FieldValueReader for MatchIncrementField {
18482    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18483        self.0.read(raw)
18484    }
18485}
18486
18487impl FieldValueWriter for MatchIncrementField {
18488    fn write_to(&self, buf: &mut Vec<u8>) {
18489        self.0.write_to(buf);
18490    }
18491}
18492
18493impl FieldValue for MatchIncrementField {}
18494
18495
18496/// `MatchStatusField` is a `CHAR` field, Tag 573.
18497pub struct MatchStatusField(pub FIXString);
18498
18499impl MatchStatusField {
18500
18501    pub fn new(val: String) -> Self { Self(val) }
18502    pub fn value(&self) -> &str { &self.0 }
18503
18504    pub fn tag() -> Tag { tag::MATCH_STATUS }
18505}
18506
18507impl FieldValueReader for MatchStatusField {
18508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18509        self.0.read(raw)
18510    }
18511}
18512
18513impl FieldValueWriter for MatchStatusField {
18514    fn write_to(&self, buf: &mut Vec<u8>) {
18515        self.0.write_to(buf);
18516    }
18517}
18518
18519impl FieldValue for MatchStatusField {}
18520
18521
18522/// `MatchTypeField` is a `STRING` field, Tag 574.
18523pub struct MatchTypeField(pub FIXString);
18524
18525impl MatchTypeField {
18526
18527    pub fn new(val: String) -> Self { Self(val) }
18528    pub fn value(&self) -> &str { &self.0 }
18529
18530    pub fn tag() -> Tag { tag::MATCH_TYPE }
18531}
18532
18533impl FieldValueReader for MatchTypeField {
18534    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18535        self.0.read(raw)
18536    }
18537}
18538
18539impl FieldValueWriter for MatchTypeField {
18540    fn write_to(&self, buf: &mut Vec<u8>) {
18541        self.0.write_to(buf);
18542    }
18543}
18544
18545impl FieldValue for MatchTypeField {}
18546
18547
18548/// `MaturityDateField` is a `LOCALMKTDATE` field, Tag 541.
18549pub struct MaturityDateField(pub FIXString);
18550
18551impl MaturityDateField {
18552
18553    pub fn new(val: String) -> Self { Self(val) }
18554    pub fn value(&self) -> &str { &self.0 }
18555
18556    pub fn tag() -> Tag { tag::MATURITY_DATE }
18557}
18558
18559impl FieldValueReader for MaturityDateField {
18560    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18561        self.0.read(raw)
18562    }
18563}
18564
18565impl FieldValueWriter for MaturityDateField {
18566    fn write_to(&self, buf: &mut Vec<u8>) {
18567        self.0.write_to(buf);
18568    }
18569}
18570
18571impl FieldValue for MaturityDateField {}
18572
18573
18574/// `MaturityDayField` is a `DAYOFMONTH` field, Tag 205.
18575pub struct MaturityDayField(pub FIXInt);
18576
18577impl MaturityDayField {
18578
18579    pub fn new(val: isize) -> Self { Self(val) }
18580    pub fn value(&self) -> isize { self.0 }
18581
18582    pub fn tag() -> Tag { tag::MATURITY_DAY }
18583}
18584
18585impl FieldValueReader for MaturityDayField {
18586    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18587        self.0.read(raw)
18588    }
18589}
18590
18591impl FieldValueWriter for MaturityDayField {
18592    fn write_to(&self, buf: &mut Vec<u8>) {
18593        self.0.write_to(buf);
18594    }
18595}
18596
18597impl FieldValue for MaturityDayField {}
18598
18599
18600/// `MaturityMonthYearField` is a `MONTHYEAR` field, Tag 200.
18601pub struct MaturityMonthYearField(pub FIXString);
18602
18603impl MaturityMonthYearField {
18604
18605    pub fn new(val: String) -> Self { Self(val) }
18606    pub fn value(&self) -> &str { &self.0 }
18607
18608    pub fn tag() -> Tag { tag::MATURITY_MONTH_YEAR }
18609}
18610
18611impl FieldValueReader for MaturityMonthYearField {
18612    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18613        self.0.read(raw)
18614    }
18615}
18616
18617impl FieldValueWriter for MaturityMonthYearField {
18618    fn write_to(&self, buf: &mut Vec<u8>) {
18619        self.0.write_to(buf);
18620    }
18621}
18622
18623impl FieldValue for MaturityMonthYearField {}
18624
18625
18626/// `MaturityMonthYearFormatField` is a `INT` field, Tag 1303.
18627pub struct MaturityMonthYearFormatField(pub FIXInt);
18628
18629impl MaturityMonthYearFormatField {
18630
18631    pub fn new(val: isize) -> Self { Self(val) }
18632    pub fn value(&self) -> isize { self.0 }
18633
18634    pub fn tag() -> Tag { tag::MATURITY_MONTH_YEAR_FORMAT }
18635}
18636
18637impl FieldValueReader for MaturityMonthYearFormatField {
18638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18639        self.0.read(raw)
18640    }
18641}
18642
18643impl FieldValueWriter for MaturityMonthYearFormatField {
18644    fn write_to(&self, buf: &mut Vec<u8>) {
18645        self.0.write_to(buf);
18646    }
18647}
18648
18649impl FieldValue for MaturityMonthYearFormatField {}
18650
18651
18652/// `MaturityMonthYearIncrementField` is a `INT` field, Tag 1229.
18653pub struct MaturityMonthYearIncrementField(pub FIXInt);
18654
18655impl MaturityMonthYearIncrementField {
18656
18657    pub fn new(val: isize) -> Self { Self(val) }
18658    pub fn value(&self) -> isize { self.0 }
18659
18660    pub fn tag() -> Tag { tag::MATURITY_MONTH_YEAR_INCREMENT }
18661}
18662
18663impl FieldValueReader for MaturityMonthYearIncrementField {
18664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18665        self.0.read(raw)
18666    }
18667}
18668
18669impl FieldValueWriter for MaturityMonthYearIncrementField {
18670    fn write_to(&self, buf: &mut Vec<u8>) {
18671        self.0.write_to(buf);
18672    }
18673}
18674
18675impl FieldValue for MaturityMonthYearIncrementField {}
18676
18677
18678/// `MaturityMonthYearIncrementUnitsField` is a `INT` field, Tag 1302.
18679pub struct MaturityMonthYearIncrementUnitsField(pub FIXInt);
18680
18681impl MaturityMonthYearIncrementUnitsField {
18682
18683    pub fn new(val: isize) -> Self { Self(val) }
18684    pub fn value(&self) -> isize { self.0 }
18685
18686    pub fn tag() -> Tag { tag::MATURITY_MONTH_YEAR_INCREMENT_UNITS }
18687}
18688
18689impl FieldValueReader for MaturityMonthYearIncrementUnitsField {
18690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18691        self.0.read(raw)
18692    }
18693}
18694
18695impl FieldValueWriter for MaturityMonthYearIncrementUnitsField {
18696    fn write_to(&self, buf: &mut Vec<u8>) {
18697        self.0.write_to(buf);
18698    }
18699}
18700
18701impl FieldValue for MaturityMonthYearIncrementUnitsField {}
18702
18703
18704/// `MaturityNetMoneyField` is a `AMT` field, Tag 890.
18705pub struct MaturityNetMoneyField(pub FIXDecimal);
18706
18707impl MaturityNetMoneyField {
18708
18709    pub fn new(val: Decimal, scale: i32) -> Self {
18710        Self(FIXDecimal { decimal: val, scale })
18711    }
18712    pub fn value(&self) -> Decimal { self.0.decimal }
18713
18714    pub fn tag() -> Tag { tag::MATURITY_NET_MONEY }
18715}
18716
18717impl FieldValueReader for MaturityNetMoneyField {
18718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18719        self.0.read(raw)
18720    }
18721}
18722
18723impl FieldValueWriter for MaturityNetMoneyField {
18724    fn write_to(&self, buf: &mut Vec<u8>) {
18725        self.0.write_to(buf);
18726    }
18727}
18728
18729impl FieldValue for MaturityNetMoneyField {}
18730
18731
18732/// `MaturityRuleIDField` is a `STRING` field, Tag 1222.
18733pub struct MaturityRuleIDField(pub FIXString);
18734
18735impl MaturityRuleIDField {
18736
18737    pub fn new(val: String) -> Self { Self(val) }
18738    pub fn value(&self) -> &str { &self.0 }
18739
18740    pub fn tag() -> Tag { tag::MATURITY_RULE_ID }
18741}
18742
18743impl FieldValueReader for MaturityRuleIDField {
18744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18745        self.0.read(raw)
18746    }
18747}
18748
18749impl FieldValueWriter for MaturityRuleIDField {
18750    fn write_to(&self, buf: &mut Vec<u8>) {
18751        self.0.write_to(buf);
18752    }
18753}
18754
18755impl FieldValue for MaturityRuleIDField {}
18756
18757
18758/// `MaturityTimeField` is a `TZTIMEONLY` field, Tag 1079.
18759pub struct MaturityTimeField(pub FIXString);
18760
18761impl MaturityTimeField {
18762
18763    pub fn new(val: String) -> Self { Self(val) }
18764    pub fn value(&self) -> &str { &self.0 }
18765
18766    pub fn tag() -> Tag { tag::MATURITY_TIME }
18767}
18768
18769impl FieldValueReader for MaturityTimeField {
18770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18771        self.0.read(raw)
18772    }
18773}
18774
18775impl FieldValueWriter for MaturityTimeField {
18776    fn write_to(&self, buf: &mut Vec<u8>) {
18777        self.0.write_to(buf);
18778    }
18779}
18780
18781impl FieldValue for MaturityTimeField {}
18782
18783
18784/// `MaxFloorField` is a `QTY` field, Tag 111.
18785pub struct MaxFloorField(pub FIXDecimal);
18786
18787impl MaxFloorField {
18788
18789    pub fn new(val: Decimal, scale: i32) -> Self {
18790        Self(FIXDecimal { decimal: val, scale })
18791    }
18792    pub fn value(&self) -> Decimal { self.0.decimal }
18793
18794    pub fn tag() -> Tag { tag::MAX_FLOOR }
18795}
18796
18797impl FieldValueReader for MaxFloorField {
18798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18799        self.0.read(raw)
18800    }
18801}
18802
18803impl FieldValueWriter for MaxFloorField {
18804    fn write_to(&self, buf: &mut Vec<u8>) {
18805        self.0.write_to(buf);
18806    }
18807}
18808
18809impl FieldValue for MaxFloorField {}
18810
18811
18812/// `MaxMessageSizeField` is a `LENGTH` field, Tag 383.
18813pub struct MaxMessageSizeField(pub FIXInt);
18814
18815impl MaxMessageSizeField {
18816
18817    pub fn new(val: isize) -> Self { Self(val) }
18818    pub fn value(&self) -> isize { self.0 }
18819
18820    pub fn tag() -> Tag { tag::MAX_MESSAGE_SIZE }
18821}
18822
18823impl FieldValueReader for MaxMessageSizeField {
18824    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18825        self.0.read(raw)
18826    }
18827}
18828
18829impl FieldValueWriter for MaxMessageSizeField {
18830    fn write_to(&self, buf: &mut Vec<u8>) {
18831        self.0.write_to(buf);
18832    }
18833}
18834
18835impl FieldValue for MaxMessageSizeField {}
18836
18837
18838/// `MaxPriceLevelsField` is a `INT` field, Tag 1090.
18839pub struct MaxPriceLevelsField(pub FIXInt);
18840
18841impl MaxPriceLevelsField {
18842
18843    pub fn new(val: isize) -> Self { Self(val) }
18844    pub fn value(&self) -> isize { self.0 }
18845
18846    pub fn tag() -> Tag { tag::MAX_PRICE_LEVELS }
18847}
18848
18849impl FieldValueReader for MaxPriceLevelsField {
18850    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18851        self.0.read(raw)
18852    }
18853}
18854
18855impl FieldValueWriter for MaxPriceLevelsField {
18856    fn write_to(&self, buf: &mut Vec<u8>) {
18857        self.0.write_to(buf);
18858    }
18859}
18860
18861impl FieldValue for MaxPriceLevelsField {}
18862
18863
18864/// `MaxPriceVariationField` is a `FLOAT` field, Tag 1143.
18865pub struct MaxPriceVariationField(pub FIXDecimal);
18866
18867impl MaxPriceVariationField {
18868
18869    pub fn new(val: Decimal, scale: i32) -> Self {
18870        Self(FIXDecimal { decimal: val, scale })
18871    }
18872    pub fn value(&self) -> Decimal { self.0.decimal }
18873
18874    pub fn tag() -> Tag { tag::MAX_PRICE_VARIATION }
18875}
18876
18877impl FieldValueReader for MaxPriceVariationField {
18878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18879        self.0.read(raw)
18880    }
18881}
18882
18883impl FieldValueWriter for MaxPriceVariationField {
18884    fn write_to(&self, buf: &mut Vec<u8>) {
18885        self.0.write_to(buf);
18886    }
18887}
18888
18889impl FieldValue for MaxPriceVariationField {}
18890
18891
18892/// `MaxShowField` is a `QTY` field, Tag 210.
18893pub struct MaxShowField(pub FIXDecimal);
18894
18895impl MaxShowField {
18896
18897    pub fn new(val: Decimal, scale: i32) -> Self {
18898        Self(FIXDecimal { decimal: val, scale })
18899    }
18900    pub fn value(&self) -> Decimal { self.0.decimal }
18901
18902    pub fn tag() -> Tag { tag::MAX_SHOW }
18903}
18904
18905impl FieldValueReader for MaxShowField {
18906    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18907        self.0.read(raw)
18908    }
18909}
18910
18911impl FieldValueWriter for MaxShowField {
18912    fn write_to(&self, buf: &mut Vec<u8>) {
18913        self.0.write_to(buf);
18914    }
18915}
18916
18917impl FieldValue for MaxShowField {}
18918
18919
18920/// `MaxTradeVolField` is a `QTY` field, Tag 1140.
18921pub struct MaxTradeVolField(pub FIXDecimal);
18922
18923impl MaxTradeVolField {
18924
18925    pub fn new(val: Decimal, scale: i32) -> Self {
18926        Self(FIXDecimal { decimal: val, scale })
18927    }
18928    pub fn value(&self) -> Decimal { self.0.decimal }
18929
18930    pub fn tag() -> Tag { tag::MAX_TRADE_VOL }
18931}
18932
18933impl FieldValueReader for MaxTradeVolField {
18934    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18935        self.0.read(raw)
18936    }
18937}
18938
18939impl FieldValueWriter for MaxTradeVolField {
18940    fn write_to(&self, buf: &mut Vec<u8>) {
18941        self.0.write_to(buf);
18942    }
18943}
18944
18945impl FieldValue for MaxTradeVolField {}
18946
18947
18948/// `MessageEncodingField` is a `STRING` field, Tag 347.
18949pub struct MessageEncodingField(pub FIXString);
18950
18951impl MessageEncodingField {
18952
18953    pub fn new(val: String) -> Self { Self(val) }
18954    pub fn value(&self) -> &str { &self.0 }
18955
18956    pub fn tag() -> Tag { tag::MESSAGE_ENCODING }
18957}
18958
18959impl FieldValueReader for MessageEncodingField {
18960    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18961        self.0.read(raw)
18962    }
18963}
18964
18965impl FieldValueWriter for MessageEncodingField {
18966    fn write_to(&self, buf: &mut Vec<u8>) {
18967        self.0.write_to(buf);
18968    }
18969}
18970
18971impl FieldValue for MessageEncodingField {}
18972
18973
18974/// `MessageEventSourceField` is a `STRING` field, Tag 1011.
18975pub struct MessageEventSourceField(pub FIXString);
18976
18977impl MessageEventSourceField {
18978
18979    pub fn new(val: String) -> Self { Self(val) }
18980    pub fn value(&self) -> &str { &self.0 }
18981
18982    pub fn tag() -> Tag { tag::MESSAGE_EVENT_SOURCE }
18983}
18984
18985impl FieldValueReader for MessageEventSourceField {
18986    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
18987        self.0.read(raw)
18988    }
18989}
18990
18991impl FieldValueWriter for MessageEventSourceField {
18992    fn write_to(&self, buf: &mut Vec<u8>) {
18993        self.0.write_to(buf);
18994    }
18995}
18996
18997impl FieldValue for MessageEventSourceField {}
18998
18999
19000/// `MidPxField` is a `PRICE` field, Tag 631.
19001pub struct MidPxField(pub FIXDecimal);
19002
19003impl MidPxField {
19004
19005    pub fn new(val: Decimal, scale: i32) -> Self {
19006        Self(FIXDecimal { decimal: val, scale })
19007    }
19008    pub fn value(&self) -> Decimal { self.0.decimal }
19009
19010    pub fn tag() -> Tag { tag::MID_PX }
19011}
19012
19013impl FieldValueReader for MidPxField {
19014    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19015        self.0.read(raw)
19016    }
19017}
19018
19019impl FieldValueWriter for MidPxField {
19020    fn write_to(&self, buf: &mut Vec<u8>) {
19021        self.0.write_to(buf);
19022    }
19023}
19024
19025impl FieldValue for MidPxField {}
19026
19027
19028/// `MidYieldField` is a `PERCENTAGE` field, Tag 633.
19029pub struct MidYieldField(pub FIXDecimal);
19030
19031impl MidYieldField {
19032
19033    pub fn new(val: Decimal, scale: i32) -> Self {
19034        Self(FIXDecimal { decimal: val, scale })
19035    }
19036    pub fn value(&self) -> Decimal { self.0.decimal }
19037
19038    pub fn tag() -> Tag { tag::MID_YIELD }
19039}
19040
19041impl FieldValueReader for MidYieldField {
19042    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19043        self.0.read(raw)
19044    }
19045}
19046
19047impl FieldValueWriter for MidYieldField {
19048    fn write_to(&self, buf: &mut Vec<u8>) {
19049        self.0.write_to(buf);
19050    }
19051}
19052
19053impl FieldValue for MidYieldField {}
19054
19055
19056/// `MinBidSizeField` is a `QTY` field, Tag 647.
19057pub struct MinBidSizeField(pub FIXDecimal);
19058
19059impl MinBidSizeField {
19060
19061    pub fn new(val: Decimal, scale: i32) -> Self {
19062        Self(FIXDecimal { decimal: val, scale })
19063    }
19064    pub fn value(&self) -> Decimal { self.0.decimal }
19065
19066    pub fn tag() -> Tag { tag::MIN_BID_SIZE }
19067}
19068
19069impl FieldValueReader for MinBidSizeField {
19070    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19071        self.0.read(raw)
19072    }
19073}
19074
19075impl FieldValueWriter for MinBidSizeField {
19076    fn write_to(&self, buf: &mut Vec<u8>) {
19077        self.0.write_to(buf);
19078    }
19079}
19080
19081impl FieldValue for MinBidSizeField {}
19082
19083
19084/// `MinLotSizeField` is a `QTY` field, Tag 1231.
19085pub struct MinLotSizeField(pub FIXDecimal);
19086
19087impl MinLotSizeField {
19088
19089    pub fn new(val: Decimal, scale: i32) -> Self {
19090        Self(FIXDecimal { decimal: val, scale })
19091    }
19092    pub fn value(&self) -> Decimal { self.0.decimal }
19093
19094    pub fn tag() -> Tag { tag::MIN_LOT_SIZE }
19095}
19096
19097impl FieldValueReader for MinLotSizeField {
19098    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19099        self.0.read(raw)
19100    }
19101}
19102
19103impl FieldValueWriter for MinLotSizeField {
19104    fn write_to(&self, buf: &mut Vec<u8>) {
19105        self.0.write_to(buf);
19106    }
19107}
19108
19109impl FieldValue for MinLotSizeField {}
19110
19111
19112/// `MinOfferSizeField` is a `QTY` field, Tag 648.
19113pub struct MinOfferSizeField(pub FIXDecimal);
19114
19115impl MinOfferSizeField {
19116
19117    pub fn new(val: Decimal, scale: i32) -> Self {
19118        Self(FIXDecimal { decimal: val, scale })
19119    }
19120    pub fn value(&self) -> Decimal { self.0.decimal }
19121
19122    pub fn tag() -> Tag { tag::MIN_OFFER_SIZE }
19123}
19124
19125impl FieldValueReader for MinOfferSizeField {
19126    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19127        self.0.read(raw)
19128    }
19129}
19130
19131impl FieldValueWriter for MinOfferSizeField {
19132    fn write_to(&self, buf: &mut Vec<u8>) {
19133        self.0.write_to(buf);
19134    }
19135}
19136
19137impl FieldValue for MinOfferSizeField {}
19138
19139
19140/// `MinPriceIncrementField` is a `FLOAT` field, Tag 969.
19141pub struct MinPriceIncrementField(pub FIXDecimal);
19142
19143impl MinPriceIncrementField {
19144
19145    pub fn new(val: Decimal, scale: i32) -> Self {
19146        Self(FIXDecimal { decimal: val, scale })
19147    }
19148    pub fn value(&self) -> Decimal { self.0.decimal }
19149
19150    pub fn tag() -> Tag { tag::MIN_PRICE_INCREMENT }
19151}
19152
19153impl FieldValueReader for MinPriceIncrementField {
19154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19155        self.0.read(raw)
19156    }
19157}
19158
19159impl FieldValueWriter for MinPriceIncrementField {
19160    fn write_to(&self, buf: &mut Vec<u8>) {
19161        self.0.write_to(buf);
19162    }
19163}
19164
19165impl FieldValue for MinPriceIncrementField {}
19166
19167
19168/// `MinPriceIncrementAmountField` is a `AMT` field, Tag 1146.
19169pub struct MinPriceIncrementAmountField(pub FIXDecimal);
19170
19171impl MinPriceIncrementAmountField {
19172
19173    pub fn new(val: Decimal, scale: i32) -> Self {
19174        Self(FIXDecimal { decimal: val, scale })
19175    }
19176    pub fn value(&self) -> Decimal { self.0.decimal }
19177
19178    pub fn tag() -> Tag { tag::MIN_PRICE_INCREMENT_AMOUNT }
19179}
19180
19181impl FieldValueReader for MinPriceIncrementAmountField {
19182    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19183        self.0.read(raw)
19184    }
19185}
19186
19187impl FieldValueWriter for MinPriceIncrementAmountField {
19188    fn write_to(&self, buf: &mut Vec<u8>) {
19189        self.0.write_to(buf);
19190    }
19191}
19192
19193impl FieldValue for MinPriceIncrementAmountField {}
19194
19195
19196/// `MinQtyField` is a `QTY` field, Tag 110.
19197pub struct MinQtyField(pub FIXDecimal);
19198
19199impl MinQtyField {
19200
19201    pub fn new(val: Decimal, scale: i32) -> Self {
19202        Self(FIXDecimal { decimal: val, scale })
19203    }
19204    pub fn value(&self) -> Decimal { self.0.decimal }
19205
19206    pub fn tag() -> Tag { tag::MIN_QTY }
19207}
19208
19209impl FieldValueReader for MinQtyField {
19210    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19211        self.0.read(raw)
19212    }
19213}
19214
19215impl FieldValueWriter for MinQtyField {
19216    fn write_to(&self, buf: &mut Vec<u8>) {
19217        self.0.write_to(buf);
19218    }
19219}
19220
19221impl FieldValue for MinQtyField {}
19222
19223
19224/// `MinTradeVolField` is a `QTY` field, Tag 562.
19225pub struct MinTradeVolField(pub FIXDecimal);
19226
19227impl MinTradeVolField {
19228
19229    pub fn new(val: Decimal, scale: i32) -> Self {
19230        Self(FIXDecimal { decimal: val, scale })
19231    }
19232    pub fn value(&self) -> Decimal { self.0.decimal }
19233
19234    pub fn tag() -> Tag { tag::MIN_TRADE_VOL }
19235}
19236
19237impl FieldValueReader for MinTradeVolField {
19238    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19239        self.0.read(raw)
19240    }
19241}
19242
19243impl FieldValueWriter for MinTradeVolField {
19244    fn write_to(&self, buf: &mut Vec<u8>) {
19245        self.0.write_to(buf);
19246    }
19247}
19248
19249impl FieldValue for MinTradeVolField {}
19250
19251
19252/// `MiscFeeAmtField` is a `AMT` field, Tag 137.
19253pub struct MiscFeeAmtField(pub FIXDecimal);
19254
19255impl MiscFeeAmtField {
19256
19257    pub fn new(val: Decimal, scale: i32) -> Self {
19258        Self(FIXDecimal { decimal: val, scale })
19259    }
19260    pub fn value(&self) -> Decimal { self.0.decimal }
19261
19262    pub fn tag() -> Tag { tag::MISC_FEE_AMT }
19263}
19264
19265impl FieldValueReader for MiscFeeAmtField {
19266    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19267        self.0.read(raw)
19268    }
19269}
19270
19271impl FieldValueWriter for MiscFeeAmtField {
19272    fn write_to(&self, buf: &mut Vec<u8>) {
19273        self.0.write_to(buf);
19274    }
19275}
19276
19277impl FieldValue for MiscFeeAmtField {}
19278
19279
19280/// `MiscFeeBasisField` is a `INT` field, Tag 891.
19281pub struct MiscFeeBasisField(pub FIXInt);
19282
19283impl MiscFeeBasisField {
19284
19285    pub fn new(val: isize) -> Self { Self(val) }
19286    pub fn value(&self) -> isize { self.0 }
19287
19288    pub fn tag() -> Tag { tag::MISC_FEE_BASIS }
19289}
19290
19291impl FieldValueReader for MiscFeeBasisField {
19292    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19293        self.0.read(raw)
19294    }
19295}
19296
19297impl FieldValueWriter for MiscFeeBasisField {
19298    fn write_to(&self, buf: &mut Vec<u8>) {
19299        self.0.write_to(buf);
19300    }
19301}
19302
19303impl FieldValue for MiscFeeBasisField {}
19304
19305
19306/// `MiscFeeCurrField` is a `CURRENCY` field, Tag 138.
19307pub struct MiscFeeCurrField(pub FIXString);
19308
19309impl MiscFeeCurrField {
19310
19311    pub fn new(val: String) -> Self { Self(val) }
19312    pub fn value(&self) -> &str { &self.0 }
19313
19314    pub fn tag() -> Tag { tag::MISC_FEE_CURR }
19315}
19316
19317impl FieldValueReader for MiscFeeCurrField {
19318    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19319        self.0.read(raw)
19320    }
19321}
19322
19323impl FieldValueWriter for MiscFeeCurrField {
19324    fn write_to(&self, buf: &mut Vec<u8>) {
19325        self.0.write_to(buf);
19326    }
19327}
19328
19329impl FieldValue for MiscFeeCurrField {}
19330
19331
19332/// `MiscFeeTypeField` is a `STRING` field, Tag 139.
19333pub struct MiscFeeTypeField(pub FIXString);
19334
19335impl MiscFeeTypeField {
19336
19337    pub fn new(val: String) -> Self { Self(val) }
19338    pub fn value(&self) -> &str { &self.0 }
19339
19340    pub fn tag() -> Tag { tag::MISC_FEE_TYPE }
19341}
19342
19343impl FieldValueReader for MiscFeeTypeField {
19344    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19345        self.0.read(raw)
19346    }
19347}
19348
19349impl FieldValueWriter for MiscFeeTypeField {
19350    fn write_to(&self, buf: &mut Vec<u8>) {
19351        self.0.write_to(buf);
19352    }
19353}
19354
19355impl FieldValue for MiscFeeTypeField {}
19356
19357
19358/// `MktBidPxField` is a `PRICE` field, Tag 645.
19359pub struct MktBidPxField(pub FIXDecimal);
19360
19361impl MktBidPxField {
19362
19363    pub fn new(val: Decimal, scale: i32) -> Self {
19364        Self(FIXDecimal { decimal: val, scale })
19365    }
19366    pub fn value(&self) -> Decimal { self.0.decimal }
19367
19368    pub fn tag() -> Tag { tag::MKT_BID_PX }
19369}
19370
19371impl FieldValueReader for MktBidPxField {
19372    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19373        self.0.read(raw)
19374    }
19375}
19376
19377impl FieldValueWriter for MktBidPxField {
19378    fn write_to(&self, buf: &mut Vec<u8>) {
19379        self.0.write_to(buf);
19380    }
19381}
19382
19383impl FieldValue for MktBidPxField {}
19384
19385
19386/// `MktOfferPxField` is a `PRICE` field, Tag 646.
19387pub struct MktOfferPxField(pub FIXDecimal);
19388
19389impl MktOfferPxField {
19390
19391    pub fn new(val: Decimal, scale: i32) -> Self {
19392        Self(FIXDecimal { decimal: val, scale })
19393    }
19394    pub fn value(&self) -> Decimal { self.0.decimal }
19395
19396    pub fn tag() -> Tag { tag::MKT_OFFER_PX }
19397}
19398
19399impl FieldValueReader for MktOfferPxField {
19400    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19401        self.0.read(raw)
19402    }
19403}
19404
19405impl FieldValueWriter for MktOfferPxField {
19406    fn write_to(&self, buf: &mut Vec<u8>) {
19407        self.0.write_to(buf);
19408    }
19409}
19410
19411impl FieldValue for MktOfferPxField {}
19412
19413
19414/// `ModelTypeField` is a `INT` field, Tag 1434.
19415pub struct ModelTypeField(pub FIXInt);
19416
19417impl ModelTypeField {
19418
19419    pub fn new(val: isize) -> Self { Self(val) }
19420    pub fn value(&self) -> isize { self.0 }
19421
19422    pub fn tag() -> Tag { tag::MODEL_TYPE }
19423}
19424
19425impl FieldValueReader for ModelTypeField {
19426    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19427        self.0.read(raw)
19428    }
19429}
19430
19431impl FieldValueWriter for ModelTypeField {
19432    fn write_to(&self, buf: &mut Vec<u8>) {
19433        self.0.write_to(buf);
19434    }
19435}
19436
19437impl FieldValue for ModelTypeField {}
19438
19439
19440/// `MoneyLaunderingStatusField` is a `CHAR` field, Tag 481.
19441pub struct MoneyLaunderingStatusField(pub FIXString);
19442
19443impl MoneyLaunderingStatusField {
19444
19445    pub fn new(val: String) -> Self { Self(val) }
19446    pub fn value(&self) -> &str { &self.0 }
19447
19448    pub fn tag() -> Tag { tag::MONEY_LAUNDERING_STATUS }
19449}
19450
19451impl FieldValueReader for MoneyLaunderingStatusField {
19452    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19453        self.0.read(raw)
19454    }
19455}
19456
19457impl FieldValueWriter for MoneyLaunderingStatusField {
19458    fn write_to(&self, buf: &mut Vec<u8>) {
19459        self.0.write_to(buf);
19460    }
19461}
19462
19463impl FieldValue for MoneyLaunderingStatusField {}
19464
19465
19466/// `MsgDirectionField` is a `CHAR` field, Tag 385.
19467pub struct MsgDirectionField(pub FIXString);
19468
19469impl MsgDirectionField {
19470
19471    pub fn new(val: String) -> Self { Self(val) }
19472    pub fn value(&self) -> &str { &self.0 }
19473
19474    pub fn tag() -> Tag { tag::MSG_DIRECTION }
19475}
19476
19477impl FieldValueReader for MsgDirectionField {
19478    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19479        self.0.read(raw)
19480    }
19481}
19482
19483impl FieldValueWriter for MsgDirectionField {
19484    fn write_to(&self, buf: &mut Vec<u8>) {
19485        self.0.write_to(buf);
19486    }
19487}
19488
19489impl FieldValue for MsgDirectionField {}
19490
19491
19492/// `MsgSeqNumField` is a `SEQNUM` field, Tag 34.
19493pub struct MsgSeqNumField(pub FIXInt);
19494
19495impl MsgSeqNumField {
19496
19497    pub fn new(val: isize) -> Self { Self(val) }
19498    pub fn value(&self) -> isize { self.0 }
19499
19500    pub fn tag() -> Tag { tag::MSG_SEQ_NUM }
19501}
19502
19503impl FieldValueReader for MsgSeqNumField {
19504    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19505        self.0.read(raw)
19506    }
19507}
19508
19509impl FieldValueWriter for MsgSeqNumField {
19510    fn write_to(&self, buf: &mut Vec<u8>) {
19511        self.0.write_to(buf);
19512    }
19513}
19514
19515impl FieldValue for MsgSeqNumField {}
19516
19517
19518/// `MsgTypeField` is a `STRING` field, Tag 35.
19519pub struct MsgTypeField(pub FIXString);
19520
19521impl MsgTypeField {
19522
19523    pub fn new(val: String) -> Self { Self(val) }
19524    pub fn value(&self) -> &str { &self.0 }
19525
19526    pub fn tag() -> Tag { tag::MSG_TYPE }
19527}
19528
19529impl FieldValueReader for MsgTypeField {
19530    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19531        self.0.read(raw)
19532    }
19533}
19534
19535impl FieldValueWriter for MsgTypeField {
19536    fn write_to(&self, buf: &mut Vec<u8>) {
19537        self.0.write_to(buf);
19538    }
19539}
19540
19541impl FieldValue for MsgTypeField {}
19542
19543
19544/// `MultiLegReportingTypeField` is a `CHAR` field, Tag 442.
19545pub struct MultiLegReportingTypeField(pub FIXString);
19546
19547impl MultiLegReportingTypeField {
19548
19549    pub fn new(val: String) -> Self { Self(val) }
19550    pub fn value(&self) -> &str { &self.0 }
19551
19552    pub fn tag() -> Tag { tag::MULTI_LEG_REPORTING_TYPE }
19553}
19554
19555impl FieldValueReader for MultiLegReportingTypeField {
19556    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19557        self.0.read(raw)
19558    }
19559}
19560
19561impl FieldValueWriter for MultiLegReportingTypeField {
19562    fn write_to(&self, buf: &mut Vec<u8>) {
19563        self.0.write_to(buf);
19564    }
19565}
19566
19567impl FieldValue for MultiLegReportingTypeField {}
19568
19569
19570/// `MultiLegRptTypeReqField` is a `INT` field, Tag 563.
19571pub struct MultiLegRptTypeReqField(pub FIXInt);
19572
19573impl MultiLegRptTypeReqField {
19574
19575    pub fn new(val: isize) -> Self { Self(val) }
19576    pub fn value(&self) -> isize { self.0 }
19577
19578    pub fn tag() -> Tag { tag::MULTI_LEG_RPT_TYPE_REQ }
19579}
19580
19581impl FieldValueReader for MultiLegRptTypeReqField {
19582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19583        self.0.read(raw)
19584    }
19585}
19586
19587impl FieldValueWriter for MultiLegRptTypeReqField {
19588    fn write_to(&self, buf: &mut Vec<u8>) {
19589        self.0.write_to(buf);
19590    }
19591}
19592
19593impl FieldValue for MultiLegRptTypeReqField {}
19594
19595
19596/// `MultilegModelField` is a `INT` field, Tag 1377.
19597pub struct MultilegModelField(pub FIXInt);
19598
19599impl MultilegModelField {
19600
19601    pub fn new(val: isize) -> Self { Self(val) }
19602    pub fn value(&self) -> isize { self.0 }
19603
19604    pub fn tag() -> Tag { tag::MULTILEG_MODEL }
19605}
19606
19607impl FieldValueReader for MultilegModelField {
19608    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19609        self.0.read(raw)
19610    }
19611}
19612
19613impl FieldValueWriter for MultilegModelField {
19614    fn write_to(&self, buf: &mut Vec<u8>) {
19615        self.0.write_to(buf);
19616    }
19617}
19618
19619impl FieldValue for MultilegModelField {}
19620
19621
19622/// `MultilegPriceMethodField` is a `INT` field, Tag 1378.
19623pub struct MultilegPriceMethodField(pub FIXInt);
19624
19625impl MultilegPriceMethodField {
19626
19627    pub fn new(val: isize) -> Self { Self(val) }
19628    pub fn value(&self) -> isize { self.0 }
19629
19630    pub fn tag() -> Tag { tag::MULTILEG_PRICE_METHOD }
19631}
19632
19633impl FieldValueReader for MultilegPriceMethodField {
19634    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19635        self.0.read(raw)
19636    }
19637}
19638
19639impl FieldValueWriter for MultilegPriceMethodField {
19640    fn write_to(&self, buf: &mut Vec<u8>) {
19641        self.0.write_to(buf);
19642    }
19643}
19644
19645impl FieldValue for MultilegPriceMethodField {}
19646
19647
19648/// `NTPositionLimitField` is a `INT` field, Tag 971.
19649pub struct NTPositionLimitField(pub FIXInt);
19650
19651impl NTPositionLimitField {
19652
19653    pub fn new(val: isize) -> Self { Self(val) }
19654    pub fn value(&self) -> isize { self.0 }
19655
19656    pub fn tag() -> Tag { tag::NT_POSITION_LIMIT }
19657}
19658
19659impl FieldValueReader for NTPositionLimitField {
19660    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19661        self.0.read(raw)
19662    }
19663}
19664
19665impl FieldValueWriter for NTPositionLimitField {
19666    fn write_to(&self, buf: &mut Vec<u8>) {
19667        self.0.write_to(buf);
19668    }
19669}
19670
19671impl FieldValue for NTPositionLimitField {}
19672
19673
19674/// `Nested2PartyIDField` is a `STRING` field, Tag 757.
19675pub struct Nested2PartyIDField(pub FIXString);
19676
19677impl Nested2PartyIDField {
19678
19679    pub fn new(val: String) -> Self { Self(val) }
19680    pub fn value(&self) -> &str { &self.0 }
19681
19682    pub fn tag() -> Tag { tag::NESTED2_PARTY_ID }
19683}
19684
19685impl FieldValueReader for Nested2PartyIDField {
19686    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19687        self.0.read(raw)
19688    }
19689}
19690
19691impl FieldValueWriter for Nested2PartyIDField {
19692    fn write_to(&self, buf: &mut Vec<u8>) {
19693        self.0.write_to(buf);
19694    }
19695}
19696
19697impl FieldValue for Nested2PartyIDField {}
19698
19699
19700/// `Nested2PartyIDSourceField` is a `CHAR` field, Tag 758.
19701pub struct Nested2PartyIDSourceField(pub FIXString);
19702
19703impl Nested2PartyIDSourceField {
19704
19705    pub fn new(val: String) -> Self { Self(val) }
19706    pub fn value(&self) -> &str { &self.0 }
19707
19708    pub fn tag() -> Tag { tag::NESTED2_PARTY_ID_SOURCE }
19709}
19710
19711impl FieldValueReader for Nested2PartyIDSourceField {
19712    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19713        self.0.read(raw)
19714    }
19715}
19716
19717impl FieldValueWriter for Nested2PartyIDSourceField {
19718    fn write_to(&self, buf: &mut Vec<u8>) {
19719        self.0.write_to(buf);
19720    }
19721}
19722
19723impl FieldValue for Nested2PartyIDSourceField {}
19724
19725
19726/// `Nested2PartyRoleField` is a `INT` field, Tag 759.
19727pub struct Nested2PartyRoleField(pub FIXInt);
19728
19729impl Nested2PartyRoleField {
19730
19731    pub fn new(val: isize) -> Self { Self(val) }
19732    pub fn value(&self) -> isize { self.0 }
19733
19734    pub fn tag() -> Tag { tag::NESTED2_PARTY_ROLE }
19735}
19736
19737impl FieldValueReader for Nested2PartyRoleField {
19738    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19739        self.0.read(raw)
19740    }
19741}
19742
19743impl FieldValueWriter for Nested2PartyRoleField {
19744    fn write_to(&self, buf: &mut Vec<u8>) {
19745        self.0.write_to(buf);
19746    }
19747}
19748
19749impl FieldValue for Nested2PartyRoleField {}
19750
19751
19752/// `Nested2PartySubIDField` is a `STRING` field, Tag 760.
19753pub struct Nested2PartySubIDField(pub FIXString);
19754
19755impl Nested2PartySubIDField {
19756
19757    pub fn new(val: String) -> Self { Self(val) }
19758    pub fn value(&self) -> &str { &self.0 }
19759
19760    pub fn tag() -> Tag { tag::NESTED2_PARTY_SUB_ID }
19761}
19762
19763impl FieldValueReader for Nested2PartySubIDField {
19764    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19765        self.0.read(raw)
19766    }
19767}
19768
19769impl FieldValueWriter for Nested2PartySubIDField {
19770    fn write_to(&self, buf: &mut Vec<u8>) {
19771        self.0.write_to(buf);
19772    }
19773}
19774
19775impl FieldValue for Nested2PartySubIDField {}
19776
19777
19778/// `Nested2PartySubIDTypeField` is a `INT` field, Tag 807.
19779pub struct Nested2PartySubIDTypeField(pub FIXInt);
19780
19781impl Nested2PartySubIDTypeField {
19782
19783    pub fn new(val: isize) -> Self { Self(val) }
19784    pub fn value(&self) -> isize { self.0 }
19785
19786    pub fn tag() -> Tag { tag::NESTED2_PARTY_SUB_ID_TYPE }
19787}
19788
19789impl FieldValueReader for Nested2PartySubIDTypeField {
19790    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19791        self.0.read(raw)
19792    }
19793}
19794
19795impl FieldValueWriter for Nested2PartySubIDTypeField {
19796    fn write_to(&self, buf: &mut Vec<u8>) {
19797        self.0.write_to(buf);
19798    }
19799}
19800
19801impl FieldValue for Nested2PartySubIDTypeField {}
19802
19803
19804/// `Nested3PartyIDField` is a `STRING` field, Tag 949.
19805pub struct Nested3PartyIDField(pub FIXString);
19806
19807impl Nested3PartyIDField {
19808
19809    pub fn new(val: String) -> Self { Self(val) }
19810    pub fn value(&self) -> &str { &self.0 }
19811
19812    pub fn tag() -> Tag { tag::NESTED3_PARTY_ID }
19813}
19814
19815impl FieldValueReader for Nested3PartyIDField {
19816    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19817        self.0.read(raw)
19818    }
19819}
19820
19821impl FieldValueWriter for Nested3PartyIDField {
19822    fn write_to(&self, buf: &mut Vec<u8>) {
19823        self.0.write_to(buf);
19824    }
19825}
19826
19827impl FieldValue for Nested3PartyIDField {}
19828
19829
19830/// `Nested3PartyIDSourceField` is a `CHAR` field, Tag 950.
19831pub struct Nested3PartyIDSourceField(pub FIXString);
19832
19833impl Nested3PartyIDSourceField {
19834
19835    pub fn new(val: String) -> Self { Self(val) }
19836    pub fn value(&self) -> &str { &self.0 }
19837
19838    pub fn tag() -> Tag { tag::NESTED3_PARTY_ID_SOURCE }
19839}
19840
19841impl FieldValueReader for Nested3PartyIDSourceField {
19842    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19843        self.0.read(raw)
19844    }
19845}
19846
19847impl FieldValueWriter for Nested3PartyIDSourceField {
19848    fn write_to(&self, buf: &mut Vec<u8>) {
19849        self.0.write_to(buf);
19850    }
19851}
19852
19853impl FieldValue for Nested3PartyIDSourceField {}
19854
19855
19856/// `Nested3PartyRoleField` is a `INT` field, Tag 951.
19857pub struct Nested3PartyRoleField(pub FIXInt);
19858
19859impl Nested3PartyRoleField {
19860
19861    pub fn new(val: isize) -> Self { Self(val) }
19862    pub fn value(&self) -> isize { self.0 }
19863
19864    pub fn tag() -> Tag { tag::NESTED3_PARTY_ROLE }
19865}
19866
19867impl FieldValueReader for Nested3PartyRoleField {
19868    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19869        self.0.read(raw)
19870    }
19871}
19872
19873impl FieldValueWriter for Nested3PartyRoleField {
19874    fn write_to(&self, buf: &mut Vec<u8>) {
19875        self.0.write_to(buf);
19876    }
19877}
19878
19879impl FieldValue for Nested3PartyRoleField {}
19880
19881
19882/// `Nested3PartySubIDField` is a `STRING` field, Tag 953.
19883pub struct Nested3PartySubIDField(pub FIXString);
19884
19885impl Nested3PartySubIDField {
19886
19887    pub fn new(val: String) -> Self { Self(val) }
19888    pub fn value(&self) -> &str { &self.0 }
19889
19890    pub fn tag() -> Tag { tag::NESTED3_PARTY_SUB_ID }
19891}
19892
19893impl FieldValueReader for Nested3PartySubIDField {
19894    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19895        self.0.read(raw)
19896    }
19897}
19898
19899impl FieldValueWriter for Nested3PartySubIDField {
19900    fn write_to(&self, buf: &mut Vec<u8>) {
19901        self.0.write_to(buf);
19902    }
19903}
19904
19905impl FieldValue for Nested3PartySubIDField {}
19906
19907
19908/// `Nested3PartySubIDTypeField` is a `INT` field, Tag 954.
19909pub struct Nested3PartySubIDTypeField(pub FIXInt);
19910
19911impl Nested3PartySubIDTypeField {
19912
19913    pub fn new(val: isize) -> Self { Self(val) }
19914    pub fn value(&self) -> isize { self.0 }
19915
19916    pub fn tag() -> Tag { tag::NESTED3_PARTY_SUB_ID_TYPE }
19917}
19918
19919impl FieldValueReader for Nested3PartySubIDTypeField {
19920    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19921        self.0.read(raw)
19922    }
19923}
19924
19925impl FieldValueWriter for Nested3PartySubIDTypeField {
19926    fn write_to(&self, buf: &mut Vec<u8>) {
19927        self.0.write_to(buf);
19928    }
19929}
19930
19931impl FieldValue for Nested3PartySubIDTypeField {}
19932
19933
19934/// `Nested4PartyIDField` is a `STRING` field, Tag 1415.
19935pub struct Nested4PartyIDField(pub FIXString);
19936
19937impl Nested4PartyIDField {
19938
19939    pub fn new(val: String) -> Self { Self(val) }
19940    pub fn value(&self) -> &str { &self.0 }
19941
19942    pub fn tag() -> Tag { tag::NESTED4_PARTY_ID }
19943}
19944
19945impl FieldValueReader for Nested4PartyIDField {
19946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19947        self.0.read(raw)
19948    }
19949}
19950
19951impl FieldValueWriter for Nested4PartyIDField {
19952    fn write_to(&self, buf: &mut Vec<u8>) {
19953        self.0.write_to(buf);
19954    }
19955}
19956
19957impl FieldValue for Nested4PartyIDField {}
19958
19959
19960/// `Nested4PartyIDSourceField` is a `CHAR` field, Tag 1416.
19961pub struct Nested4PartyIDSourceField(pub FIXString);
19962
19963impl Nested4PartyIDSourceField {
19964
19965    pub fn new(val: String) -> Self { Self(val) }
19966    pub fn value(&self) -> &str { &self.0 }
19967
19968    pub fn tag() -> Tag { tag::NESTED4_PARTY_ID_SOURCE }
19969}
19970
19971impl FieldValueReader for Nested4PartyIDSourceField {
19972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19973        self.0.read(raw)
19974    }
19975}
19976
19977impl FieldValueWriter for Nested4PartyIDSourceField {
19978    fn write_to(&self, buf: &mut Vec<u8>) {
19979        self.0.write_to(buf);
19980    }
19981}
19982
19983impl FieldValue for Nested4PartyIDSourceField {}
19984
19985
19986/// `Nested4PartyRoleField` is a `INT` field, Tag 1417.
19987pub struct Nested4PartyRoleField(pub FIXInt);
19988
19989impl Nested4PartyRoleField {
19990
19991    pub fn new(val: isize) -> Self { Self(val) }
19992    pub fn value(&self) -> isize { self.0 }
19993
19994    pub fn tag() -> Tag { tag::NESTED4_PARTY_ROLE }
19995}
19996
19997impl FieldValueReader for Nested4PartyRoleField {
19998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
19999        self.0.read(raw)
20000    }
20001}
20002
20003impl FieldValueWriter for Nested4PartyRoleField {
20004    fn write_to(&self, buf: &mut Vec<u8>) {
20005        self.0.write_to(buf);
20006    }
20007}
20008
20009impl FieldValue for Nested4PartyRoleField {}
20010
20011
20012/// `Nested4PartySubIDField` is a `STRING` field, Tag 1412.
20013pub struct Nested4PartySubIDField(pub FIXString);
20014
20015impl Nested4PartySubIDField {
20016
20017    pub fn new(val: String) -> Self { Self(val) }
20018    pub fn value(&self) -> &str { &self.0 }
20019
20020    pub fn tag() -> Tag { tag::NESTED4_PARTY_SUB_ID }
20021}
20022
20023impl FieldValueReader for Nested4PartySubIDField {
20024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20025        self.0.read(raw)
20026    }
20027}
20028
20029impl FieldValueWriter for Nested4PartySubIDField {
20030    fn write_to(&self, buf: &mut Vec<u8>) {
20031        self.0.write_to(buf);
20032    }
20033}
20034
20035impl FieldValue for Nested4PartySubIDField {}
20036
20037
20038/// `Nested4PartySubIDTypeField` is a `INT` field, Tag 1411.
20039pub struct Nested4PartySubIDTypeField(pub FIXInt);
20040
20041impl Nested4PartySubIDTypeField {
20042
20043    pub fn new(val: isize) -> Self { Self(val) }
20044    pub fn value(&self) -> isize { self.0 }
20045
20046    pub fn tag() -> Tag { tag::NESTED4_PARTY_SUB_ID_TYPE }
20047}
20048
20049impl FieldValueReader for Nested4PartySubIDTypeField {
20050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20051        self.0.read(raw)
20052    }
20053}
20054
20055impl FieldValueWriter for Nested4PartySubIDTypeField {
20056    fn write_to(&self, buf: &mut Vec<u8>) {
20057        self.0.write_to(buf);
20058    }
20059}
20060
20061impl FieldValue for Nested4PartySubIDTypeField {}
20062
20063
20064/// `NestedInstrAttribTypeField` is a `INT` field, Tag 1210.
20065pub struct NestedInstrAttribTypeField(pub FIXInt);
20066
20067impl NestedInstrAttribTypeField {
20068
20069    pub fn new(val: isize) -> Self { Self(val) }
20070    pub fn value(&self) -> isize { self.0 }
20071
20072    pub fn tag() -> Tag { tag::NESTED_INSTR_ATTRIB_TYPE }
20073}
20074
20075impl FieldValueReader for NestedInstrAttribTypeField {
20076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20077        self.0.read(raw)
20078    }
20079}
20080
20081impl FieldValueWriter for NestedInstrAttribTypeField {
20082    fn write_to(&self, buf: &mut Vec<u8>) {
20083        self.0.write_to(buf);
20084    }
20085}
20086
20087impl FieldValue for NestedInstrAttribTypeField {}
20088
20089
20090/// `NestedInstrAttribValueField` is a `STRING` field, Tag 1211.
20091pub struct NestedInstrAttribValueField(pub FIXString);
20092
20093impl NestedInstrAttribValueField {
20094
20095    pub fn new(val: String) -> Self { Self(val) }
20096    pub fn value(&self) -> &str { &self.0 }
20097
20098    pub fn tag() -> Tag { tag::NESTED_INSTR_ATTRIB_VALUE }
20099}
20100
20101impl FieldValueReader for NestedInstrAttribValueField {
20102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20103        self.0.read(raw)
20104    }
20105}
20106
20107impl FieldValueWriter for NestedInstrAttribValueField {
20108    fn write_to(&self, buf: &mut Vec<u8>) {
20109        self.0.write_to(buf);
20110    }
20111}
20112
20113impl FieldValue for NestedInstrAttribValueField {}
20114
20115
20116/// `NestedPartyIDField` is a `STRING` field, Tag 524.
20117pub struct NestedPartyIDField(pub FIXString);
20118
20119impl NestedPartyIDField {
20120
20121    pub fn new(val: String) -> Self { Self(val) }
20122    pub fn value(&self) -> &str { &self.0 }
20123
20124    pub fn tag() -> Tag { tag::NESTED_PARTY_ID }
20125}
20126
20127impl FieldValueReader for NestedPartyIDField {
20128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20129        self.0.read(raw)
20130    }
20131}
20132
20133impl FieldValueWriter for NestedPartyIDField {
20134    fn write_to(&self, buf: &mut Vec<u8>) {
20135        self.0.write_to(buf);
20136    }
20137}
20138
20139impl FieldValue for NestedPartyIDField {}
20140
20141
20142/// `NestedPartyIDSourceField` is a `CHAR` field, Tag 525.
20143pub struct NestedPartyIDSourceField(pub FIXString);
20144
20145impl NestedPartyIDSourceField {
20146
20147    pub fn new(val: String) -> Self { Self(val) }
20148    pub fn value(&self) -> &str { &self.0 }
20149
20150    pub fn tag() -> Tag { tag::NESTED_PARTY_ID_SOURCE }
20151}
20152
20153impl FieldValueReader for NestedPartyIDSourceField {
20154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20155        self.0.read(raw)
20156    }
20157}
20158
20159impl FieldValueWriter for NestedPartyIDSourceField {
20160    fn write_to(&self, buf: &mut Vec<u8>) {
20161        self.0.write_to(buf);
20162    }
20163}
20164
20165impl FieldValue for NestedPartyIDSourceField {}
20166
20167
20168/// `NestedPartyRoleField` is a `INT` field, Tag 538.
20169pub struct NestedPartyRoleField(pub FIXInt);
20170
20171impl NestedPartyRoleField {
20172
20173    pub fn new(val: isize) -> Self { Self(val) }
20174    pub fn value(&self) -> isize { self.0 }
20175
20176    pub fn tag() -> Tag { tag::NESTED_PARTY_ROLE }
20177}
20178
20179impl FieldValueReader for NestedPartyRoleField {
20180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20181        self.0.read(raw)
20182    }
20183}
20184
20185impl FieldValueWriter for NestedPartyRoleField {
20186    fn write_to(&self, buf: &mut Vec<u8>) {
20187        self.0.write_to(buf);
20188    }
20189}
20190
20191impl FieldValue for NestedPartyRoleField {}
20192
20193
20194/// `NestedPartySubIDField` is a `STRING` field, Tag 545.
20195pub struct NestedPartySubIDField(pub FIXString);
20196
20197impl NestedPartySubIDField {
20198
20199    pub fn new(val: String) -> Self { Self(val) }
20200    pub fn value(&self) -> &str { &self.0 }
20201
20202    pub fn tag() -> Tag { tag::NESTED_PARTY_SUB_ID }
20203}
20204
20205impl FieldValueReader for NestedPartySubIDField {
20206    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20207        self.0.read(raw)
20208    }
20209}
20210
20211impl FieldValueWriter for NestedPartySubIDField {
20212    fn write_to(&self, buf: &mut Vec<u8>) {
20213        self.0.write_to(buf);
20214    }
20215}
20216
20217impl FieldValue for NestedPartySubIDField {}
20218
20219
20220/// `NestedPartySubIDTypeField` is a `INT` field, Tag 805.
20221pub struct NestedPartySubIDTypeField(pub FIXInt);
20222
20223impl NestedPartySubIDTypeField {
20224
20225    pub fn new(val: isize) -> Self { Self(val) }
20226    pub fn value(&self) -> isize { self.0 }
20227
20228    pub fn tag() -> Tag { tag::NESTED_PARTY_SUB_ID_TYPE }
20229}
20230
20231impl FieldValueReader for NestedPartySubIDTypeField {
20232    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20233        self.0.read(raw)
20234    }
20235}
20236
20237impl FieldValueWriter for NestedPartySubIDTypeField {
20238    fn write_to(&self, buf: &mut Vec<u8>) {
20239        self.0.write_to(buf);
20240    }
20241}
20242
20243impl FieldValue for NestedPartySubIDTypeField {}
20244
20245
20246/// `NetChgPrevDayField` is a `PRICEOFFSET` field, Tag 451.
20247pub struct NetChgPrevDayField(pub FIXDecimal);
20248
20249impl NetChgPrevDayField {
20250
20251    pub fn new(val: Decimal, scale: i32) -> Self {
20252        Self(FIXDecimal { decimal: val, scale })
20253    }
20254    pub fn value(&self) -> Decimal { self.0.decimal }
20255
20256    pub fn tag() -> Tag { tag::NET_CHG_PREV_DAY }
20257}
20258
20259impl FieldValueReader for NetChgPrevDayField {
20260    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20261        self.0.read(raw)
20262    }
20263}
20264
20265impl FieldValueWriter for NetChgPrevDayField {
20266    fn write_to(&self, buf: &mut Vec<u8>) {
20267        self.0.write_to(buf);
20268    }
20269}
20270
20271impl FieldValue for NetChgPrevDayField {}
20272
20273
20274/// `NetGrossIndField` is a `INT` field, Tag 430.
20275pub struct NetGrossIndField(pub FIXInt);
20276
20277impl NetGrossIndField {
20278
20279    pub fn new(val: isize) -> Self { Self(val) }
20280    pub fn value(&self) -> isize { self.0 }
20281
20282    pub fn tag() -> Tag { tag::NET_GROSS_IND }
20283}
20284
20285impl FieldValueReader for NetGrossIndField {
20286    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20287        self.0.read(raw)
20288    }
20289}
20290
20291impl FieldValueWriter for NetGrossIndField {
20292    fn write_to(&self, buf: &mut Vec<u8>) {
20293        self.0.write_to(buf);
20294    }
20295}
20296
20297impl FieldValue for NetGrossIndField {}
20298
20299
20300/// `NetMoneyField` is a `AMT` field, Tag 118.
20301pub struct NetMoneyField(pub FIXDecimal);
20302
20303impl NetMoneyField {
20304
20305    pub fn new(val: Decimal, scale: i32) -> Self {
20306        Self(FIXDecimal { decimal: val, scale })
20307    }
20308    pub fn value(&self) -> Decimal { self.0.decimal }
20309
20310    pub fn tag() -> Tag { tag::NET_MONEY }
20311}
20312
20313impl FieldValueReader for NetMoneyField {
20314    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20315        self.0.read(raw)
20316    }
20317}
20318
20319impl FieldValueWriter for NetMoneyField {
20320    fn write_to(&self, buf: &mut Vec<u8>) {
20321        self.0.write_to(buf);
20322    }
20323}
20324
20325impl FieldValue for NetMoneyField {}
20326
20327
20328/// `NetworkRequestIDField` is a `STRING` field, Tag 933.
20329pub struct NetworkRequestIDField(pub FIXString);
20330
20331impl NetworkRequestIDField {
20332
20333    pub fn new(val: String) -> Self { Self(val) }
20334    pub fn value(&self) -> &str { &self.0 }
20335
20336    pub fn tag() -> Tag { tag::NETWORK_REQUEST_ID }
20337}
20338
20339impl FieldValueReader for NetworkRequestIDField {
20340    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20341        self.0.read(raw)
20342    }
20343}
20344
20345impl FieldValueWriter for NetworkRequestIDField {
20346    fn write_to(&self, buf: &mut Vec<u8>) {
20347        self.0.write_to(buf);
20348    }
20349}
20350
20351impl FieldValue for NetworkRequestIDField {}
20352
20353
20354/// `NetworkRequestTypeField` is a `INT` field, Tag 935.
20355pub struct NetworkRequestTypeField(pub FIXInt);
20356
20357impl NetworkRequestTypeField {
20358
20359    pub fn new(val: isize) -> Self { Self(val) }
20360    pub fn value(&self) -> isize { self.0 }
20361
20362    pub fn tag() -> Tag { tag::NETWORK_REQUEST_TYPE }
20363}
20364
20365impl FieldValueReader for NetworkRequestTypeField {
20366    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20367        self.0.read(raw)
20368    }
20369}
20370
20371impl FieldValueWriter for NetworkRequestTypeField {
20372    fn write_to(&self, buf: &mut Vec<u8>) {
20373        self.0.write_to(buf);
20374    }
20375}
20376
20377impl FieldValue for NetworkRequestTypeField {}
20378
20379
20380/// `NetworkResponseIDField` is a `STRING` field, Tag 932.
20381pub struct NetworkResponseIDField(pub FIXString);
20382
20383impl NetworkResponseIDField {
20384
20385    pub fn new(val: String) -> Self { Self(val) }
20386    pub fn value(&self) -> &str { &self.0 }
20387
20388    pub fn tag() -> Tag { tag::NETWORK_RESPONSE_ID }
20389}
20390
20391impl FieldValueReader for NetworkResponseIDField {
20392    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20393        self.0.read(raw)
20394    }
20395}
20396
20397impl FieldValueWriter for NetworkResponseIDField {
20398    fn write_to(&self, buf: &mut Vec<u8>) {
20399        self.0.write_to(buf);
20400    }
20401}
20402
20403impl FieldValue for NetworkResponseIDField {}
20404
20405
20406/// `NetworkStatusResponseTypeField` is a `INT` field, Tag 937.
20407pub struct NetworkStatusResponseTypeField(pub FIXInt);
20408
20409impl NetworkStatusResponseTypeField {
20410
20411    pub fn new(val: isize) -> Self { Self(val) }
20412    pub fn value(&self) -> isize { self.0 }
20413
20414    pub fn tag() -> Tag { tag::NETWORK_STATUS_RESPONSE_TYPE }
20415}
20416
20417impl FieldValueReader for NetworkStatusResponseTypeField {
20418    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20419        self.0.read(raw)
20420    }
20421}
20422
20423impl FieldValueWriter for NetworkStatusResponseTypeField {
20424    fn write_to(&self, buf: &mut Vec<u8>) {
20425        self.0.write_to(buf);
20426    }
20427}
20428
20429impl FieldValue for NetworkStatusResponseTypeField {}
20430
20431
20432/// `NewPasswordField` is a `STRING` field, Tag 925.
20433pub struct NewPasswordField(pub FIXString);
20434
20435impl NewPasswordField {
20436
20437    pub fn new(val: String) -> Self { Self(val) }
20438    pub fn value(&self) -> &str { &self.0 }
20439
20440    pub fn tag() -> Tag { tag::NEW_PASSWORD }
20441}
20442
20443impl FieldValueReader for NewPasswordField {
20444    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20445        self.0.read(raw)
20446    }
20447}
20448
20449impl FieldValueWriter for NewPasswordField {
20450    fn write_to(&self, buf: &mut Vec<u8>) {
20451        self.0.write_to(buf);
20452    }
20453}
20454
20455impl FieldValue for NewPasswordField {}
20456
20457
20458/// `NewSeqNoField` is a `SEQNUM` field, Tag 36.
20459pub struct NewSeqNoField(pub FIXInt);
20460
20461impl NewSeqNoField {
20462
20463    pub fn new(val: isize) -> Self { Self(val) }
20464    pub fn value(&self) -> isize { self.0 }
20465
20466    pub fn tag() -> Tag { tag::NEW_SEQ_NO }
20467}
20468
20469impl FieldValueReader for NewSeqNoField {
20470    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20471        self.0.read(raw)
20472    }
20473}
20474
20475impl FieldValueWriter for NewSeqNoField {
20476    fn write_to(&self, buf: &mut Vec<u8>) {
20477        self.0.write_to(buf);
20478    }
20479}
20480
20481impl FieldValue for NewSeqNoField {}
20482
20483
20484/// `NewsCategoryField` is a `INT` field, Tag 1473.
20485pub struct NewsCategoryField(pub FIXInt);
20486
20487impl NewsCategoryField {
20488
20489    pub fn new(val: isize) -> Self { Self(val) }
20490    pub fn value(&self) -> isize { self.0 }
20491
20492    pub fn tag() -> Tag { tag::NEWS_CATEGORY }
20493}
20494
20495impl FieldValueReader for NewsCategoryField {
20496    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20497        self.0.read(raw)
20498    }
20499}
20500
20501impl FieldValueWriter for NewsCategoryField {
20502    fn write_to(&self, buf: &mut Vec<u8>) {
20503        self.0.write_to(buf);
20504    }
20505}
20506
20507impl FieldValue for NewsCategoryField {}
20508
20509
20510/// `NewsIDField` is a `STRING` field, Tag 1472.
20511pub struct NewsIDField(pub FIXString);
20512
20513impl NewsIDField {
20514
20515    pub fn new(val: String) -> Self { Self(val) }
20516    pub fn value(&self) -> &str { &self.0 }
20517
20518    pub fn tag() -> Tag { tag::NEWS_ID }
20519}
20520
20521impl FieldValueReader for NewsIDField {
20522    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20523        self.0.read(raw)
20524    }
20525}
20526
20527impl FieldValueWriter for NewsIDField {
20528    fn write_to(&self, buf: &mut Vec<u8>) {
20529        self.0.write_to(buf);
20530    }
20531}
20532
20533impl FieldValue for NewsIDField {}
20534
20535
20536/// `NewsRefIDField` is a `STRING` field, Tag 1476.
20537pub struct NewsRefIDField(pub FIXString);
20538
20539impl NewsRefIDField {
20540
20541    pub fn new(val: String) -> Self { Self(val) }
20542    pub fn value(&self) -> &str { &self.0 }
20543
20544    pub fn tag() -> Tag { tag::NEWS_REF_ID }
20545}
20546
20547impl FieldValueReader for NewsRefIDField {
20548    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20549        self.0.read(raw)
20550    }
20551}
20552
20553impl FieldValueWriter for NewsRefIDField {
20554    fn write_to(&self, buf: &mut Vec<u8>) {
20555        self.0.write_to(buf);
20556    }
20557}
20558
20559impl FieldValue for NewsRefIDField {}
20560
20561
20562/// `NewsRefTypeField` is a `INT` field, Tag 1477.
20563pub struct NewsRefTypeField(pub FIXInt);
20564
20565impl NewsRefTypeField {
20566
20567    pub fn new(val: isize) -> Self { Self(val) }
20568    pub fn value(&self) -> isize { self.0 }
20569
20570    pub fn tag() -> Tag { tag::NEWS_REF_TYPE }
20571}
20572
20573impl FieldValueReader for NewsRefTypeField {
20574    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20575        self.0.read(raw)
20576    }
20577}
20578
20579impl FieldValueWriter for NewsRefTypeField {
20580    fn write_to(&self, buf: &mut Vec<u8>) {
20581        self.0.write_to(buf);
20582    }
20583}
20584
20585impl FieldValue for NewsRefTypeField {}
20586
20587
20588/// `NextExpectedMsgSeqNumField` is a `SEQNUM` field, Tag 789.
20589pub struct NextExpectedMsgSeqNumField(pub FIXInt);
20590
20591impl NextExpectedMsgSeqNumField {
20592
20593    pub fn new(val: isize) -> Self { Self(val) }
20594    pub fn value(&self) -> isize { self.0 }
20595
20596    pub fn tag() -> Tag { tag::NEXT_EXPECTED_MSG_SEQ_NUM }
20597}
20598
20599impl FieldValueReader for NextExpectedMsgSeqNumField {
20600    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20601        self.0.read(raw)
20602    }
20603}
20604
20605impl FieldValueWriter for NextExpectedMsgSeqNumField {
20606    fn write_to(&self, buf: &mut Vec<u8>) {
20607        self.0.write_to(buf);
20608    }
20609}
20610
20611impl FieldValue for NextExpectedMsgSeqNumField {}
20612
20613
20614/// `NoAffectedOrdersField` is a `NUMINGROUP` field, Tag 534.
20615pub struct NoAffectedOrdersField(pub FIXInt);
20616
20617impl NoAffectedOrdersField {
20618
20619    pub fn new(val: isize) -> Self { Self(val) }
20620    pub fn value(&self) -> isize { self.0 }
20621
20622    pub fn tag() -> Tag { tag::NO_AFFECTED_ORDERS }
20623}
20624
20625impl FieldValueReader for NoAffectedOrdersField {
20626    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20627        self.0.read(raw)
20628    }
20629}
20630
20631impl FieldValueWriter for NoAffectedOrdersField {
20632    fn write_to(&self, buf: &mut Vec<u8>) {
20633        self.0.write_to(buf);
20634    }
20635}
20636
20637impl FieldValue for NoAffectedOrdersField {}
20638
20639
20640/// `NoAllocsField` is a `NUMINGROUP` field, Tag 78.
20641pub struct NoAllocsField(pub FIXInt);
20642
20643impl NoAllocsField {
20644
20645    pub fn new(val: isize) -> Self { Self(val) }
20646    pub fn value(&self) -> isize { self.0 }
20647
20648    pub fn tag() -> Tag { tag::NO_ALLOCS }
20649}
20650
20651impl FieldValueReader for NoAllocsField {
20652    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20653        self.0.read(raw)
20654    }
20655}
20656
20657impl FieldValueWriter for NoAllocsField {
20658    fn write_to(&self, buf: &mut Vec<u8>) {
20659        self.0.write_to(buf);
20660    }
20661}
20662
20663impl FieldValue for NoAllocsField {}
20664
20665
20666/// `NoAltMDSourceField` is a `NUMINGROUP` field, Tag 816.
20667pub struct NoAltMDSourceField(pub FIXInt);
20668
20669impl NoAltMDSourceField {
20670
20671    pub fn new(val: isize) -> Self { Self(val) }
20672    pub fn value(&self) -> isize { self.0 }
20673
20674    pub fn tag() -> Tag { tag::NO_ALT_MD_SOURCE }
20675}
20676
20677impl FieldValueReader for NoAltMDSourceField {
20678    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20679        self.0.read(raw)
20680    }
20681}
20682
20683impl FieldValueWriter for NoAltMDSourceField {
20684    fn write_to(&self, buf: &mut Vec<u8>) {
20685        self.0.write_to(buf);
20686    }
20687}
20688
20689impl FieldValue for NoAltMDSourceField {}
20690
20691
20692/// `NoApplIDsField` is a `NUMINGROUP` field, Tag 1351.
20693pub struct NoApplIDsField(pub FIXInt);
20694
20695impl NoApplIDsField {
20696
20697    pub fn new(val: isize) -> Self { Self(val) }
20698    pub fn value(&self) -> isize { self.0 }
20699
20700    pub fn tag() -> Tag { tag::NO_APPL_I_DS }
20701}
20702
20703impl FieldValueReader for NoApplIDsField {
20704    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20705        self.0.read(raw)
20706    }
20707}
20708
20709impl FieldValueWriter for NoApplIDsField {
20710    fn write_to(&self, buf: &mut Vec<u8>) {
20711        self.0.write_to(buf);
20712    }
20713}
20714
20715impl FieldValue for NoApplIDsField {}
20716
20717
20718/// `NoAsgnReqsField` is a `NUMINGROUP` field, Tag 1499.
20719pub struct NoAsgnReqsField(pub FIXInt);
20720
20721impl NoAsgnReqsField {
20722
20723    pub fn new(val: isize) -> Self { Self(val) }
20724    pub fn value(&self) -> isize { self.0 }
20725
20726    pub fn tag() -> Tag { tag::NO_ASGN_REQS }
20727}
20728
20729impl FieldValueReader for NoAsgnReqsField {
20730    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20731        self.0.read(raw)
20732    }
20733}
20734
20735impl FieldValueWriter for NoAsgnReqsField {
20736    fn write_to(&self, buf: &mut Vec<u8>) {
20737        self.0.write_to(buf);
20738    }
20739}
20740
20741impl FieldValue for NoAsgnReqsField {}
20742
20743
20744/// `NoBidComponentsField` is a `NUMINGROUP` field, Tag 420.
20745pub struct NoBidComponentsField(pub FIXInt);
20746
20747impl NoBidComponentsField {
20748
20749    pub fn new(val: isize) -> Self { Self(val) }
20750    pub fn value(&self) -> isize { self.0 }
20751
20752    pub fn tag() -> Tag { tag::NO_BID_COMPONENTS }
20753}
20754
20755impl FieldValueReader for NoBidComponentsField {
20756    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20757        self.0.read(raw)
20758    }
20759}
20760
20761impl FieldValueWriter for NoBidComponentsField {
20762    fn write_to(&self, buf: &mut Vec<u8>) {
20763        self.0.write_to(buf);
20764    }
20765}
20766
20767impl FieldValue for NoBidComponentsField {}
20768
20769
20770/// `NoBidDescriptorsField` is a `NUMINGROUP` field, Tag 398.
20771pub struct NoBidDescriptorsField(pub FIXInt);
20772
20773impl NoBidDescriptorsField {
20774
20775    pub fn new(val: isize) -> Self { Self(val) }
20776    pub fn value(&self) -> isize { self.0 }
20777
20778    pub fn tag() -> Tag { tag::NO_BID_DESCRIPTORS }
20779}
20780
20781impl FieldValueReader for NoBidDescriptorsField {
20782    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20783        self.0.read(raw)
20784    }
20785}
20786
20787impl FieldValueWriter for NoBidDescriptorsField {
20788    fn write_to(&self, buf: &mut Vec<u8>) {
20789        self.0.write_to(buf);
20790    }
20791}
20792
20793impl FieldValue for NoBidDescriptorsField {}
20794
20795
20796/// `NoCapacitiesField` is a `NUMINGROUP` field, Tag 862.
20797pub struct NoCapacitiesField(pub FIXInt);
20798
20799impl NoCapacitiesField {
20800
20801    pub fn new(val: isize) -> Self { Self(val) }
20802    pub fn value(&self) -> isize { self.0 }
20803
20804    pub fn tag() -> Tag { tag::NO_CAPACITIES }
20805}
20806
20807impl FieldValueReader for NoCapacitiesField {
20808    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20809        self.0.read(raw)
20810    }
20811}
20812
20813impl FieldValueWriter for NoCapacitiesField {
20814    fn write_to(&self, buf: &mut Vec<u8>) {
20815        self.0.write_to(buf);
20816    }
20817}
20818
20819impl FieldValue for NoCapacitiesField {}
20820
20821
20822/// `NoClearingInstructionsField` is a `NUMINGROUP` field, Tag 576.
20823pub struct NoClearingInstructionsField(pub FIXInt);
20824
20825impl NoClearingInstructionsField {
20826
20827    pub fn new(val: isize) -> Self { Self(val) }
20828    pub fn value(&self) -> isize { self.0 }
20829
20830    pub fn tag() -> Tag { tag::NO_CLEARING_INSTRUCTIONS }
20831}
20832
20833impl FieldValueReader for NoClearingInstructionsField {
20834    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20835        self.0.read(raw)
20836    }
20837}
20838
20839impl FieldValueWriter for NoClearingInstructionsField {
20840    fn write_to(&self, buf: &mut Vec<u8>) {
20841        self.0.write_to(buf);
20842    }
20843}
20844
20845impl FieldValue for NoClearingInstructionsField {}
20846
20847
20848/// `NoCollInquiryQualifierField` is a `NUMINGROUP` field, Tag 938.
20849pub struct NoCollInquiryQualifierField(pub FIXInt);
20850
20851impl NoCollInquiryQualifierField {
20852
20853    pub fn new(val: isize) -> Self { Self(val) }
20854    pub fn value(&self) -> isize { self.0 }
20855
20856    pub fn tag() -> Tag { tag::NO_COLL_INQUIRY_QUALIFIER }
20857}
20858
20859impl FieldValueReader for NoCollInquiryQualifierField {
20860    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20861        self.0.read(raw)
20862    }
20863}
20864
20865impl FieldValueWriter for NoCollInquiryQualifierField {
20866    fn write_to(&self, buf: &mut Vec<u8>) {
20867        self.0.write_to(buf);
20868    }
20869}
20870
20871impl FieldValue for NoCollInquiryQualifierField {}
20872
20873
20874/// `NoCompIDsField` is a `NUMINGROUP` field, Tag 936.
20875pub struct NoCompIDsField(pub FIXInt);
20876
20877impl NoCompIDsField {
20878
20879    pub fn new(val: isize) -> Self { Self(val) }
20880    pub fn value(&self) -> isize { self.0 }
20881
20882    pub fn tag() -> Tag { tag::NO_COMP_I_DS }
20883}
20884
20885impl FieldValueReader for NoCompIDsField {
20886    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20887        self.0.read(raw)
20888    }
20889}
20890
20891impl FieldValueWriter for NoCompIDsField {
20892    fn write_to(&self, buf: &mut Vec<u8>) {
20893        self.0.write_to(buf);
20894    }
20895}
20896
20897impl FieldValue for NoCompIDsField {}
20898
20899
20900/// `NoComplexEventDatesField` is a `NUMINGROUP` field, Tag 1491.
20901pub struct NoComplexEventDatesField(pub FIXInt);
20902
20903impl NoComplexEventDatesField {
20904
20905    pub fn new(val: isize) -> Self { Self(val) }
20906    pub fn value(&self) -> isize { self.0 }
20907
20908    pub fn tag() -> Tag { tag::NO_COMPLEX_EVENT_DATES }
20909}
20910
20911impl FieldValueReader for NoComplexEventDatesField {
20912    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20913        self.0.read(raw)
20914    }
20915}
20916
20917impl FieldValueWriter for NoComplexEventDatesField {
20918    fn write_to(&self, buf: &mut Vec<u8>) {
20919        self.0.write_to(buf);
20920    }
20921}
20922
20923impl FieldValue for NoComplexEventDatesField {}
20924
20925
20926/// `NoComplexEventTimesField` is a `NUMINGROUP` field, Tag 1494.
20927pub struct NoComplexEventTimesField(pub FIXInt);
20928
20929impl NoComplexEventTimesField {
20930
20931    pub fn new(val: isize) -> Self { Self(val) }
20932    pub fn value(&self) -> isize { self.0 }
20933
20934    pub fn tag() -> Tag { tag::NO_COMPLEX_EVENT_TIMES }
20935}
20936
20937impl FieldValueReader for NoComplexEventTimesField {
20938    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20939        self.0.read(raw)
20940    }
20941}
20942
20943impl FieldValueWriter for NoComplexEventTimesField {
20944    fn write_to(&self, buf: &mut Vec<u8>) {
20945        self.0.write_to(buf);
20946    }
20947}
20948
20949impl FieldValue for NoComplexEventTimesField {}
20950
20951
20952/// `NoComplexEventsField` is a `NUMINGROUP` field, Tag 1483.
20953pub struct NoComplexEventsField(pub FIXInt);
20954
20955impl NoComplexEventsField {
20956
20957    pub fn new(val: isize) -> Self { Self(val) }
20958    pub fn value(&self) -> isize { self.0 }
20959
20960    pub fn tag() -> Tag { tag::NO_COMPLEX_EVENTS }
20961}
20962
20963impl FieldValueReader for NoComplexEventsField {
20964    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20965        self.0.read(raw)
20966    }
20967}
20968
20969impl FieldValueWriter for NoComplexEventsField {
20970    fn write_to(&self, buf: &mut Vec<u8>) {
20971        self.0.write_to(buf);
20972    }
20973}
20974
20975impl FieldValue for NoComplexEventsField {}
20976
20977
20978/// `NoContAmtsField` is a `NUMINGROUP` field, Tag 518.
20979pub struct NoContAmtsField(pub FIXInt);
20980
20981impl NoContAmtsField {
20982
20983    pub fn new(val: isize) -> Self { Self(val) }
20984    pub fn value(&self) -> isize { self.0 }
20985
20986    pub fn tag() -> Tag { tag::NO_CONT_AMTS }
20987}
20988
20989impl FieldValueReader for NoContAmtsField {
20990    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
20991        self.0.read(raw)
20992    }
20993}
20994
20995impl FieldValueWriter for NoContAmtsField {
20996    fn write_to(&self, buf: &mut Vec<u8>) {
20997        self.0.write_to(buf);
20998    }
20999}
21000
21001impl FieldValue for NoContAmtsField {}
21002
21003
21004/// `NoContextPartyIDsField` is a `NUMINGROUP` field, Tag 1522.
21005pub struct NoContextPartyIDsField(pub FIXInt);
21006
21007impl NoContextPartyIDsField {
21008
21009    pub fn new(val: isize) -> Self { Self(val) }
21010    pub fn value(&self) -> isize { self.0 }
21011
21012    pub fn tag() -> Tag { tag::NO_CONTEXT_PARTY_I_DS }
21013}
21014
21015impl FieldValueReader for NoContextPartyIDsField {
21016    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21017        self.0.read(raw)
21018    }
21019}
21020
21021impl FieldValueWriter for NoContextPartyIDsField {
21022    fn write_to(&self, buf: &mut Vec<u8>) {
21023        self.0.write_to(buf);
21024    }
21025}
21026
21027impl FieldValue for NoContextPartyIDsField {}
21028
21029
21030/// `NoContextPartySubIDsField` is a `NUMINGROUP` field, Tag 1526.
21031pub struct NoContextPartySubIDsField(pub FIXInt);
21032
21033impl NoContextPartySubIDsField {
21034
21035    pub fn new(val: isize) -> Self { Self(val) }
21036    pub fn value(&self) -> isize { self.0 }
21037
21038    pub fn tag() -> Tag { tag::NO_CONTEXT_PARTY_SUB_I_DS }
21039}
21040
21041impl FieldValueReader for NoContextPartySubIDsField {
21042    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21043        self.0.read(raw)
21044    }
21045}
21046
21047impl FieldValueWriter for NoContextPartySubIDsField {
21048    fn write_to(&self, buf: &mut Vec<u8>) {
21049        self.0.write_to(buf);
21050    }
21051}
21052
21053impl FieldValue for NoContextPartySubIDsField {}
21054
21055
21056/// `NoContraBrokersField` is a `NUMINGROUP` field, Tag 382.
21057pub struct NoContraBrokersField(pub FIXInt);
21058
21059impl NoContraBrokersField {
21060
21061    pub fn new(val: isize) -> Self { Self(val) }
21062    pub fn value(&self) -> isize { self.0 }
21063
21064    pub fn tag() -> Tag { tag::NO_CONTRA_BROKERS }
21065}
21066
21067impl FieldValueReader for NoContraBrokersField {
21068    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21069        self.0.read(raw)
21070    }
21071}
21072
21073impl FieldValueWriter for NoContraBrokersField {
21074    fn write_to(&self, buf: &mut Vec<u8>) {
21075        self.0.write_to(buf);
21076    }
21077}
21078
21079impl FieldValue for NoContraBrokersField {}
21080
21081
21082/// `NoDatesField` is a `INT` field, Tag 580.
21083pub struct NoDatesField(pub FIXInt);
21084
21085impl NoDatesField {
21086
21087    pub fn new(val: isize) -> Self { Self(val) }
21088    pub fn value(&self) -> isize { self.0 }
21089
21090    pub fn tag() -> Tag { tag::NO_DATES }
21091}
21092
21093impl FieldValueReader for NoDatesField {
21094    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21095        self.0.read(raw)
21096    }
21097}
21098
21099impl FieldValueWriter for NoDatesField {
21100    fn write_to(&self, buf: &mut Vec<u8>) {
21101        self.0.write_to(buf);
21102    }
21103}
21104
21105impl FieldValue for NoDatesField {}
21106
21107
21108/// `NoDerivativeEventsField` is a `NUMINGROUP` field, Tag 1286.
21109pub struct NoDerivativeEventsField(pub FIXInt);
21110
21111impl NoDerivativeEventsField {
21112
21113    pub fn new(val: isize) -> Self { Self(val) }
21114    pub fn value(&self) -> isize { self.0 }
21115
21116    pub fn tag() -> Tag { tag::NO_DERIVATIVE_EVENTS }
21117}
21118
21119impl FieldValueReader for NoDerivativeEventsField {
21120    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21121        self.0.read(raw)
21122    }
21123}
21124
21125impl FieldValueWriter for NoDerivativeEventsField {
21126    fn write_to(&self, buf: &mut Vec<u8>) {
21127        self.0.write_to(buf);
21128    }
21129}
21130
21131impl FieldValue for NoDerivativeEventsField {}
21132
21133
21134/// `NoDerivativeInstrAttribField` is a `NUMINGROUP` field, Tag 1311.
21135pub struct NoDerivativeInstrAttribField(pub FIXInt);
21136
21137impl NoDerivativeInstrAttribField {
21138
21139    pub fn new(val: isize) -> Self { Self(val) }
21140    pub fn value(&self) -> isize { self.0 }
21141
21142    pub fn tag() -> Tag { tag::NO_DERIVATIVE_INSTR_ATTRIB }
21143}
21144
21145impl FieldValueReader for NoDerivativeInstrAttribField {
21146    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21147        self.0.read(raw)
21148    }
21149}
21150
21151impl FieldValueWriter for NoDerivativeInstrAttribField {
21152    fn write_to(&self, buf: &mut Vec<u8>) {
21153        self.0.write_to(buf);
21154    }
21155}
21156
21157impl FieldValue for NoDerivativeInstrAttribField {}
21158
21159
21160/// `NoDerivativeInstrumentPartiesField` is a `NUMINGROUP` field, Tag 1292.
21161pub struct NoDerivativeInstrumentPartiesField(pub FIXInt);
21162
21163impl NoDerivativeInstrumentPartiesField {
21164
21165    pub fn new(val: isize) -> Self { Self(val) }
21166    pub fn value(&self) -> isize { self.0 }
21167
21168    pub fn tag() -> Tag { tag::NO_DERIVATIVE_INSTRUMENT_PARTIES }
21169}
21170
21171impl FieldValueReader for NoDerivativeInstrumentPartiesField {
21172    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21173        self.0.read(raw)
21174    }
21175}
21176
21177impl FieldValueWriter for NoDerivativeInstrumentPartiesField {
21178    fn write_to(&self, buf: &mut Vec<u8>) {
21179        self.0.write_to(buf);
21180    }
21181}
21182
21183impl FieldValue for NoDerivativeInstrumentPartiesField {}
21184
21185
21186/// `NoDerivativeInstrumentPartySubIDsField` is a `NUMINGROUP` field, Tag 1296.
21187pub struct NoDerivativeInstrumentPartySubIDsField(pub FIXInt);
21188
21189impl NoDerivativeInstrumentPartySubIDsField {
21190
21191    pub fn new(val: isize) -> Self { Self(val) }
21192    pub fn value(&self) -> isize { self.0 }
21193
21194    pub fn tag() -> Tag { tag::NO_DERIVATIVE_INSTRUMENT_PARTY_SUB_I_DS }
21195}
21196
21197impl FieldValueReader for NoDerivativeInstrumentPartySubIDsField {
21198    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21199        self.0.read(raw)
21200    }
21201}
21202
21203impl FieldValueWriter for NoDerivativeInstrumentPartySubIDsField {
21204    fn write_to(&self, buf: &mut Vec<u8>) {
21205        self.0.write_to(buf);
21206    }
21207}
21208
21209impl FieldValue for NoDerivativeInstrumentPartySubIDsField {}
21210
21211
21212/// `NoDerivativeSecurityAltIDField` is a `NUMINGROUP` field, Tag 1218.
21213pub struct NoDerivativeSecurityAltIDField(pub FIXInt);
21214
21215impl NoDerivativeSecurityAltIDField {
21216
21217    pub fn new(val: isize) -> Self { Self(val) }
21218    pub fn value(&self) -> isize { self.0 }
21219
21220    pub fn tag() -> Tag { tag::NO_DERIVATIVE_SECURITY_ALT_ID }
21221}
21222
21223impl FieldValueReader for NoDerivativeSecurityAltIDField {
21224    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21225        self.0.read(raw)
21226    }
21227}
21228
21229impl FieldValueWriter for NoDerivativeSecurityAltIDField {
21230    fn write_to(&self, buf: &mut Vec<u8>) {
21231        self.0.write_to(buf);
21232    }
21233}
21234
21235impl FieldValue for NoDerivativeSecurityAltIDField {}
21236
21237
21238/// `NoDistribInstsField` is a `NUMINGROUP` field, Tag 510.
21239pub struct NoDistribInstsField(pub FIXInt);
21240
21241impl NoDistribInstsField {
21242
21243    pub fn new(val: isize) -> Self { Self(val) }
21244    pub fn value(&self) -> isize { self.0 }
21245
21246    pub fn tag() -> Tag { tag::NO_DISTRIB_INSTS }
21247}
21248
21249impl FieldValueReader for NoDistribInstsField {
21250    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21251        self.0.read(raw)
21252    }
21253}
21254
21255impl FieldValueWriter for NoDistribInstsField {
21256    fn write_to(&self, buf: &mut Vec<u8>) {
21257        self.0.write_to(buf);
21258    }
21259}
21260
21261impl FieldValue for NoDistribInstsField {}
21262
21263
21264/// `NoDlvyInstField` is a `NUMINGROUP` field, Tag 85.
21265pub struct NoDlvyInstField(pub FIXInt);
21266
21267impl NoDlvyInstField {
21268
21269    pub fn new(val: isize) -> Self { Self(val) }
21270    pub fn value(&self) -> isize { self.0 }
21271
21272    pub fn tag() -> Tag { tag::NO_DLVY_INST }
21273}
21274
21275impl FieldValueReader for NoDlvyInstField {
21276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21277        self.0.read(raw)
21278    }
21279}
21280
21281impl FieldValueWriter for NoDlvyInstField {
21282    fn write_to(&self, buf: &mut Vec<u8>) {
21283        self.0.write_to(buf);
21284    }
21285}
21286
21287impl FieldValue for NoDlvyInstField {}
21288
21289
21290/// `NoEventsField` is a `NUMINGROUP` field, Tag 864.
21291pub struct NoEventsField(pub FIXInt);
21292
21293impl NoEventsField {
21294
21295    pub fn new(val: isize) -> Self { Self(val) }
21296    pub fn value(&self) -> isize { self.0 }
21297
21298    pub fn tag() -> Tag { tag::NO_EVENTS }
21299}
21300
21301impl FieldValueReader for NoEventsField {
21302    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21303        self.0.read(raw)
21304    }
21305}
21306
21307impl FieldValueWriter for NoEventsField {
21308    fn write_to(&self, buf: &mut Vec<u8>) {
21309        self.0.write_to(buf);
21310    }
21311}
21312
21313impl FieldValue for NoEventsField {}
21314
21315
21316/// `NoExecInstRulesField` is a `NUMINGROUP` field, Tag 1232.
21317pub struct NoExecInstRulesField(pub FIXInt);
21318
21319impl NoExecInstRulesField {
21320
21321    pub fn new(val: isize) -> Self { Self(val) }
21322    pub fn value(&self) -> isize { self.0 }
21323
21324    pub fn tag() -> Tag { tag::NO_EXEC_INST_RULES }
21325}
21326
21327impl FieldValueReader for NoExecInstRulesField {
21328    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21329        self.0.read(raw)
21330    }
21331}
21332
21333impl FieldValueWriter for NoExecInstRulesField {
21334    fn write_to(&self, buf: &mut Vec<u8>) {
21335        self.0.write_to(buf);
21336    }
21337}
21338
21339impl FieldValue for NoExecInstRulesField {}
21340
21341
21342/// `NoExecsField` is a `NUMINGROUP` field, Tag 124.
21343pub struct NoExecsField(pub FIXInt);
21344
21345impl NoExecsField {
21346
21347    pub fn new(val: isize) -> Self { Self(val) }
21348    pub fn value(&self) -> isize { self.0 }
21349
21350    pub fn tag() -> Tag { tag::NO_EXECS }
21351}
21352
21353impl FieldValueReader for NoExecsField {
21354    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21355        self.0.read(raw)
21356    }
21357}
21358
21359impl FieldValueWriter for NoExecsField {
21360    fn write_to(&self, buf: &mut Vec<u8>) {
21361        self.0.write_to(buf);
21362    }
21363}
21364
21365impl FieldValue for NoExecsField {}
21366
21367
21368/// `NoExpirationField` is a `NUMINGROUP` field, Tag 981.
21369pub struct NoExpirationField(pub FIXInt);
21370
21371impl NoExpirationField {
21372
21373    pub fn new(val: isize) -> Self { Self(val) }
21374    pub fn value(&self) -> isize { self.0 }
21375
21376    pub fn tag() -> Tag { tag::NO_EXPIRATION }
21377}
21378
21379impl FieldValueReader for NoExpirationField {
21380    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21381        self.0.read(raw)
21382    }
21383}
21384
21385impl FieldValueWriter for NoExpirationField {
21386    fn write_to(&self, buf: &mut Vec<u8>) {
21387        self.0.write_to(buf);
21388    }
21389}
21390
21391impl FieldValue for NoExpirationField {}
21392
21393
21394/// `NoFillsField` is a `NUMINGROUP` field, Tag 1362.
21395pub struct NoFillsField(pub FIXInt);
21396
21397impl NoFillsField {
21398
21399    pub fn new(val: isize) -> Self { Self(val) }
21400    pub fn value(&self) -> isize { self.0 }
21401
21402    pub fn tag() -> Tag { tag::NO_FILLS }
21403}
21404
21405impl FieldValueReader for NoFillsField {
21406    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21407        self.0.read(raw)
21408    }
21409}
21410
21411impl FieldValueWriter for NoFillsField {
21412    fn write_to(&self, buf: &mut Vec<u8>) {
21413        self.0.write_to(buf);
21414    }
21415}
21416
21417impl FieldValue for NoFillsField {}
21418
21419
21420/// `NoHopsField` is a `NUMINGROUP` field, Tag 627.
21421pub struct NoHopsField(pub FIXInt);
21422
21423impl NoHopsField {
21424
21425    pub fn new(val: isize) -> Self { Self(val) }
21426    pub fn value(&self) -> isize { self.0 }
21427
21428    pub fn tag() -> Tag { tag::NO_HOPS }
21429}
21430
21431impl FieldValueReader for NoHopsField {
21432    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21433        self.0.read(raw)
21434    }
21435}
21436
21437impl FieldValueWriter for NoHopsField {
21438    fn write_to(&self, buf: &mut Vec<u8>) {
21439        self.0.write_to(buf);
21440    }
21441}
21442
21443impl FieldValue for NoHopsField {}
21444
21445
21446/// `NoIOIQualifiersField` is a `NUMINGROUP` field, Tag 199.
21447pub struct NoIOIQualifiersField(pub FIXInt);
21448
21449impl NoIOIQualifiersField {
21450
21451    pub fn new(val: isize) -> Self { Self(val) }
21452    pub fn value(&self) -> isize { self.0 }
21453
21454    pub fn tag() -> Tag { tag::NO_IOI_QUALIFIERS }
21455}
21456
21457impl FieldValueReader for NoIOIQualifiersField {
21458    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21459        self.0.read(raw)
21460    }
21461}
21462
21463impl FieldValueWriter for NoIOIQualifiersField {
21464    fn write_to(&self, buf: &mut Vec<u8>) {
21465        self.0.write_to(buf);
21466    }
21467}
21468
21469impl FieldValue for NoIOIQualifiersField {}
21470
21471
21472/// `NoInstrAttribField` is a `NUMINGROUP` field, Tag 870.
21473pub struct NoInstrAttribField(pub FIXInt);
21474
21475impl NoInstrAttribField {
21476
21477    pub fn new(val: isize) -> Self { Self(val) }
21478    pub fn value(&self) -> isize { self.0 }
21479
21480    pub fn tag() -> Tag { tag::NO_INSTR_ATTRIB }
21481}
21482
21483impl FieldValueReader for NoInstrAttribField {
21484    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21485        self.0.read(raw)
21486    }
21487}
21488
21489impl FieldValueWriter for NoInstrAttribField {
21490    fn write_to(&self, buf: &mut Vec<u8>) {
21491        self.0.write_to(buf);
21492    }
21493}
21494
21495impl FieldValue for NoInstrAttribField {}
21496
21497
21498/// `NoInstrumentPartiesField` is a `NUMINGROUP` field, Tag 1018.
21499pub struct NoInstrumentPartiesField(pub FIXInt);
21500
21501impl NoInstrumentPartiesField {
21502
21503    pub fn new(val: isize) -> Self { Self(val) }
21504    pub fn value(&self) -> isize { self.0 }
21505
21506    pub fn tag() -> Tag { tag::NO_INSTRUMENT_PARTIES }
21507}
21508
21509impl FieldValueReader for NoInstrumentPartiesField {
21510    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21511        self.0.read(raw)
21512    }
21513}
21514
21515impl FieldValueWriter for NoInstrumentPartiesField {
21516    fn write_to(&self, buf: &mut Vec<u8>) {
21517        self.0.write_to(buf);
21518    }
21519}
21520
21521impl FieldValue for NoInstrumentPartiesField {}
21522
21523
21524/// `NoInstrumentPartySubIDsField` is a `NUMINGROUP` field, Tag 1052.
21525pub struct NoInstrumentPartySubIDsField(pub FIXInt);
21526
21527impl NoInstrumentPartySubIDsField {
21528
21529    pub fn new(val: isize) -> Self { Self(val) }
21530    pub fn value(&self) -> isize { self.0 }
21531
21532    pub fn tag() -> Tag { tag::NO_INSTRUMENT_PARTY_SUB_I_DS }
21533}
21534
21535impl FieldValueReader for NoInstrumentPartySubIDsField {
21536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21537        self.0.read(raw)
21538    }
21539}
21540
21541impl FieldValueWriter for NoInstrumentPartySubIDsField {
21542    fn write_to(&self, buf: &mut Vec<u8>) {
21543        self.0.write_to(buf);
21544    }
21545}
21546
21547impl FieldValue for NoInstrumentPartySubIDsField {}
21548
21549
21550/// `NoLegAllocsField` is a `NUMINGROUP` field, Tag 670.
21551pub struct NoLegAllocsField(pub FIXInt);
21552
21553impl NoLegAllocsField {
21554
21555    pub fn new(val: isize) -> Self { Self(val) }
21556    pub fn value(&self) -> isize { self.0 }
21557
21558    pub fn tag() -> Tag { tag::NO_LEG_ALLOCS }
21559}
21560
21561impl FieldValueReader for NoLegAllocsField {
21562    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21563        self.0.read(raw)
21564    }
21565}
21566
21567impl FieldValueWriter for NoLegAllocsField {
21568    fn write_to(&self, buf: &mut Vec<u8>) {
21569        self.0.write_to(buf);
21570    }
21571}
21572
21573impl FieldValue for NoLegAllocsField {}
21574
21575
21576/// `NoLegSecurityAltIDField` is a `STRING` field, Tag 604.
21577pub struct NoLegSecurityAltIDField(pub FIXString);
21578
21579impl NoLegSecurityAltIDField {
21580
21581    pub fn new(val: String) -> Self { Self(val) }
21582    pub fn value(&self) -> &str { &self.0 }
21583
21584    pub fn tag() -> Tag { tag::NO_LEG_SECURITY_ALT_ID }
21585}
21586
21587impl FieldValueReader for NoLegSecurityAltIDField {
21588    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21589        self.0.read(raw)
21590    }
21591}
21592
21593impl FieldValueWriter for NoLegSecurityAltIDField {
21594    fn write_to(&self, buf: &mut Vec<u8>) {
21595        self.0.write_to(buf);
21596    }
21597}
21598
21599impl FieldValue for NoLegSecurityAltIDField {}
21600
21601
21602/// `NoLegStipulationsField` is a `NUMINGROUP` field, Tag 683.
21603pub struct NoLegStipulationsField(pub FIXInt);
21604
21605impl NoLegStipulationsField {
21606
21607    pub fn new(val: isize) -> Self { Self(val) }
21608    pub fn value(&self) -> isize { self.0 }
21609
21610    pub fn tag() -> Tag { tag::NO_LEG_STIPULATIONS }
21611}
21612
21613impl FieldValueReader for NoLegStipulationsField {
21614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21615        self.0.read(raw)
21616    }
21617}
21618
21619impl FieldValueWriter for NoLegStipulationsField {
21620    fn write_to(&self, buf: &mut Vec<u8>) {
21621        self.0.write_to(buf);
21622    }
21623}
21624
21625impl FieldValue for NoLegStipulationsField {}
21626
21627
21628/// `NoLegsField` is a `NUMINGROUP` field, Tag 555.
21629pub struct NoLegsField(pub FIXInt);
21630
21631impl NoLegsField {
21632
21633    pub fn new(val: isize) -> Self { Self(val) }
21634    pub fn value(&self) -> isize { self.0 }
21635
21636    pub fn tag() -> Tag { tag::NO_LEGS }
21637}
21638
21639impl FieldValueReader for NoLegsField {
21640    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21641        self.0.read(raw)
21642    }
21643}
21644
21645impl FieldValueWriter for NoLegsField {
21646    fn write_to(&self, buf: &mut Vec<u8>) {
21647        self.0.write_to(buf);
21648    }
21649}
21650
21651impl FieldValue for NoLegsField {}
21652
21653
21654/// `NoLinesOfTextField` is a `NUMINGROUP` field, Tag 33.
21655pub struct NoLinesOfTextField(pub FIXInt);
21656
21657impl NoLinesOfTextField {
21658
21659    pub fn new(val: isize) -> Self { Self(val) }
21660    pub fn value(&self) -> isize { self.0 }
21661
21662    pub fn tag() -> Tag { tag::NO_LINES_OF_TEXT }
21663}
21664
21665impl FieldValueReader for NoLinesOfTextField {
21666    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21667        self.0.read(raw)
21668    }
21669}
21670
21671impl FieldValueWriter for NoLinesOfTextField {
21672    fn write_to(&self, buf: &mut Vec<u8>) {
21673        self.0.write_to(buf);
21674    }
21675}
21676
21677impl FieldValue for NoLinesOfTextField {}
21678
21679
21680/// `NoLotTypeRulesField` is a `NUMINGROUP` field, Tag 1234.
21681pub struct NoLotTypeRulesField(pub FIXInt);
21682
21683impl NoLotTypeRulesField {
21684
21685    pub fn new(val: isize) -> Self { Self(val) }
21686    pub fn value(&self) -> isize { self.0 }
21687
21688    pub fn tag() -> Tag { tag::NO_LOT_TYPE_RULES }
21689}
21690
21691impl FieldValueReader for NoLotTypeRulesField {
21692    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21693        self.0.read(raw)
21694    }
21695}
21696
21697impl FieldValueWriter for NoLotTypeRulesField {
21698    fn write_to(&self, buf: &mut Vec<u8>) {
21699        self.0.write_to(buf);
21700    }
21701}
21702
21703impl FieldValue for NoLotTypeRulesField {}
21704
21705
21706/// `NoMDEntriesField` is a `NUMINGROUP` field, Tag 268.
21707pub struct NoMDEntriesField(pub FIXInt);
21708
21709impl NoMDEntriesField {
21710
21711    pub fn new(val: isize) -> Self { Self(val) }
21712    pub fn value(&self) -> isize { self.0 }
21713
21714    pub fn tag() -> Tag { tag::NO_MD_ENTRIES }
21715}
21716
21717impl FieldValueReader for NoMDEntriesField {
21718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21719        self.0.read(raw)
21720    }
21721}
21722
21723impl FieldValueWriter for NoMDEntriesField {
21724    fn write_to(&self, buf: &mut Vec<u8>) {
21725        self.0.write_to(buf);
21726    }
21727}
21728
21729impl FieldValue for NoMDEntriesField {}
21730
21731
21732/// `NoMDEntryTypesField` is a `NUMINGROUP` field, Tag 267.
21733pub struct NoMDEntryTypesField(pub FIXInt);
21734
21735impl NoMDEntryTypesField {
21736
21737    pub fn new(val: isize) -> Self { Self(val) }
21738    pub fn value(&self) -> isize { self.0 }
21739
21740    pub fn tag() -> Tag { tag::NO_MD_ENTRY_TYPES }
21741}
21742
21743impl FieldValueReader for NoMDEntryTypesField {
21744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21745        self.0.read(raw)
21746    }
21747}
21748
21749impl FieldValueWriter for NoMDEntryTypesField {
21750    fn write_to(&self, buf: &mut Vec<u8>) {
21751        self.0.write_to(buf);
21752    }
21753}
21754
21755impl FieldValue for NoMDEntryTypesField {}
21756
21757
21758/// `NoMDFeedTypesField` is a `NUMINGROUP` field, Tag 1141.
21759pub struct NoMDFeedTypesField(pub FIXInt);
21760
21761impl NoMDFeedTypesField {
21762
21763    pub fn new(val: isize) -> Self { Self(val) }
21764    pub fn value(&self) -> isize { self.0 }
21765
21766    pub fn tag() -> Tag { tag::NO_MD_FEED_TYPES }
21767}
21768
21769impl FieldValueReader for NoMDFeedTypesField {
21770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21771        self.0.read(raw)
21772    }
21773}
21774
21775impl FieldValueWriter for NoMDFeedTypesField {
21776    fn write_to(&self, buf: &mut Vec<u8>) {
21777        self.0.write_to(buf);
21778    }
21779}
21780
21781impl FieldValue for NoMDFeedTypesField {}
21782
21783
21784/// `NoMarketSegmentsField` is a `NUMINGROUP` field, Tag 1310.
21785pub struct NoMarketSegmentsField(pub FIXInt);
21786
21787impl NoMarketSegmentsField {
21788
21789    pub fn new(val: isize) -> Self { Self(val) }
21790    pub fn value(&self) -> isize { self.0 }
21791
21792    pub fn tag() -> Tag { tag::NO_MARKET_SEGMENTS }
21793}
21794
21795impl FieldValueReader for NoMarketSegmentsField {
21796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21797        self.0.read(raw)
21798    }
21799}
21800
21801impl FieldValueWriter for NoMarketSegmentsField {
21802    fn write_to(&self, buf: &mut Vec<u8>) {
21803        self.0.write_to(buf);
21804    }
21805}
21806
21807impl FieldValue for NoMarketSegmentsField {}
21808
21809
21810/// `NoMatchRulesField` is a `NUMINGROUP` field, Tag 1235.
21811pub struct NoMatchRulesField(pub FIXInt);
21812
21813impl NoMatchRulesField {
21814
21815    pub fn new(val: isize) -> Self { Self(val) }
21816    pub fn value(&self) -> isize { self.0 }
21817
21818    pub fn tag() -> Tag { tag::NO_MATCH_RULES }
21819}
21820
21821impl FieldValueReader for NoMatchRulesField {
21822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21823        self.0.read(raw)
21824    }
21825}
21826
21827impl FieldValueWriter for NoMatchRulesField {
21828    fn write_to(&self, buf: &mut Vec<u8>) {
21829        self.0.write_to(buf);
21830    }
21831}
21832
21833impl FieldValue for NoMatchRulesField {}
21834
21835
21836/// `NoMaturityRulesField` is a `NUMINGROUP` field, Tag 1236.
21837pub struct NoMaturityRulesField(pub FIXInt);
21838
21839impl NoMaturityRulesField {
21840
21841    pub fn new(val: isize) -> Self { Self(val) }
21842    pub fn value(&self) -> isize { self.0 }
21843
21844    pub fn tag() -> Tag { tag::NO_MATURITY_RULES }
21845}
21846
21847impl FieldValueReader for NoMaturityRulesField {
21848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21849        self.0.read(raw)
21850    }
21851}
21852
21853impl FieldValueWriter for NoMaturityRulesField {
21854    fn write_to(&self, buf: &mut Vec<u8>) {
21855        self.0.write_to(buf);
21856    }
21857}
21858
21859impl FieldValue for NoMaturityRulesField {}
21860
21861
21862/// `NoMiscFeesField` is a `NUMINGROUP` field, Tag 136.
21863pub struct NoMiscFeesField(pub FIXInt);
21864
21865impl NoMiscFeesField {
21866
21867    pub fn new(val: isize) -> Self { Self(val) }
21868    pub fn value(&self) -> isize { self.0 }
21869
21870    pub fn tag() -> Tag { tag::NO_MISC_FEES }
21871}
21872
21873impl FieldValueReader for NoMiscFeesField {
21874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21875        self.0.read(raw)
21876    }
21877}
21878
21879impl FieldValueWriter for NoMiscFeesField {
21880    fn write_to(&self, buf: &mut Vec<u8>) {
21881        self.0.write_to(buf);
21882    }
21883}
21884
21885impl FieldValue for NoMiscFeesField {}
21886
21887
21888/// `NoMsgTypesField` is a `NUMINGROUP` field, Tag 384.
21889pub struct NoMsgTypesField(pub FIXInt);
21890
21891impl NoMsgTypesField {
21892
21893    pub fn new(val: isize) -> Self { Self(val) }
21894    pub fn value(&self) -> isize { self.0 }
21895
21896    pub fn tag() -> Tag { tag::NO_MSG_TYPES }
21897}
21898
21899impl FieldValueReader for NoMsgTypesField {
21900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21901        self.0.read(raw)
21902    }
21903}
21904
21905impl FieldValueWriter for NoMsgTypesField {
21906    fn write_to(&self, buf: &mut Vec<u8>) {
21907        self.0.write_to(buf);
21908    }
21909}
21910
21911impl FieldValue for NoMsgTypesField {}
21912
21913
21914/// `NoNested2PartyIDsField` is a `NUMINGROUP` field, Tag 756.
21915pub struct NoNested2PartyIDsField(pub FIXInt);
21916
21917impl NoNested2PartyIDsField {
21918
21919    pub fn new(val: isize) -> Self { Self(val) }
21920    pub fn value(&self) -> isize { self.0 }
21921
21922    pub fn tag() -> Tag { tag::NO_NESTED2_PARTY_I_DS }
21923}
21924
21925impl FieldValueReader for NoNested2PartyIDsField {
21926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21927        self.0.read(raw)
21928    }
21929}
21930
21931impl FieldValueWriter for NoNested2PartyIDsField {
21932    fn write_to(&self, buf: &mut Vec<u8>) {
21933        self.0.write_to(buf);
21934    }
21935}
21936
21937impl FieldValue for NoNested2PartyIDsField {}
21938
21939
21940/// `NoNested2PartySubIDsField` is a `NUMINGROUP` field, Tag 806.
21941pub struct NoNested2PartySubIDsField(pub FIXInt);
21942
21943impl NoNested2PartySubIDsField {
21944
21945    pub fn new(val: isize) -> Self { Self(val) }
21946    pub fn value(&self) -> isize { self.0 }
21947
21948    pub fn tag() -> Tag { tag::NO_NESTED2_PARTY_SUB_I_DS }
21949}
21950
21951impl FieldValueReader for NoNested2PartySubIDsField {
21952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21953        self.0.read(raw)
21954    }
21955}
21956
21957impl FieldValueWriter for NoNested2PartySubIDsField {
21958    fn write_to(&self, buf: &mut Vec<u8>) {
21959        self.0.write_to(buf);
21960    }
21961}
21962
21963impl FieldValue for NoNested2PartySubIDsField {}
21964
21965
21966/// `NoNested3PartyIDsField` is a `NUMINGROUP` field, Tag 948.
21967pub struct NoNested3PartyIDsField(pub FIXInt);
21968
21969impl NoNested3PartyIDsField {
21970
21971    pub fn new(val: isize) -> Self { Self(val) }
21972    pub fn value(&self) -> isize { self.0 }
21973
21974    pub fn tag() -> Tag { tag::NO_NESTED3_PARTY_I_DS }
21975}
21976
21977impl FieldValueReader for NoNested3PartyIDsField {
21978    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
21979        self.0.read(raw)
21980    }
21981}
21982
21983impl FieldValueWriter for NoNested3PartyIDsField {
21984    fn write_to(&self, buf: &mut Vec<u8>) {
21985        self.0.write_to(buf);
21986    }
21987}
21988
21989impl FieldValue for NoNested3PartyIDsField {}
21990
21991
21992/// `NoNested3PartySubIDsField` is a `NUMINGROUP` field, Tag 952.
21993pub struct NoNested3PartySubIDsField(pub FIXInt);
21994
21995impl NoNested3PartySubIDsField {
21996
21997    pub fn new(val: isize) -> Self { Self(val) }
21998    pub fn value(&self) -> isize { self.0 }
21999
22000    pub fn tag() -> Tag { tag::NO_NESTED3_PARTY_SUB_I_DS }
22001}
22002
22003impl FieldValueReader for NoNested3PartySubIDsField {
22004    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22005        self.0.read(raw)
22006    }
22007}
22008
22009impl FieldValueWriter for NoNested3PartySubIDsField {
22010    fn write_to(&self, buf: &mut Vec<u8>) {
22011        self.0.write_to(buf);
22012    }
22013}
22014
22015impl FieldValue for NoNested3PartySubIDsField {}
22016
22017
22018/// `NoNested4PartyIDsField` is a `NUMINGROUP` field, Tag 1414.
22019pub struct NoNested4PartyIDsField(pub FIXInt);
22020
22021impl NoNested4PartyIDsField {
22022
22023    pub fn new(val: isize) -> Self { Self(val) }
22024    pub fn value(&self) -> isize { self.0 }
22025
22026    pub fn tag() -> Tag { tag::NO_NESTED4_PARTY_I_DS }
22027}
22028
22029impl FieldValueReader for NoNested4PartyIDsField {
22030    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22031        self.0.read(raw)
22032    }
22033}
22034
22035impl FieldValueWriter for NoNested4PartyIDsField {
22036    fn write_to(&self, buf: &mut Vec<u8>) {
22037        self.0.write_to(buf);
22038    }
22039}
22040
22041impl FieldValue for NoNested4PartyIDsField {}
22042
22043
22044/// `NoNested4PartySubIDsField` is a `NUMINGROUP` field, Tag 1413.
22045pub struct NoNested4PartySubIDsField(pub FIXInt);
22046
22047impl NoNested4PartySubIDsField {
22048
22049    pub fn new(val: isize) -> Self { Self(val) }
22050    pub fn value(&self) -> isize { self.0 }
22051
22052    pub fn tag() -> Tag { tag::NO_NESTED4_PARTY_SUB_I_DS }
22053}
22054
22055impl FieldValueReader for NoNested4PartySubIDsField {
22056    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22057        self.0.read(raw)
22058    }
22059}
22060
22061impl FieldValueWriter for NoNested4PartySubIDsField {
22062    fn write_to(&self, buf: &mut Vec<u8>) {
22063        self.0.write_to(buf);
22064    }
22065}
22066
22067impl FieldValue for NoNested4PartySubIDsField {}
22068
22069
22070/// `NoNestedInstrAttribField` is a `NUMINGROUP` field, Tag 1312.
22071pub struct NoNestedInstrAttribField(pub FIXInt);
22072
22073impl NoNestedInstrAttribField {
22074
22075    pub fn new(val: isize) -> Self { Self(val) }
22076    pub fn value(&self) -> isize { self.0 }
22077
22078    pub fn tag() -> Tag { tag::NO_NESTED_INSTR_ATTRIB }
22079}
22080
22081impl FieldValueReader for NoNestedInstrAttribField {
22082    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22083        self.0.read(raw)
22084    }
22085}
22086
22087impl FieldValueWriter for NoNestedInstrAttribField {
22088    fn write_to(&self, buf: &mut Vec<u8>) {
22089        self.0.write_to(buf);
22090    }
22091}
22092
22093impl FieldValue for NoNestedInstrAttribField {}
22094
22095
22096/// `NoNestedPartyIDsField` is a `NUMINGROUP` field, Tag 539.
22097pub struct NoNestedPartyIDsField(pub FIXInt);
22098
22099impl NoNestedPartyIDsField {
22100
22101    pub fn new(val: isize) -> Self { Self(val) }
22102    pub fn value(&self) -> isize { self.0 }
22103
22104    pub fn tag() -> Tag { tag::NO_NESTED_PARTY_I_DS }
22105}
22106
22107impl FieldValueReader for NoNestedPartyIDsField {
22108    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22109        self.0.read(raw)
22110    }
22111}
22112
22113impl FieldValueWriter for NoNestedPartyIDsField {
22114    fn write_to(&self, buf: &mut Vec<u8>) {
22115        self.0.write_to(buf);
22116    }
22117}
22118
22119impl FieldValue for NoNestedPartyIDsField {}
22120
22121
22122/// `NoNestedPartySubIDsField` is a `NUMINGROUP` field, Tag 804.
22123pub struct NoNestedPartySubIDsField(pub FIXInt);
22124
22125impl NoNestedPartySubIDsField {
22126
22127    pub fn new(val: isize) -> Self { Self(val) }
22128    pub fn value(&self) -> isize { self.0 }
22129
22130    pub fn tag() -> Tag { tag::NO_NESTED_PARTY_SUB_I_DS }
22131}
22132
22133impl FieldValueReader for NoNestedPartySubIDsField {
22134    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22135        self.0.read(raw)
22136    }
22137}
22138
22139impl FieldValueWriter for NoNestedPartySubIDsField {
22140    fn write_to(&self, buf: &mut Vec<u8>) {
22141        self.0.write_to(buf);
22142    }
22143}
22144
22145impl FieldValue for NoNestedPartySubIDsField {}
22146
22147
22148/// `NoNewsRefIDsField` is a `NUMINGROUP` field, Tag 1475.
22149pub struct NoNewsRefIDsField(pub FIXInt);
22150
22151impl NoNewsRefIDsField {
22152
22153    pub fn new(val: isize) -> Self { Self(val) }
22154    pub fn value(&self) -> isize { self.0 }
22155
22156    pub fn tag() -> Tag { tag::NO_NEWS_REF_I_DS }
22157}
22158
22159impl FieldValueReader for NoNewsRefIDsField {
22160    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22161        self.0.read(raw)
22162    }
22163}
22164
22165impl FieldValueWriter for NoNewsRefIDsField {
22166    fn write_to(&self, buf: &mut Vec<u8>) {
22167        self.0.write_to(buf);
22168    }
22169}
22170
22171impl FieldValue for NoNewsRefIDsField {}
22172
22173
22174/// `NoNotAffectedOrdersField` is a `NUMINGROUP` field, Tag 1370.
22175pub struct NoNotAffectedOrdersField(pub FIXInt);
22176
22177impl NoNotAffectedOrdersField {
22178
22179    pub fn new(val: isize) -> Self { Self(val) }
22180    pub fn value(&self) -> isize { self.0 }
22181
22182    pub fn tag() -> Tag { tag::NO_NOT_AFFECTED_ORDERS }
22183}
22184
22185impl FieldValueReader for NoNotAffectedOrdersField {
22186    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22187        self.0.read(raw)
22188    }
22189}
22190
22191impl FieldValueWriter for NoNotAffectedOrdersField {
22192    fn write_to(&self, buf: &mut Vec<u8>) {
22193        self.0.write_to(buf);
22194    }
22195}
22196
22197impl FieldValue for NoNotAffectedOrdersField {}
22198
22199
22200/// `NoOfLegUnderlyingsField` is a `NUMINGROUP` field, Tag 1342.
22201pub struct NoOfLegUnderlyingsField(pub FIXInt);
22202
22203impl NoOfLegUnderlyingsField {
22204
22205    pub fn new(val: isize) -> Self { Self(val) }
22206    pub fn value(&self) -> isize { self.0 }
22207
22208    pub fn tag() -> Tag { tag::NO_OF_LEG_UNDERLYINGS }
22209}
22210
22211impl FieldValueReader for NoOfLegUnderlyingsField {
22212    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22213        self.0.read(raw)
22214    }
22215}
22216
22217impl FieldValueWriter for NoOfLegUnderlyingsField {
22218    fn write_to(&self, buf: &mut Vec<u8>) {
22219        self.0.write_to(buf);
22220    }
22221}
22222
22223impl FieldValue for NoOfLegUnderlyingsField {}
22224
22225
22226/// `NoOfSecSizesField` is a `NUMINGROUP` field, Tag 1177.
22227pub struct NoOfSecSizesField(pub FIXInt);
22228
22229impl NoOfSecSizesField {
22230
22231    pub fn new(val: isize) -> Self { Self(val) }
22232    pub fn value(&self) -> isize { self.0 }
22233
22234    pub fn tag() -> Tag { tag::NO_OF_SEC_SIZES }
22235}
22236
22237impl FieldValueReader for NoOfSecSizesField {
22238    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22239        self.0.read(raw)
22240    }
22241}
22242
22243impl FieldValueWriter for NoOfSecSizesField {
22244    fn write_to(&self, buf: &mut Vec<u8>) {
22245        self.0.write_to(buf);
22246    }
22247}
22248
22249impl FieldValue for NoOfSecSizesField {}
22250
22251
22252/// `NoOrdTypeRulesField` is a `NUMINGROUP` field, Tag 1237.
22253pub struct NoOrdTypeRulesField(pub FIXInt);
22254
22255impl NoOrdTypeRulesField {
22256
22257    pub fn new(val: isize) -> Self { Self(val) }
22258    pub fn value(&self) -> isize { self.0 }
22259
22260    pub fn tag() -> Tag { tag::NO_ORD_TYPE_RULES }
22261}
22262
22263impl FieldValueReader for NoOrdTypeRulesField {
22264    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22265        self.0.read(raw)
22266    }
22267}
22268
22269impl FieldValueWriter for NoOrdTypeRulesField {
22270    fn write_to(&self, buf: &mut Vec<u8>) {
22271        self.0.write_to(buf);
22272    }
22273}
22274
22275impl FieldValue for NoOrdTypeRulesField {}
22276
22277
22278/// `NoOrdersField` is a `NUMINGROUP` field, Tag 73.
22279pub struct NoOrdersField(pub FIXInt);
22280
22281impl NoOrdersField {
22282
22283    pub fn new(val: isize) -> Self { Self(val) }
22284    pub fn value(&self) -> isize { self.0 }
22285
22286    pub fn tag() -> Tag { tag::NO_ORDERS }
22287}
22288
22289impl FieldValueReader for NoOrdersField {
22290    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22291        self.0.read(raw)
22292    }
22293}
22294
22295impl FieldValueWriter for NoOrdersField {
22296    fn write_to(&self, buf: &mut Vec<u8>) {
22297        self.0.write_to(buf);
22298    }
22299}
22300
22301impl FieldValue for NoOrdersField {}
22302
22303
22304/// `NoPartyAltIDsField` is a `NUMINGROUP` field, Tag 1516.
22305pub struct NoPartyAltIDsField(pub FIXInt);
22306
22307impl NoPartyAltIDsField {
22308
22309    pub fn new(val: isize) -> Self { Self(val) }
22310    pub fn value(&self) -> isize { self.0 }
22311
22312    pub fn tag() -> Tag { tag::NO_PARTY_ALT_I_DS }
22313}
22314
22315impl FieldValueReader for NoPartyAltIDsField {
22316    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22317        self.0.read(raw)
22318    }
22319}
22320
22321impl FieldValueWriter for NoPartyAltIDsField {
22322    fn write_to(&self, buf: &mut Vec<u8>) {
22323        self.0.write_to(buf);
22324    }
22325}
22326
22327impl FieldValue for NoPartyAltIDsField {}
22328
22329
22330/// `NoPartyAltSubIDsField` is a `NUMINGROUP` field, Tag 1519.
22331pub struct NoPartyAltSubIDsField(pub FIXInt);
22332
22333impl NoPartyAltSubIDsField {
22334
22335    pub fn new(val: isize) -> Self { Self(val) }
22336    pub fn value(&self) -> isize { self.0 }
22337
22338    pub fn tag() -> Tag { tag::NO_PARTY_ALT_SUB_I_DS }
22339}
22340
22341impl FieldValueReader for NoPartyAltSubIDsField {
22342    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22343        self.0.read(raw)
22344    }
22345}
22346
22347impl FieldValueWriter for NoPartyAltSubIDsField {
22348    fn write_to(&self, buf: &mut Vec<u8>) {
22349        self.0.write_to(buf);
22350    }
22351}
22352
22353impl FieldValue for NoPartyAltSubIDsField {}
22354
22355
22356/// `NoPartyIDsField` is a `NUMINGROUP` field, Tag 453.
22357pub struct NoPartyIDsField(pub FIXInt);
22358
22359impl NoPartyIDsField {
22360
22361    pub fn new(val: isize) -> Self { Self(val) }
22362    pub fn value(&self) -> isize { self.0 }
22363
22364    pub fn tag() -> Tag { tag::NO_PARTY_I_DS }
22365}
22366
22367impl FieldValueReader for NoPartyIDsField {
22368    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22369        self.0.read(raw)
22370    }
22371}
22372
22373impl FieldValueWriter for NoPartyIDsField {
22374    fn write_to(&self, buf: &mut Vec<u8>) {
22375        self.0.write_to(buf);
22376    }
22377}
22378
22379impl FieldValue for NoPartyIDsField {}
22380
22381
22382/// `NoPartyListField` is a `NUMINGROUP` field, Tag 1513.
22383pub struct NoPartyListField(pub FIXInt);
22384
22385impl NoPartyListField {
22386
22387    pub fn new(val: isize) -> Self { Self(val) }
22388    pub fn value(&self) -> isize { self.0 }
22389
22390    pub fn tag() -> Tag { tag::NO_PARTY_LIST }
22391}
22392
22393impl FieldValueReader for NoPartyListField {
22394    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22395        self.0.read(raw)
22396    }
22397}
22398
22399impl FieldValueWriter for NoPartyListField {
22400    fn write_to(&self, buf: &mut Vec<u8>) {
22401        self.0.write_to(buf);
22402    }
22403}
22404
22405impl FieldValue for NoPartyListField {}
22406
22407
22408/// `NoPartyListResponseTypesField` is a `NUMINGROUP` field, Tag 1506.
22409pub struct NoPartyListResponseTypesField(pub FIXInt);
22410
22411impl NoPartyListResponseTypesField {
22412
22413    pub fn new(val: isize) -> Self { Self(val) }
22414    pub fn value(&self) -> isize { self.0 }
22415
22416    pub fn tag() -> Tag { tag::NO_PARTY_LIST_RESPONSE_TYPES }
22417}
22418
22419impl FieldValueReader for NoPartyListResponseTypesField {
22420    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22421        self.0.read(raw)
22422    }
22423}
22424
22425impl FieldValueWriter for NoPartyListResponseTypesField {
22426    fn write_to(&self, buf: &mut Vec<u8>) {
22427        self.0.write_to(buf);
22428    }
22429}
22430
22431impl FieldValue for NoPartyListResponseTypesField {}
22432
22433
22434/// `NoPartyRelationshipsField` is a `NUMINGROUP` field, Tag 1514.
22435pub struct NoPartyRelationshipsField(pub FIXInt);
22436
22437impl NoPartyRelationshipsField {
22438
22439    pub fn new(val: isize) -> Self { Self(val) }
22440    pub fn value(&self) -> isize { self.0 }
22441
22442    pub fn tag() -> Tag { tag::NO_PARTY_RELATIONSHIPS }
22443}
22444
22445impl FieldValueReader for NoPartyRelationshipsField {
22446    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22447        self.0.read(raw)
22448    }
22449}
22450
22451impl FieldValueWriter for NoPartyRelationshipsField {
22452    fn write_to(&self, buf: &mut Vec<u8>) {
22453        self.0.write_to(buf);
22454    }
22455}
22456
22457impl FieldValue for NoPartyRelationshipsField {}
22458
22459
22460/// `NoPartySubIDsField` is a `NUMINGROUP` field, Tag 802.
22461pub struct NoPartySubIDsField(pub FIXInt);
22462
22463impl NoPartySubIDsField {
22464
22465    pub fn new(val: isize) -> Self { Self(val) }
22466    pub fn value(&self) -> isize { self.0 }
22467
22468    pub fn tag() -> Tag { tag::NO_PARTY_SUB_I_DS }
22469}
22470
22471impl FieldValueReader for NoPartySubIDsField {
22472    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22473        self.0.read(raw)
22474    }
22475}
22476
22477impl FieldValueWriter for NoPartySubIDsField {
22478    fn write_to(&self, buf: &mut Vec<u8>) {
22479        self.0.write_to(buf);
22480    }
22481}
22482
22483impl FieldValue for NoPartySubIDsField {}
22484
22485
22486/// `NoPosAmtField` is a `NUMINGROUP` field, Tag 753.
22487pub struct NoPosAmtField(pub FIXInt);
22488
22489impl NoPosAmtField {
22490
22491    pub fn new(val: isize) -> Self { Self(val) }
22492    pub fn value(&self) -> isize { self.0 }
22493
22494    pub fn tag() -> Tag { tag::NO_POS_AMT }
22495}
22496
22497impl FieldValueReader for NoPosAmtField {
22498    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22499        self.0.read(raw)
22500    }
22501}
22502
22503impl FieldValueWriter for NoPosAmtField {
22504    fn write_to(&self, buf: &mut Vec<u8>) {
22505        self.0.write_to(buf);
22506    }
22507}
22508
22509impl FieldValue for NoPosAmtField {}
22510
22511
22512/// `NoPositionsField` is a `NUMINGROUP` field, Tag 702.
22513pub struct NoPositionsField(pub FIXInt);
22514
22515impl NoPositionsField {
22516
22517    pub fn new(val: isize) -> Self { Self(val) }
22518    pub fn value(&self) -> isize { self.0 }
22519
22520    pub fn tag() -> Tag { tag::NO_POSITIONS }
22521}
22522
22523impl FieldValueReader for NoPositionsField {
22524    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22525        self.0.read(raw)
22526    }
22527}
22528
22529impl FieldValueWriter for NoPositionsField {
22530    fn write_to(&self, buf: &mut Vec<u8>) {
22531        self.0.write_to(buf);
22532    }
22533}
22534
22535impl FieldValue for NoPositionsField {}
22536
22537
22538/// `NoQuoteEntriesField` is a `NUMINGROUP` field, Tag 295.
22539pub struct NoQuoteEntriesField(pub FIXInt);
22540
22541impl NoQuoteEntriesField {
22542
22543    pub fn new(val: isize) -> Self { Self(val) }
22544    pub fn value(&self) -> isize { self.0 }
22545
22546    pub fn tag() -> Tag { tag::NO_QUOTE_ENTRIES }
22547}
22548
22549impl FieldValueReader for NoQuoteEntriesField {
22550    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22551        self.0.read(raw)
22552    }
22553}
22554
22555impl FieldValueWriter for NoQuoteEntriesField {
22556    fn write_to(&self, buf: &mut Vec<u8>) {
22557        self.0.write_to(buf);
22558    }
22559}
22560
22561impl FieldValue for NoQuoteEntriesField {}
22562
22563
22564/// `NoQuoteQualifiersField` is a `NUMINGROUP` field, Tag 735.
22565pub struct NoQuoteQualifiersField(pub FIXInt);
22566
22567impl NoQuoteQualifiersField {
22568
22569    pub fn new(val: isize) -> Self { Self(val) }
22570    pub fn value(&self) -> isize { self.0 }
22571
22572    pub fn tag() -> Tag { tag::NO_QUOTE_QUALIFIERS }
22573}
22574
22575impl FieldValueReader for NoQuoteQualifiersField {
22576    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22577        self.0.read(raw)
22578    }
22579}
22580
22581impl FieldValueWriter for NoQuoteQualifiersField {
22582    fn write_to(&self, buf: &mut Vec<u8>) {
22583        self.0.write_to(buf);
22584    }
22585}
22586
22587impl FieldValue for NoQuoteQualifiersField {}
22588
22589
22590/// `NoQuoteSetsField` is a `NUMINGROUP` field, Tag 296.
22591pub struct NoQuoteSetsField(pub FIXInt);
22592
22593impl NoQuoteSetsField {
22594
22595    pub fn new(val: isize) -> Self { Self(val) }
22596    pub fn value(&self) -> isize { self.0 }
22597
22598    pub fn tag() -> Tag { tag::NO_QUOTE_SETS }
22599}
22600
22601impl FieldValueReader for NoQuoteSetsField {
22602    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22603        self.0.read(raw)
22604    }
22605}
22606
22607impl FieldValueWriter for NoQuoteSetsField {
22608    fn write_to(&self, buf: &mut Vec<u8>) {
22609        self.0.write_to(buf);
22610    }
22611}
22612
22613impl FieldValue for NoQuoteSetsField {}
22614
22615
22616/// `NoRateSourcesField` is a `NUMINGROUP` field, Tag 1445.
22617pub struct NoRateSourcesField(pub FIXInt);
22618
22619impl NoRateSourcesField {
22620
22621    pub fn new(val: isize) -> Self { Self(val) }
22622    pub fn value(&self) -> isize { self.0 }
22623
22624    pub fn tag() -> Tag { tag::NO_RATE_SOURCES }
22625}
22626
22627impl FieldValueReader for NoRateSourcesField {
22628    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22629        self.0.read(raw)
22630    }
22631}
22632
22633impl FieldValueWriter for NoRateSourcesField {
22634    fn write_to(&self, buf: &mut Vec<u8>) {
22635        self.0.write_to(buf);
22636    }
22637}
22638
22639impl FieldValue for NoRateSourcesField {}
22640
22641
22642/// `NoRegistDtlsField` is a `NUMINGROUP` field, Tag 473.
22643pub struct NoRegistDtlsField(pub FIXInt);
22644
22645impl NoRegistDtlsField {
22646
22647    pub fn new(val: isize) -> Self { Self(val) }
22648    pub fn value(&self) -> isize { self.0 }
22649
22650    pub fn tag() -> Tag { tag::NO_REGIST_DTLS }
22651}
22652
22653impl FieldValueReader for NoRegistDtlsField {
22654    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22655        self.0.read(raw)
22656    }
22657}
22658
22659impl FieldValueWriter for NoRegistDtlsField {
22660    fn write_to(&self, buf: &mut Vec<u8>) {
22661        self.0.write_to(buf);
22662    }
22663}
22664
22665impl FieldValue for NoRegistDtlsField {}
22666
22667
22668/// `NoRelatedContextPartyIDsField` is a `NUMINGROUP` field, Tag 1575.
22669pub struct NoRelatedContextPartyIDsField(pub FIXInt);
22670
22671impl NoRelatedContextPartyIDsField {
22672
22673    pub fn new(val: isize) -> Self { Self(val) }
22674    pub fn value(&self) -> isize { self.0 }
22675
22676    pub fn tag() -> Tag { tag::NO_RELATED_CONTEXT_PARTY_I_DS }
22677}
22678
22679impl FieldValueReader for NoRelatedContextPartyIDsField {
22680    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22681        self.0.read(raw)
22682    }
22683}
22684
22685impl FieldValueWriter for NoRelatedContextPartyIDsField {
22686    fn write_to(&self, buf: &mut Vec<u8>) {
22687        self.0.write_to(buf);
22688    }
22689}
22690
22691impl FieldValue for NoRelatedContextPartyIDsField {}
22692
22693
22694/// `NoRelatedContextPartySubIDsField` is a `NUMINGROUP` field, Tag 1579.
22695pub struct NoRelatedContextPartySubIDsField(pub FIXInt);
22696
22697impl NoRelatedContextPartySubIDsField {
22698
22699    pub fn new(val: isize) -> Self { Self(val) }
22700    pub fn value(&self) -> isize { self.0 }
22701
22702    pub fn tag() -> Tag { tag::NO_RELATED_CONTEXT_PARTY_SUB_I_DS }
22703}
22704
22705impl FieldValueReader for NoRelatedContextPartySubIDsField {
22706    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22707        self.0.read(raw)
22708    }
22709}
22710
22711impl FieldValueWriter for NoRelatedContextPartySubIDsField {
22712    fn write_to(&self, buf: &mut Vec<u8>) {
22713        self.0.write_to(buf);
22714    }
22715}
22716
22717impl FieldValue for NoRelatedContextPartySubIDsField {}
22718
22719
22720/// `NoRelatedPartyAltIDsField` is a `NUMINGROUP` field, Tag 1569.
22721pub struct NoRelatedPartyAltIDsField(pub FIXInt);
22722
22723impl NoRelatedPartyAltIDsField {
22724
22725    pub fn new(val: isize) -> Self { Self(val) }
22726    pub fn value(&self) -> isize { self.0 }
22727
22728    pub fn tag() -> Tag { tag::NO_RELATED_PARTY_ALT_I_DS }
22729}
22730
22731impl FieldValueReader for NoRelatedPartyAltIDsField {
22732    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22733        self.0.read(raw)
22734    }
22735}
22736
22737impl FieldValueWriter for NoRelatedPartyAltIDsField {
22738    fn write_to(&self, buf: &mut Vec<u8>) {
22739        self.0.write_to(buf);
22740    }
22741}
22742
22743impl FieldValue for NoRelatedPartyAltIDsField {}
22744
22745
22746/// `NoRelatedPartyAltSubIDsField` is a `NUMINGROUP` field, Tag 1572.
22747pub struct NoRelatedPartyAltSubIDsField(pub FIXInt);
22748
22749impl NoRelatedPartyAltSubIDsField {
22750
22751    pub fn new(val: isize) -> Self { Self(val) }
22752    pub fn value(&self) -> isize { self.0 }
22753
22754    pub fn tag() -> Tag { tag::NO_RELATED_PARTY_ALT_SUB_I_DS }
22755}
22756
22757impl FieldValueReader for NoRelatedPartyAltSubIDsField {
22758    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22759        self.0.read(raw)
22760    }
22761}
22762
22763impl FieldValueWriter for NoRelatedPartyAltSubIDsField {
22764    fn write_to(&self, buf: &mut Vec<u8>) {
22765        self.0.write_to(buf);
22766    }
22767}
22768
22769impl FieldValue for NoRelatedPartyAltSubIDsField {}
22770
22771
22772/// `NoRelatedPartyIDsField` is a `NUMINGROUP` field, Tag 1562.
22773pub struct NoRelatedPartyIDsField(pub FIXInt);
22774
22775impl NoRelatedPartyIDsField {
22776
22777    pub fn new(val: isize) -> Self { Self(val) }
22778    pub fn value(&self) -> isize { self.0 }
22779
22780    pub fn tag() -> Tag { tag::NO_RELATED_PARTY_I_DS }
22781}
22782
22783impl FieldValueReader for NoRelatedPartyIDsField {
22784    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22785        self.0.read(raw)
22786    }
22787}
22788
22789impl FieldValueWriter for NoRelatedPartyIDsField {
22790    fn write_to(&self, buf: &mut Vec<u8>) {
22791        self.0.write_to(buf);
22792    }
22793}
22794
22795impl FieldValue for NoRelatedPartyIDsField {}
22796
22797
22798/// `NoRelatedPartySubIDsField` is a `NUMINGROUP` field, Tag 1566.
22799pub struct NoRelatedPartySubIDsField(pub FIXInt);
22800
22801impl NoRelatedPartySubIDsField {
22802
22803    pub fn new(val: isize) -> Self { Self(val) }
22804    pub fn value(&self) -> isize { self.0 }
22805
22806    pub fn tag() -> Tag { tag::NO_RELATED_PARTY_SUB_I_DS }
22807}
22808
22809impl FieldValueReader for NoRelatedPartySubIDsField {
22810    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22811        self.0.read(raw)
22812    }
22813}
22814
22815impl FieldValueWriter for NoRelatedPartySubIDsField {
22816    fn write_to(&self, buf: &mut Vec<u8>) {
22817        self.0.write_to(buf);
22818    }
22819}
22820
22821impl FieldValue for NoRelatedPartySubIDsField {}
22822
22823
22824/// `NoRelatedSymField` is a `NUMINGROUP` field, Tag 146.
22825pub struct NoRelatedSymField(pub FIXInt);
22826
22827impl NoRelatedSymField {
22828
22829    pub fn new(val: isize) -> Self { Self(val) }
22830    pub fn value(&self) -> isize { self.0 }
22831
22832    pub fn tag() -> Tag { tag::NO_RELATED_SYM }
22833}
22834
22835impl FieldValueReader for NoRelatedSymField {
22836    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22837        self.0.read(raw)
22838    }
22839}
22840
22841impl FieldValueWriter for NoRelatedSymField {
22842    fn write_to(&self, buf: &mut Vec<u8>) {
22843        self.0.write_to(buf);
22844    }
22845}
22846
22847impl FieldValue for NoRelatedSymField {}
22848
22849
22850/// `NoRelationshipRiskInstrumentsField` is a `NUMINGROUP` field, Tag 1587.
22851pub struct NoRelationshipRiskInstrumentsField(pub FIXInt);
22852
22853impl NoRelationshipRiskInstrumentsField {
22854
22855    pub fn new(val: isize) -> Self { Self(val) }
22856    pub fn value(&self) -> isize { self.0 }
22857
22858    pub fn tag() -> Tag { tag::NO_RELATIONSHIP_RISK_INSTRUMENTS }
22859}
22860
22861impl FieldValueReader for NoRelationshipRiskInstrumentsField {
22862    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22863        self.0.read(raw)
22864    }
22865}
22866
22867impl FieldValueWriter for NoRelationshipRiskInstrumentsField {
22868    fn write_to(&self, buf: &mut Vec<u8>) {
22869        self.0.write_to(buf);
22870    }
22871}
22872
22873impl FieldValue for NoRelationshipRiskInstrumentsField {}
22874
22875
22876/// `NoRelationshipRiskLimitsField` is a `NUMINGROUP` field, Tag 1582.
22877pub struct NoRelationshipRiskLimitsField(pub FIXInt);
22878
22879impl NoRelationshipRiskLimitsField {
22880
22881    pub fn new(val: isize) -> Self { Self(val) }
22882    pub fn value(&self) -> isize { self.0 }
22883
22884    pub fn tag() -> Tag { tag::NO_RELATIONSHIP_RISK_LIMITS }
22885}
22886
22887impl FieldValueReader for NoRelationshipRiskLimitsField {
22888    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22889        self.0.read(raw)
22890    }
22891}
22892
22893impl FieldValueWriter for NoRelationshipRiskLimitsField {
22894    fn write_to(&self, buf: &mut Vec<u8>) {
22895        self.0.write_to(buf);
22896    }
22897}
22898
22899impl FieldValue for NoRelationshipRiskLimitsField {}
22900
22901
22902/// `NoRelationshipRiskSecurityAltIDField` is a `NUMINGROUP` field, Tag 1593.
22903pub struct NoRelationshipRiskSecurityAltIDField(pub FIXInt);
22904
22905impl NoRelationshipRiskSecurityAltIDField {
22906
22907    pub fn new(val: isize) -> Self { Self(val) }
22908    pub fn value(&self) -> isize { self.0 }
22909
22910    pub fn tag() -> Tag { tag::NO_RELATIONSHIP_RISK_SECURITY_ALT_ID }
22911}
22912
22913impl FieldValueReader for NoRelationshipRiskSecurityAltIDField {
22914    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22915        self.0.read(raw)
22916    }
22917}
22918
22919impl FieldValueWriter for NoRelationshipRiskSecurityAltIDField {
22920    fn write_to(&self, buf: &mut Vec<u8>) {
22921        self.0.write_to(buf);
22922    }
22923}
22924
22925impl FieldValue for NoRelationshipRiskSecurityAltIDField {}
22926
22927
22928/// `NoRelationshipRiskWarningLevelsField` is a `NUMINGROUP` field, Tag 1613.
22929pub struct NoRelationshipRiskWarningLevelsField(pub FIXInt);
22930
22931impl NoRelationshipRiskWarningLevelsField {
22932
22933    pub fn new(val: isize) -> Self { Self(val) }
22934    pub fn value(&self) -> isize { self.0 }
22935
22936    pub fn tag() -> Tag { tag::NO_RELATIONSHIP_RISK_WARNING_LEVELS }
22937}
22938
22939impl FieldValueReader for NoRelationshipRiskWarningLevelsField {
22940    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22941        self.0.read(raw)
22942    }
22943}
22944
22945impl FieldValueWriter for NoRelationshipRiskWarningLevelsField {
22946    fn write_to(&self, buf: &mut Vec<u8>) {
22947        self.0.write_to(buf);
22948    }
22949}
22950
22951impl FieldValue for NoRelationshipRiskWarningLevelsField {}
22952
22953
22954/// `NoRequestedPartyRolesField` is a `NUMINGROUP` field, Tag 1508.
22955pub struct NoRequestedPartyRolesField(pub FIXInt);
22956
22957impl NoRequestedPartyRolesField {
22958
22959    pub fn new(val: isize) -> Self { Self(val) }
22960    pub fn value(&self) -> isize { self.0 }
22961
22962    pub fn tag() -> Tag { tag::NO_REQUESTED_PARTY_ROLES }
22963}
22964
22965impl FieldValueReader for NoRequestedPartyRolesField {
22966    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22967        self.0.read(raw)
22968    }
22969}
22970
22971impl FieldValueWriter for NoRequestedPartyRolesField {
22972    fn write_to(&self, buf: &mut Vec<u8>) {
22973        self.0.write_to(buf);
22974    }
22975}
22976
22977impl FieldValue for NoRequestedPartyRolesField {}
22978
22979
22980/// `NoRiskInstrumentsField` is a `NUMINGROUP` field, Tag 1534.
22981pub struct NoRiskInstrumentsField(pub FIXInt);
22982
22983impl NoRiskInstrumentsField {
22984
22985    pub fn new(val: isize) -> Self { Self(val) }
22986    pub fn value(&self) -> isize { self.0 }
22987
22988    pub fn tag() -> Tag { tag::NO_RISK_INSTRUMENTS }
22989}
22990
22991impl FieldValueReader for NoRiskInstrumentsField {
22992    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
22993        self.0.read(raw)
22994    }
22995}
22996
22997impl FieldValueWriter for NoRiskInstrumentsField {
22998    fn write_to(&self, buf: &mut Vec<u8>) {
22999        self.0.write_to(buf);
23000    }
23001}
23002
23003impl FieldValue for NoRiskInstrumentsField {}
23004
23005
23006/// `NoRiskLimitsField` is a `NUMINGROUP` field, Tag 1529.
23007pub struct NoRiskLimitsField(pub FIXInt);
23008
23009impl NoRiskLimitsField {
23010
23011    pub fn new(val: isize) -> Self { Self(val) }
23012    pub fn value(&self) -> isize { self.0 }
23013
23014    pub fn tag() -> Tag { tag::NO_RISK_LIMITS }
23015}
23016
23017impl FieldValueReader for NoRiskLimitsField {
23018    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23019        self.0.read(raw)
23020    }
23021}
23022
23023impl FieldValueWriter for NoRiskLimitsField {
23024    fn write_to(&self, buf: &mut Vec<u8>) {
23025        self.0.write_to(buf);
23026    }
23027}
23028
23029impl FieldValue for NoRiskLimitsField {}
23030
23031
23032/// `NoRiskSecurityAltIDField` is a `NUMINGROUP` field, Tag 1540.
23033pub struct NoRiskSecurityAltIDField(pub FIXInt);
23034
23035impl NoRiskSecurityAltIDField {
23036
23037    pub fn new(val: isize) -> Self { Self(val) }
23038    pub fn value(&self) -> isize { self.0 }
23039
23040    pub fn tag() -> Tag { tag::NO_RISK_SECURITY_ALT_ID }
23041}
23042
23043impl FieldValueReader for NoRiskSecurityAltIDField {
23044    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23045        self.0.read(raw)
23046    }
23047}
23048
23049impl FieldValueWriter for NoRiskSecurityAltIDField {
23050    fn write_to(&self, buf: &mut Vec<u8>) {
23051        self.0.write_to(buf);
23052    }
23053}
23054
23055impl FieldValue for NoRiskSecurityAltIDField {}
23056
23057
23058/// `NoRiskWarningLevelsField` is a `NUMINGROUP` field, Tag 1559.
23059pub struct NoRiskWarningLevelsField(pub FIXInt);
23060
23061impl NoRiskWarningLevelsField {
23062
23063    pub fn new(val: isize) -> Self { Self(val) }
23064    pub fn value(&self) -> isize { self.0 }
23065
23066    pub fn tag() -> Tag { tag::NO_RISK_WARNING_LEVELS }
23067}
23068
23069impl FieldValueReader for NoRiskWarningLevelsField {
23070    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23071        self.0.read(raw)
23072    }
23073}
23074
23075impl FieldValueWriter for NoRiskWarningLevelsField {
23076    fn write_to(&self, buf: &mut Vec<u8>) {
23077        self.0.write_to(buf);
23078    }
23079}
23080
23081impl FieldValue for NoRiskWarningLevelsField {}
23082
23083
23084/// `NoRootPartyIDsField` is a `NUMINGROUP` field, Tag 1116.
23085pub struct NoRootPartyIDsField(pub FIXInt);
23086
23087impl NoRootPartyIDsField {
23088
23089    pub fn new(val: isize) -> Self { Self(val) }
23090    pub fn value(&self) -> isize { self.0 }
23091
23092    pub fn tag() -> Tag { tag::NO_ROOT_PARTY_I_DS }
23093}
23094
23095impl FieldValueReader for NoRootPartyIDsField {
23096    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23097        self.0.read(raw)
23098    }
23099}
23100
23101impl FieldValueWriter for NoRootPartyIDsField {
23102    fn write_to(&self, buf: &mut Vec<u8>) {
23103        self.0.write_to(buf);
23104    }
23105}
23106
23107impl FieldValue for NoRootPartyIDsField {}
23108
23109
23110/// `NoRootPartySubIDsField` is a `NUMINGROUP` field, Tag 1120.
23111pub struct NoRootPartySubIDsField(pub FIXInt);
23112
23113impl NoRootPartySubIDsField {
23114
23115    pub fn new(val: isize) -> Self { Self(val) }
23116    pub fn value(&self) -> isize { self.0 }
23117
23118    pub fn tag() -> Tag { tag::NO_ROOT_PARTY_SUB_I_DS }
23119}
23120
23121impl FieldValueReader for NoRootPartySubIDsField {
23122    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23123        self.0.read(raw)
23124    }
23125}
23126
23127impl FieldValueWriter for NoRootPartySubIDsField {
23128    fn write_to(&self, buf: &mut Vec<u8>) {
23129        self.0.write_to(buf);
23130    }
23131}
23132
23133impl FieldValue for NoRootPartySubIDsField {}
23134
23135
23136/// `NoRoutingIDsField` is a `NUMINGROUP` field, Tag 215.
23137pub struct NoRoutingIDsField(pub FIXInt);
23138
23139impl NoRoutingIDsField {
23140
23141    pub fn new(val: isize) -> Self { Self(val) }
23142    pub fn value(&self) -> isize { self.0 }
23143
23144    pub fn tag() -> Tag { tag::NO_ROUTING_I_DS }
23145}
23146
23147impl FieldValueReader for NoRoutingIDsField {
23148    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23149        self.0.read(raw)
23150    }
23151}
23152
23153impl FieldValueWriter for NoRoutingIDsField {
23154    fn write_to(&self, buf: &mut Vec<u8>) {
23155        self.0.write_to(buf);
23156    }
23157}
23158
23159impl FieldValue for NoRoutingIDsField {}
23160
23161
23162/// `NoRptsField` is a `INT` field, Tag 82.
23163pub struct NoRptsField(pub FIXInt);
23164
23165impl NoRptsField {
23166
23167    pub fn new(val: isize) -> Self { Self(val) }
23168    pub fn value(&self) -> isize { self.0 }
23169
23170    pub fn tag() -> Tag { tag::NO_RPTS }
23171}
23172
23173impl FieldValueReader for NoRptsField {
23174    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23175        self.0.read(raw)
23176    }
23177}
23178
23179impl FieldValueWriter for NoRptsField {
23180    fn write_to(&self, buf: &mut Vec<u8>) {
23181        self.0.write_to(buf);
23182    }
23183}
23184
23185impl FieldValue for NoRptsField {}
23186
23187
23188/// `NoSecurityAltIDField` is a `NUMINGROUP` field, Tag 454.
23189pub struct NoSecurityAltIDField(pub FIXInt);
23190
23191impl NoSecurityAltIDField {
23192
23193    pub fn new(val: isize) -> Self { Self(val) }
23194    pub fn value(&self) -> isize { self.0 }
23195
23196    pub fn tag() -> Tag { tag::NO_SECURITY_ALT_ID }
23197}
23198
23199impl FieldValueReader for NoSecurityAltIDField {
23200    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23201        self.0.read(raw)
23202    }
23203}
23204
23205impl FieldValueWriter for NoSecurityAltIDField {
23206    fn write_to(&self, buf: &mut Vec<u8>) {
23207        self.0.write_to(buf);
23208    }
23209}
23210
23211impl FieldValue for NoSecurityAltIDField {}
23212
23213
23214/// `NoSecurityTypesField` is a `NUMINGROUP` field, Tag 558.
23215pub struct NoSecurityTypesField(pub FIXInt);
23216
23217impl NoSecurityTypesField {
23218
23219    pub fn new(val: isize) -> Self { Self(val) }
23220    pub fn value(&self) -> isize { self.0 }
23221
23222    pub fn tag() -> Tag { tag::NO_SECURITY_TYPES }
23223}
23224
23225impl FieldValueReader for NoSecurityTypesField {
23226    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23227        self.0.read(raw)
23228    }
23229}
23230
23231impl FieldValueWriter for NoSecurityTypesField {
23232    fn write_to(&self, buf: &mut Vec<u8>) {
23233        self.0.write_to(buf);
23234    }
23235}
23236
23237impl FieldValue for NoSecurityTypesField {}
23238
23239
23240/// `NoSettlDetailsField` is a `NUMINGROUP` field, Tag 1158.
23241pub struct NoSettlDetailsField(pub FIXInt);
23242
23243impl NoSettlDetailsField {
23244
23245    pub fn new(val: isize) -> Self { Self(val) }
23246    pub fn value(&self) -> isize { self.0 }
23247
23248    pub fn tag() -> Tag { tag::NO_SETTL_DETAILS }
23249}
23250
23251impl FieldValueReader for NoSettlDetailsField {
23252    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23253        self.0.read(raw)
23254    }
23255}
23256
23257impl FieldValueWriter for NoSettlDetailsField {
23258    fn write_to(&self, buf: &mut Vec<u8>) {
23259        self.0.write_to(buf);
23260    }
23261}
23262
23263impl FieldValue for NoSettlDetailsField {}
23264
23265
23266/// `NoSettlInstField` is a `NUMINGROUP` field, Tag 778.
23267pub struct NoSettlInstField(pub FIXInt);
23268
23269impl NoSettlInstField {
23270
23271    pub fn new(val: isize) -> Self { Self(val) }
23272    pub fn value(&self) -> isize { self.0 }
23273
23274    pub fn tag() -> Tag { tag::NO_SETTL_INST }
23275}
23276
23277impl FieldValueReader for NoSettlInstField {
23278    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23279        self.0.read(raw)
23280    }
23281}
23282
23283impl FieldValueWriter for NoSettlInstField {
23284    fn write_to(&self, buf: &mut Vec<u8>) {
23285        self.0.write_to(buf);
23286    }
23287}
23288
23289impl FieldValue for NoSettlInstField {}
23290
23291
23292/// `NoSettlObligField` is a `NUMINGROUP` field, Tag 1165.
23293pub struct NoSettlObligField(pub FIXInt);
23294
23295impl NoSettlObligField {
23296
23297    pub fn new(val: isize) -> Self { Self(val) }
23298    pub fn value(&self) -> isize { self.0 }
23299
23300    pub fn tag() -> Tag { tag::NO_SETTL_OBLIG }
23301}
23302
23303impl FieldValueReader for NoSettlObligField {
23304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23305        self.0.read(raw)
23306    }
23307}
23308
23309impl FieldValueWriter for NoSettlObligField {
23310    fn write_to(&self, buf: &mut Vec<u8>) {
23311        self.0.write_to(buf);
23312    }
23313}
23314
23315impl FieldValue for NoSettlObligField {}
23316
23317
23318/// `NoSettlPartyIDsField` is a `NUMINGROUP` field, Tag 781.
23319pub struct NoSettlPartyIDsField(pub FIXInt);
23320
23321impl NoSettlPartyIDsField {
23322
23323    pub fn new(val: isize) -> Self { Self(val) }
23324    pub fn value(&self) -> isize { self.0 }
23325
23326    pub fn tag() -> Tag { tag::NO_SETTL_PARTY_I_DS }
23327}
23328
23329impl FieldValueReader for NoSettlPartyIDsField {
23330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23331        self.0.read(raw)
23332    }
23333}
23334
23335impl FieldValueWriter for NoSettlPartyIDsField {
23336    fn write_to(&self, buf: &mut Vec<u8>) {
23337        self.0.write_to(buf);
23338    }
23339}
23340
23341impl FieldValue for NoSettlPartyIDsField {}
23342
23343
23344/// `NoSettlPartySubIDsField` is a `NUMINGROUP` field, Tag 801.
23345pub struct NoSettlPartySubIDsField(pub FIXInt);
23346
23347impl NoSettlPartySubIDsField {
23348
23349    pub fn new(val: isize) -> Self { Self(val) }
23350    pub fn value(&self) -> isize { self.0 }
23351
23352    pub fn tag() -> Tag { tag::NO_SETTL_PARTY_SUB_I_DS }
23353}
23354
23355impl FieldValueReader for NoSettlPartySubIDsField {
23356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23357        self.0.read(raw)
23358    }
23359}
23360
23361impl FieldValueWriter for NoSettlPartySubIDsField {
23362    fn write_to(&self, buf: &mut Vec<u8>) {
23363        self.0.write_to(buf);
23364    }
23365}
23366
23367impl FieldValue for NoSettlPartySubIDsField {}
23368
23369
23370/// `NoSideTrdRegTSField` is a `NUMINGROUP` field, Tag 1016.
23371pub struct NoSideTrdRegTSField(pub FIXInt);
23372
23373impl NoSideTrdRegTSField {
23374
23375    pub fn new(val: isize) -> Self { Self(val) }
23376    pub fn value(&self) -> isize { self.0 }
23377
23378    pub fn tag() -> Tag { tag::NO_SIDE_TRD_REG_TS }
23379}
23380
23381impl FieldValueReader for NoSideTrdRegTSField {
23382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23383        self.0.read(raw)
23384    }
23385}
23386
23387impl FieldValueWriter for NoSideTrdRegTSField {
23388    fn write_to(&self, buf: &mut Vec<u8>) {
23389        self.0.write_to(buf);
23390    }
23391}
23392
23393impl FieldValue for NoSideTrdRegTSField {}
23394
23395
23396/// `NoSidesField` is a `NUMINGROUP` field, Tag 552.
23397pub struct NoSidesField(pub FIXInt);
23398
23399impl NoSidesField {
23400
23401    pub fn new(val: isize) -> Self { Self(val) }
23402    pub fn value(&self) -> isize { self.0 }
23403
23404    pub fn tag() -> Tag { tag::NO_SIDES }
23405}
23406
23407impl FieldValueReader for NoSidesField {
23408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23409        self.0.read(raw)
23410    }
23411}
23412
23413impl FieldValueWriter for NoSidesField {
23414    fn write_to(&self, buf: &mut Vec<u8>) {
23415        self.0.write_to(buf);
23416    }
23417}
23418
23419impl FieldValue for NoSidesField {}
23420
23421
23422/// `NoStatsIndicatorsField` is a `NUMINGROUP` field, Tag 1175.
23423pub struct NoStatsIndicatorsField(pub FIXInt);
23424
23425impl NoStatsIndicatorsField {
23426
23427    pub fn new(val: isize) -> Self { Self(val) }
23428    pub fn value(&self) -> isize { self.0 }
23429
23430    pub fn tag() -> Tag { tag::NO_STATS_INDICATORS }
23431}
23432
23433impl FieldValueReader for NoStatsIndicatorsField {
23434    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23435        self.0.read(raw)
23436    }
23437}
23438
23439impl FieldValueWriter for NoStatsIndicatorsField {
23440    fn write_to(&self, buf: &mut Vec<u8>) {
23441        self.0.write_to(buf);
23442    }
23443}
23444
23445impl FieldValue for NoStatsIndicatorsField {}
23446
23447
23448/// `NoStipulationsField` is a `NUMINGROUP` field, Tag 232.
23449pub struct NoStipulationsField(pub FIXInt);
23450
23451impl NoStipulationsField {
23452
23453    pub fn new(val: isize) -> Self { Self(val) }
23454    pub fn value(&self) -> isize { self.0 }
23455
23456    pub fn tag() -> Tag { tag::NO_STIPULATIONS }
23457}
23458
23459impl FieldValueReader for NoStipulationsField {
23460    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23461        self.0.read(raw)
23462    }
23463}
23464
23465impl FieldValueWriter for NoStipulationsField {
23466    fn write_to(&self, buf: &mut Vec<u8>) {
23467        self.0.write_to(buf);
23468    }
23469}
23470
23471impl FieldValue for NoStipulationsField {}
23472
23473
23474/// `NoStrategyParametersField` is a `NUMINGROUP` field, Tag 957.
23475pub struct NoStrategyParametersField(pub FIXInt);
23476
23477impl NoStrategyParametersField {
23478
23479    pub fn new(val: isize) -> Self { Self(val) }
23480    pub fn value(&self) -> isize { self.0 }
23481
23482    pub fn tag() -> Tag { tag::NO_STRATEGY_PARAMETERS }
23483}
23484
23485impl FieldValueReader for NoStrategyParametersField {
23486    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23487        self.0.read(raw)
23488    }
23489}
23490
23491impl FieldValueWriter for NoStrategyParametersField {
23492    fn write_to(&self, buf: &mut Vec<u8>) {
23493        self.0.write_to(buf);
23494    }
23495}
23496
23497impl FieldValue for NoStrategyParametersField {}
23498
23499
23500/// `NoStrikeRulesField` is a `NUMINGROUP` field, Tag 1201.
23501pub struct NoStrikeRulesField(pub FIXInt);
23502
23503impl NoStrikeRulesField {
23504
23505    pub fn new(val: isize) -> Self { Self(val) }
23506    pub fn value(&self) -> isize { self.0 }
23507
23508    pub fn tag() -> Tag { tag::NO_STRIKE_RULES }
23509}
23510
23511impl FieldValueReader for NoStrikeRulesField {
23512    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23513        self.0.read(raw)
23514    }
23515}
23516
23517impl FieldValueWriter for NoStrikeRulesField {
23518    fn write_to(&self, buf: &mut Vec<u8>) {
23519        self.0.write_to(buf);
23520    }
23521}
23522
23523impl FieldValue for NoStrikeRulesField {}
23524
23525
23526/// `NoStrikesField` is a `NUMINGROUP` field, Tag 428.
23527pub struct NoStrikesField(pub FIXInt);
23528
23529impl NoStrikesField {
23530
23531    pub fn new(val: isize) -> Self { Self(val) }
23532    pub fn value(&self) -> isize { self.0 }
23533
23534    pub fn tag() -> Tag { tag::NO_STRIKES }
23535}
23536
23537impl FieldValueReader for NoStrikesField {
23538    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23539        self.0.read(raw)
23540    }
23541}
23542
23543impl FieldValueWriter for NoStrikesField {
23544    fn write_to(&self, buf: &mut Vec<u8>) {
23545        self.0.write_to(buf);
23546    }
23547}
23548
23549impl FieldValue for NoStrikesField {}
23550
23551
23552/// `NoTargetPartyIDsField` is a `NUMINGROUP` field, Tag 1461.
23553pub struct NoTargetPartyIDsField(pub FIXInt);
23554
23555impl NoTargetPartyIDsField {
23556
23557    pub fn new(val: isize) -> Self { Self(val) }
23558    pub fn value(&self) -> isize { self.0 }
23559
23560    pub fn tag() -> Tag { tag::NO_TARGET_PARTY_I_DS }
23561}
23562
23563impl FieldValueReader for NoTargetPartyIDsField {
23564    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23565        self.0.read(raw)
23566    }
23567}
23568
23569impl FieldValueWriter for NoTargetPartyIDsField {
23570    fn write_to(&self, buf: &mut Vec<u8>) {
23571        self.0.write_to(buf);
23572    }
23573}
23574
23575impl FieldValue for NoTargetPartyIDsField {}
23576
23577
23578/// `NoTickRulesField` is a `NUMINGROUP` field, Tag 1205.
23579pub struct NoTickRulesField(pub FIXInt);
23580
23581impl NoTickRulesField {
23582
23583    pub fn new(val: isize) -> Self { Self(val) }
23584    pub fn value(&self) -> isize { self.0 }
23585
23586    pub fn tag() -> Tag { tag::NO_TICK_RULES }
23587}
23588
23589impl FieldValueReader for NoTickRulesField {
23590    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23591        self.0.read(raw)
23592    }
23593}
23594
23595impl FieldValueWriter for NoTickRulesField {
23596    fn write_to(&self, buf: &mut Vec<u8>) {
23597        self.0.write_to(buf);
23598    }
23599}
23600
23601impl FieldValue for NoTickRulesField {}
23602
23603
23604/// `NoTimeInForceRulesField` is a `NUMINGROUP` field, Tag 1239.
23605pub struct NoTimeInForceRulesField(pub FIXInt);
23606
23607impl NoTimeInForceRulesField {
23608
23609    pub fn new(val: isize) -> Self { Self(val) }
23610    pub fn value(&self) -> isize { self.0 }
23611
23612    pub fn tag() -> Tag { tag::NO_TIME_IN_FORCE_RULES }
23613}
23614
23615impl FieldValueReader for NoTimeInForceRulesField {
23616    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23617        self.0.read(raw)
23618    }
23619}
23620
23621impl FieldValueWriter for NoTimeInForceRulesField {
23622    fn write_to(&self, buf: &mut Vec<u8>) {
23623        self.0.write_to(buf);
23624    }
23625}
23626
23627impl FieldValue for NoTimeInForceRulesField {}
23628
23629
23630/// `NoTradesField` is a `NUMINGROUP` field, Tag 897.
23631pub struct NoTradesField(pub FIXInt);
23632
23633impl NoTradesField {
23634
23635    pub fn new(val: isize) -> Self { Self(val) }
23636    pub fn value(&self) -> isize { self.0 }
23637
23638    pub fn tag() -> Tag { tag::NO_TRADES }
23639}
23640
23641impl FieldValueReader for NoTradesField {
23642    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23643        self.0.read(raw)
23644    }
23645}
23646
23647impl FieldValueWriter for NoTradesField {
23648    fn write_to(&self, buf: &mut Vec<u8>) {
23649        self.0.write_to(buf);
23650    }
23651}
23652
23653impl FieldValue for NoTradesField {}
23654
23655
23656/// `NoTradingSessionRulesField` is a `NUMINGROUP` field, Tag 1309.
23657pub struct NoTradingSessionRulesField(pub FIXInt);
23658
23659impl NoTradingSessionRulesField {
23660
23661    pub fn new(val: isize) -> Self { Self(val) }
23662    pub fn value(&self) -> isize { self.0 }
23663
23664    pub fn tag() -> Tag { tag::NO_TRADING_SESSION_RULES }
23665}
23666
23667impl FieldValueReader for NoTradingSessionRulesField {
23668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23669        self.0.read(raw)
23670    }
23671}
23672
23673impl FieldValueWriter for NoTradingSessionRulesField {
23674    fn write_to(&self, buf: &mut Vec<u8>) {
23675        self.0.write_to(buf);
23676    }
23677}
23678
23679impl FieldValue for NoTradingSessionRulesField {}
23680
23681
23682/// `NoTradingSessionsField` is a `NUMINGROUP` field, Tag 386.
23683pub struct NoTradingSessionsField(pub FIXInt);
23684
23685impl NoTradingSessionsField {
23686
23687    pub fn new(val: isize) -> Self { Self(val) }
23688    pub fn value(&self) -> isize { self.0 }
23689
23690    pub fn tag() -> Tag { tag::NO_TRADING_SESSIONS }
23691}
23692
23693impl FieldValueReader for NoTradingSessionsField {
23694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23695        self.0.read(raw)
23696    }
23697}
23698
23699impl FieldValueWriter for NoTradingSessionsField {
23700    fn write_to(&self, buf: &mut Vec<u8>) {
23701        self.0.write_to(buf);
23702    }
23703}
23704
23705impl FieldValue for NoTradingSessionsField {}
23706
23707
23708/// `NoTrdRegTimestampsField` is a `NUMINGROUP` field, Tag 768.
23709pub struct NoTrdRegTimestampsField(pub FIXInt);
23710
23711impl NoTrdRegTimestampsField {
23712
23713    pub fn new(val: isize) -> Self { Self(val) }
23714    pub fn value(&self) -> isize { self.0 }
23715
23716    pub fn tag() -> Tag { tag::NO_TRD_REG_TIMESTAMPS }
23717}
23718
23719impl FieldValueReader for NoTrdRegTimestampsField {
23720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23721        self.0.read(raw)
23722    }
23723}
23724
23725impl FieldValueWriter for NoTrdRegTimestampsField {
23726    fn write_to(&self, buf: &mut Vec<u8>) {
23727        self.0.write_to(buf);
23728    }
23729}
23730
23731impl FieldValue for NoTrdRegTimestampsField {}
23732
23733
23734/// `NoTrdRepIndicatorsField` is a `NUMINGROUP` field, Tag 1387.
23735pub struct NoTrdRepIndicatorsField(pub FIXInt);
23736
23737impl NoTrdRepIndicatorsField {
23738
23739    pub fn new(val: isize) -> Self { Self(val) }
23740    pub fn value(&self) -> isize { self.0 }
23741
23742    pub fn tag() -> Tag { tag::NO_TRD_REP_INDICATORS }
23743}
23744
23745impl FieldValueReader for NoTrdRepIndicatorsField {
23746    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23747        self.0.read(raw)
23748    }
23749}
23750
23751impl FieldValueWriter for NoTrdRepIndicatorsField {
23752    fn write_to(&self, buf: &mut Vec<u8>) {
23753        self.0.write_to(buf);
23754    }
23755}
23756
23757impl FieldValue for NoTrdRepIndicatorsField {}
23758
23759
23760/// `NoUnderlyingAmountsField` is a `NUMINGROUP` field, Tag 984.
23761pub struct NoUnderlyingAmountsField(pub FIXInt);
23762
23763impl NoUnderlyingAmountsField {
23764
23765    pub fn new(val: isize) -> Self { Self(val) }
23766    pub fn value(&self) -> isize { self.0 }
23767
23768    pub fn tag() -> Tag { tag::NO_UNDERLYING_AMOUNTS }
23769}
23770
23771impl FieldValueReader for NoUnderlyingAmountsField {
23772    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23773        self.0.read(raw)
23774    }
23775}
23776
23777impl FieldValueWriter for NoUnderlyingAmountsField {
23778    fn write_to(&self, buf: &mut Vec<u8>) {
23779        self.0.write_to(buf);
23780    }
23781}
23782
23783impl FieldValue for NoUnderlyingAmountsField {}
23784
23785
23786/// `NoUnderlyingLegSecurityAltIDField` is a `NUMINGROUP` field, Tag 1334.
23787pub struct NoUnderlyingLegSecurityAltIDField(pub FIXInt);
23788
23789impl NoUnderlyingLegSecurityAltIDField {
23790
23791    pub fn new(val: isize) -> Self { Self(val) }
23792    pub fn value(&self) -> isize { self.0 }
23793
23794    pub fn tag() -> Tag { tag::NO_UNDERLYING_LEG_SECURITY_ALT_ID }
23795}
23796
23797impl FieldValueReader for NoUnderlyingLegSecurityAltIDField {
23798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23799        self.0.read(raw)
23800    }
23801}
23802
23803impl FieldValueWriter for NoUnderlyingLegSecurityAltIDField {
23804    fn write_to(&self, buf: &mut Vec<u8>) {
23805        self.0.write_to(buf);
23806    }
23807}
23808
23809impl FieldValue for NoUnderlyingLegSecurityAltIDField {}
23810
23811
23812/// `NoUnderlyingSecurityAltIDField` is a `NUMINGROUP` field, Tag 457.
23813pub struct NoUnderlyingSecurityAltIDField(pub FIXInt);
23814
23815impl NoUnderlyingSecurityAltIDField {
23816
23817    pub fn new(val: isize) -> Self { Self(val) }
23818    pub fn value(&self) -> isize { self.0 }
23819
23820    pub fn tag() -> Tag { tag::NO_UNDERLYING_SECURITY_ALT_ID }
23821}
23822
23823impl FieldValueReader for NoUnderlyingSecurityAltIDField {
23824    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23825        self.0.read(raw)
23826    }
23827}
23828
23829impl FieldValueWriter for NoUnderlyingSecurityAltIDField {
23830    fn write_to(&self, buf: &mut Vec<u8>) {
23831        self.0.write_to(buf);
23832    }
23833}
23834
23835impl FieldValue for NoUnderlyingSecurityAltIDField {}
23836
23837
23838/// `NoUnderlyingStipsField` is a `NUMINGROUP` field, Tag 887.
23839pub struct NoUnderlyingStipsField(pub FIXInt);
23840
23841impl NoUnderlyingStipsField {
23842
23843    pub fn new(val: isize) -> Self { Self(val) }
23844    pub fn value(&self) -> isize { self.0 }
23845
23846    pub fn tag() -> Tag { tag::NO_UNDERLYING_STIPS }
23847}
23848
23849impl FieldValueReader for NoUnderlyingStipsField {
23850    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23851        self.0.read(raw)
23852    }
23853}
23854
23855impl FieldValueWriter for NoUnderlyingStipsField {
23856    fn write_to(&self, buf: &mut Vec<u8>) {
23857        self.0.write_to(buf);
23858    }
23859}
23860
23861impl FieldValue for NoUnderlyingStipsField {}
23862
23863
23864/// `NoUnderlyingsField` is a `NUMINGROUP` field, Tag 711.
23865pub struct NoUnderlyingsField(pub FIXInt);
23866
23867impl NoUnderlyingsField {
23868
23869    pub fn new(val: isize) -> Self { Self(val) }
23870    pub fn value(&self) -> isize { self.0 }
23871
23872    pub fn tag() -> Tag { tag::NO_UNDERLYINGS }
23873}
23874
23875impl FieldValueReader for NoUnderlyingsField {
23876    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23877        self.0.read(raw)
23878    }
23879}
23880
23881impl FieldValueWriter for NoUnderlyingsField {
23882    fn write_to(&self, buf: &mut Vec<u8>) {
23883        self.0.write_to(buf);
23884    }
23885}
23886
23887impl FieldValue for NoUnderlyingsField {}
23888
23889
23890/// `NoUndlyInstrumentPartiesField` is a `NUMINGROUP` field, Tag 1058.
23891pub struct NoUndlyInstrumentPartiesField(pub FIXInt);
23892
23893impl NoUndlyInstrumentPartiesField {
23894
23895    pub fn new(val: isize) -> Self { Self(val) }
23896    pub fn value(&self) -> isize { self.0 }
23897
23898    pub fn tag() -> Tag { tag::NO_UNDLY_INSTRUMENT_PARTIES }
23899}
23900
23901impl FieldValueReader for NoUndlyInstrumentPartiesField {
23902    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23903        self.0.read(raw)
23904    }
23905}
23906
23907impl FieldValueWriter for NoUndlyInstrumentPartiesField {
23908    fn write_to(&self, buf: &mut Vec<u8>) {
23909        self.0.write_to(buf);
23910    }
23911}
23912
23913impl FieldValue for NoUndlyInstrumentPartiesField {}
23914
23915
23916/// `NoUndlyInstrumentPartySubIDsField` is a `NUMINGROUP` field, Tag 1062.
23917pub struct NoUndlyInstrumentPartySubIDsField(pub FIXInt);
23918
23919impl NoUndlyInstrumentPartySubIDsField {
23920
23921    pub fn new(val: isize) -> Self { Self(val) }
23922    pub fn value(&self) -> isize { self.0 }
23923
23924    pub fn tag() -> Tag { tag::NO_UNDLY_INSTRUMENT_PARTY_SUB_I_DS }
23925}
23926
23927impl FieldValueReader for NoUndlyInstrumentPartySubIDsField {
23928    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23929        self.0.read(raw)
23930    }
23931}
23932
23933impl FieldValueWriter for NoUndlyInstrumentPartySubIDsField {
23934    fn write_to(&self, buf: &mut Vec<u8>) {
23935        self.0.write_to(buf);
23936    }
23937}
23938
23939impl FieldValue for NoUndlyInstrumentPartySubIDsField {}
23940
23941
23942/// `NotAffOrigClOrdIDField` is a `STRING` field, Tag 1372.
23943pub struct NotAffOrigClOrdIDField(pub FIXString);
23944
23945impl NotAffOrigClOrdIDField {
23946
23947    pub fn new(val: String) -> Self { Self(val) }
23948    pub fn value(&self) -> &str { &self.0 }
23949
23950    pub fn tag() -> Tag { tag::NOT_AFF_ORIG_CL_ORD_ID }
23951}
23952
23953impl FieldValueReader for NotAffOrigClOrdIDField {
23954    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23955        self.0.read(raw)
23956    }
23957}
23958
23959impl FieldValueWriter for NotAffOrigClOrdIDField {
23960    fn write_to(&self, buf: &mut Vec<u8>) {
23961        self.0.write_to(buf);
23962    }
23963}
23964
23965impl FieldValue for NotAffOrigClOrdIDField {}
23966
23967
23968/// `NotAffectedOrderIDField` is a `STRING` field, Tag 1371.
23969pub struct NotAffectedOrderIDField(pub FIXString);
23970
23971impl NotAffectedOrderIDField {
23972
23973    pub fn new(val: String) -> Self { Self(val) }
23974    pub fn value(&self) -> &str { &self.0 }
23975
23976    pub fn tag() -> Tag { tag::NOT_AFFECTED_ORDER_ID }
23977}
23978
23979impl FieldValueReader for NotAffectedOrderIDField {
23980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
23981        self.0.read(raw)
23982    }
23983}
23984
23985impl FieldValueWriter for NotAffectedOrderIDField {
23986    fn write_to(&self, buf: &mut Vec<u8>) {
23987        self.0.write_to(buf);
23988    }
23989}
23990
23991impl FieldValue for NotAffectedOrderIDField {}
23992
23993
23994/// `NotifyBrokerOfCreditField` is a `BOOLEAN` field, Tag 208.
23995pub struct NotifyBrokerOfCreditField(pub FIXBoolean);
23996
23997impl NotifyBrokerOfCreditField {
23998
23999    pub fn new(val: bool) -> Self { Self(val) }
24000    pub fn value(&self) -> bool { self.0 }
24001
24002    pub fn tag() -> Tag { tag::NOTIFY_BROKER_OF_CREDIT }
24003}
24004
24005impl FieldValueReader for NotifyBrokerOfCreditField {
24006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24007        self.0.read(raw)
24008    }
24009}
24010
24011impl FieldValueWriter for NotifyBrokerOfCreditField {
24012    fn write_to(&self, buf: &mut Vec<u8>) {
24013        self.0.write_to(buf);
24014    }
24015}
24016
24017impl FieldValue for NotifyBrokerOfCreditField {}
24018
24019
24020/// `NotionalPercentageOutstandingField` is a `PERCENTAGE` field, Tag 1451.
24021pub struct NotionalPercentageOutstandingField(pub FIXDecimal);
24022
24023impl NotionalPercentageOutstandingField {
24024
24025    pub fn new(val: Decimal, scale: i32) -> Self {
24026        Self(FIXDecimal { decimal: val, scale })
24027    }
24028    pub fn value(&self) -> Decimal { self.0.decimal }
24029
24030    pub fn tag() -> Tag { tag::NOTIONAL_PERCENTAGE_OUTSTANDING }
24031}
24032
24033impl FieldValueReader for NotionalPercentageOutstandingField {
24034    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24035        self.0.read(raw)
24036    }
24037}
24038
24039impl FieldValueWriter for NotionalPercentageOutstandingField {
24040    fn write_to(&self, buf: &mut Vec<u8>) {
24041        self.0.write_to(buf);
24042    }
24043}
24044
24045impl FieldValue for NotionalPercentageOutstandingField {}
24046
24047
24048/// `NumBiddersField` is a `INT` field, Tag 417.
24049pub struct NumBiddersField(pub FIXInt);
24050
24051impl NumBiddersField {
24052
24053    pub fn new(val: isize) -> Self { Self(val) }
24054    pub fn value(&self) -> isize { self.0 }
24055
24056    pub fn tag() -> Tag { tag::NUM_BIDDERS }
24057}
24058
24059impl FieldValueReader for NumBiddersField {
24060    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24061        self.0.read(raw)
24062    }
24063}
24064
24065impl FieldValueWriter for NumBiddersField {
24066    fn write_to(&self, buf: &mut Vec<u8>) {
24067        self.0.write_to(buf);
24068    }
24069}
24070
24071impl FieldValue for NumBiddersField {}
24072
24073
24074/// `NumDaysInterestField` is a `INT` field, Tag 157.
24075pub struct NumDaysInterestField(pub FIXInt);
24076
24077impl NumDaysInterestField {
24078
24079    pub fn new(val: isize) -> Self { Self(val) }
24080    pub fn value(&self) -> isize { self.0 }
24081
24082    pub fn tag() -> Tag { tag::NUM_DAYS_INTEREST }
24083}
24084
24085impl FieldValueReader for NumDaysInterestField {
24086    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24087        self.0.read(raw)
24088    }
24089}
24090
24091impl FieldValueWriter for NumDaysInterestField {
24092    fn write_to(&self, buf: &mut Vec<u8>) {
24093        self.0.write_to(buf);
24094    }
24095}
24096
24097impl FieldValue for NumDaysInterestField {}
24098
24099
24100/// `NumTicketsField` is a `INT` field, Tag 395.
24101pub struct NumTicketsField(pub FIXInt);
24102
24103impl NumTicketsField {
24104
24105    pub fn new(val: isize) -> Self { Self(val) }
24106    pub fn value(&self) -> isize { self.0 }
24107
24108    pub fn tag() -> Tag { tag::NUM_TICKETS }
24109}
24110
24111impl FieldValueReader for NumTicketsField {
24112    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24113        self.0.read(raw)
24114    }
24115}
24116
24117impl FieldValueWriter for NumTicketsField {
24118    fn write_to(&self, buf: &mut Vec<u8>) {
24119        self.0.write_to(buf);
24120    }
24121}
24122
24123impl FieldValue for NumTicketsField {}
24124
24125
24126/// `NumberOfOrdersField` is a `INT` field, Tag 346.
24127pub struct NumberOfOrdersField(pub FIXInt);
24128
24129impl NumberOfOrdersField {
24130
24131    pub fn new(val: isize) -> Self { Self(val) }
24132    pub fn value(&self) -> isize { self.0 }
24133
24134    pub fn tag() -> Tag { tag::NUMBER_OF_ORDERS }
24135}
24136
24137impl FieldValueReader for NumberOfOrdersField {
24138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24139        self.0.read(raw)
24140    }
24141}
24142
24143impl FieldValueWriter for NumberOfOrdersField {
24144    fn write_to(&self, buf: &mut Vec<u8>) {
24145        self.0.write_to(buf);
24146    }
24147}
24148
24149impl FieldValue for NumberOfOrdersField {}
24150
24151
24152/// `OddLotField` is a `BOOLEAN` field, Tag 575.
24153pub struct OddLotField(pub FIXBoolean);
24154
24155impl OddLotField {
24156
24157    pub fn new(val: bool) -> Self { Self(val) }
24158    pub fn value(&self) -> bool { self.0 }
24159
24160    pub fn tag() -> Tag { tag::ODD_LOT }
24161}
24162
24163impl FieldValueReader for OddLotField {
24164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24165        self.0.read(raw)
24166    }
24167}
24168
24169impl FieldValueWriter for OddLotField {
24170    fn write_to(&self, buf: &mut Vec<u8>) {
24171        self.0.write_to(buf);
24172    }
24173}
24174
24175impl FieldValue for OddLotField {}
24176
24177
24178/// `OfferForwardPointsField` is a `PRICEOFFSET` field, Tag 191.
24179pub struct OfferForwardPointsField(pub FIXDecimal);
24180
24181impl OfferForwardPointsField {
24182
24183    pub fn new(val: Decimal, scale: i32) -> Self {
24184        Self(FIXDecimal { decimal: val, scale })
24185    }
24186    pub fn value(&self) -> Decimal { self.0.decimal }
24187
24188    pub fn tag() -> Tag { tag::OFFER_FORWARD_POINTS }
24189}
24190
24191impl FieldValueReader for OfferForwardPointsField {
24192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24193        self.0.read(raw)
24194    }
24195}
24196
24197impl FieldValueWriter for OfferForwardPointsField {
24198    fn write_to(&self, buf: &mut Vec<u8>) {
24199        self.0.write_to(buf);
24200    }
24201}
24202
24203impl FieldValue for OfferForwardPointsField {}
24204
24205
24206/// `OfferForwardPoints2Field` is a `PRICEOFFSET` field, Tag 643.
24207pub struct OfferForwardPoints2Field(pub FIXDecimal);
24208
24209impl OfferForwardPoints2Field {
24210
24211    pub fn new(val: Decimal, scale: i32) -> Self {
24212        Self(FIXDecimal { decimal: val, scale })
24213    }
24214    pub fn value(&self) -> Decimal { self.0.decimal }
24215
24216    pub fn tag() -> Tag { tag::OFFER_FORWARD_POINTS2 }
24217}
24218
24219impl FieldValueReader for OfferForwardPoints2Field {
24220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24221        self.0.read(raw)
24222    }
24223}
24224
24225impl FieldValueWriter for OfferForwardPoints2Field {
24226    fn write_to(&self, buf: &mut Vec<u8>) {
24227        self.0.write_to(buf);
24228    }
24229}
24230
24231impl FieldValue for OfferForwardPoints2Field {}
24232
24233
24234/// `OfferPxField` is a `PRICE` field, Tag 133.
24235pub struct OfferPxField(pub FIXDecimal);
24236
24237impl OfferPxField {
24238
24239    pub fn new(val: Decimal, scale: i32) -> Self {
24240        Self(FIXDecimal { decimal: val, scale })
24241    }
24242    pub fn value(&self) -> Decimal { self.0.decimal }
24243
24244    pub fn tag() -> Tag { tag::OFFER_PX }
24245}
24246
24247impl FieldValueReader for OfferPxField {
24248    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24249        self.0.read(raw)
24250    }
24251}
24252
24253impl FieldValueWriter for OfferPxField {
24254    fn write_to(&self, buf: &mut Vec<u8>) {
24255        self.0.write_to(buf);
24256    }
24257}
24258
24259impl FieldValue for OfferPxField {}
24260
24261
24262/// `OfferSizeField` is a `QTY` field, Tag 135.
24263pub struct OfferSizeField(pub FIXDecimal);
24264
24265impl OfferSizeField {
24266
24267    pub fn new(val: Decimal, scale: i32) -> Self {
24268        Self(FIXDecimal { decimal: val, scale })
24269    }
24270    pub fn value(&self) -> Decimal { self.0.decimal }
24271
24272    pub fn tag() -> Tag { tag::OFFER_SIZE }
24273}
24274
24275impl FieldValueReader for OfferSizeField {
24276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24277        self.0.read(raw)
24278    }
24279}
24280
24281impl FieldValueWriter for OfferSizeField {
24282    fn write_to(&self, buf: &mut Vec<u8>) {
24283        self.0.write_to(buf);
24284    }
24285}
24286
24287impl FieldValue for OfferSizeField {}
24288
24289
24290/// `OfferSpotRateField` is a `PRICE` field, Tag 190.
24291pub struct OfferSpotRateField(pub FIXDecimal);
24292
24293impl OfferSpotRateField {
24294
24295    pub fn new(val: Decimal, scale: i32) -> Self {
24296        Self(FIXDecimal { decimal: val, scale })
24297    }
24298    pub fn value(&self) -> Decimal { self.0.decimal }
24299
24300    pub fn tag() -> Tag { tag::OFFER_SPOT_RATE }
24301}
24302
24303impl FieldValueReader for OfferSpotRateField {
24304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24305        self.0.read(raw)
24306    }
24307}
24308
24309impl FieldValueWriter for OfferSpotRateField {
24310    fn write_to(&self, buf: &mut Vec<u8>) {
24311        self.0.write_to(buf);
24312    }
24313}
24314
24315impl FieldValue for OfferSpotRateField {}
24316
24317
24318/// `OfferSwapPointsField` is a `PRICEOFFSET` field, Tag 1066.
24319pub struct OfferSwapPointsField(pub FIXDecimal);
24320
24321impl OfferSwapPointsField {
24322
24323    pub fn new(val: Decimal, scale: i32) -> Self {
24324        Self(FIXDecimal { decimal: val, scale })
24325    }
24326    pub fn value(&self) -> Decimal { self.0.decimal }
24327
24328    pub fn tag() -> Tag { tag::OFFER_SWAP_POINTS }
24329}
24330
24331impl FieldValueReader for OfferSwapPointsField {
24332    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24333        self.0.read(raw)
24334    }
24335}
24336
24337impl FieldValueWriter for OfferSwapPointsField {
24338    fn write_to(&self, buf: &mut Vec<u8>) {
24339        self.0.write_to(buf);
24340    }
24341}
24342
24343impl FieldValue for OfferSwapPointsField {}
24344
24345
24346/// `OfferYieldField` is a `PERCENTAGE` field, Tag 634.
24347pub struct OfferYieldField(pub FIXDecimal);
24348
24349impl OfferYieldField {
24350
24351    pub fn new(val: Decimal, scale: i32) -> Self {
24352        Self(FIXDecimal { decimal: val, scale })
24353    }
24354    pub fn value(&self) -> Decimal { self.0.decimal }
24355
24356    pub fn tag() -> Tag { tag::OFFER_YIELD }
24357}
24358
24359impl FieldValueReader for OfferYieldField {
24360    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24361        self.0.read(raw)
24362    }
24363}
24364
24365impl FieldValueWriter for OfferYieldField {
24366    fn write_to(&self, buf: &mut Vec<u8>) {
24367        self.0.write_to(buf);
24368    }
24369}
24370
24371impl FieldValue for OfferYieldField {}
24372
24373
24374/// `OnBehalfOfCompIDField` is a `STRING` field, Tag 115.
24375pub struct OnBehalfOfCompIDField(pub FIXString);
24376
24377impl OnBehalfOfCompIDField {
24378
24379    pub fn new(val: String) -> Self { Self(val) }
24380    pub fn value(&self) -> &str { &self.0 }
24381
24382    pub fn tag() -> Tag { tag::ON_BEHALF_OF_COMP_ID }
24383}
24384
24385impl FieldValueReader for OnBehalfOfCompIDField {
24386    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24387        self.0.read(raw)
24388    }
24389}
24390
24391impl FieldValueWriter for OnBehalfOfCompIDField {
24392    fn write_to(&self, buf: &mut Vec<u8>) {
24393        self.0.write_to(buf);
24394    }
24395}
24396
24397impl FieldValue for OnBehalfOfCompIDField {}
24398
24399
24400/// `OnBehalfOfLocationIDField` is a `STRING` field, Tag 144.
24401pub struct OnBehalfOfLocationIDField(pub FIXString);
24402
24403impl OnBehalfOfLocationIDField {
24404
24405    pub fn new(val: String) -> Self { Self(val) }
24406    pub fn value(&self) -> &str { &self.0 }
24407
24408    pub fn tag() -> Tag { tag::ON_BEHALF_OF_LOCATION_ID }
24409}
24410
24411impl FieldValueReader for OnBehalfOfLocationIDField {
24412    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24413        self.0.read(raw)
24414    }
24415}
24416
24417impl FieldValueWriter for OnBehalfOfLocationIDField {
24418    fn write_to(&self, buf: &mut Vec<u8>) {
24419        self.0.write_to(buf);
24420    }
24421}
24422
24423impl FieldValue for OnBehalfOfLocationIDField {}
24424
24425
24426/// `OnBehalfOfSendingTimeField` is a `UTCTIMESTAMP` field, Tag 370.
24427pub struct OnBehalfOfSendingTimeField(pub FIXUTCTimestamp);
24428
24429impl OnBehalfOfSendingTimeField {
24430
24431    pub fn new(val: Timestamp) -> Self {
24432        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
24433    }
24434    pub fn value(&self) -> Timestamp { self.0.time }
24435
24436    pub fn tag() -> Tag { tag::ON_BEHALF_OF_SENDING_TIME }
24437}
24438
24439impl FieldValueReader for OnBehalfOfSendingTimeField {
24440    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24441        self.0.read(raw)
24442    }
24443}
24444
24445impl FieldValueWriter for OnBehalfOfSendingTimeField {
24446    fn write_to(&self, buf: &mut Vec<u8>) {
24447        self.0.write_to(buf);
24448    }
24449}
24450
24451impl FieldValue for OnBehalfOfSendingTimeField {}
24452
24453
24454/// `OnBehalfOfSubIDField` is a `STRING` field, Tag 116.
24455pub struct OnBehalfOfSubIDField(pub FIXString);
24456
24457impl OnBehalfOfSubIDField {
24458
24459    pub fn new(val: String) -> Self { Self(val) }
24460    pub fn value(&self) -> &str { &self.0 }
24461
24462    pub fn tag() -> Tag { tag::ON_BEHALF_OF_SUB_ID }
24463}
24464
24465impl FieldValueReader for OnBehalfOfSubIDField {
24466    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24467        self.0.read(raw)
24468    }
24469}
24470
24471impl FieldValueWriter for OnBehalfOfSubIDField {
24472    fn write_to(&self, buf: &mut Vec<u8>) {
24473        self.0.write_to(buf);
24474    }
24475}
24476
24477impl FieldValue for OnBehalfOfSubIDField {}
24478
24479
24480/// `OpenCloseField` is a `CHAR` field, Tag 77.
24481pub struct OpenCloseField(pub FIXString);
24482
24483impl OpenCloseField {
24484
24485    pub fn new(val: String) -> Self { Self(val) }
24486    pub fn value(&self) -> &str { &self.0 }
24487
24488    pub fn tag() -> Tag { tag::OPEN_CLOSE }
24489}
24490
24491impl FieldValueReader for OpenCloseField {
24492    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24493        self.0.read(raw)
24494    }
24495}
24496
24497impl FieldValueWriter for OpenCloseField {
24498    fn write_to(&self, buf: &mut Vec<u8>) {
24499        self.0.write_to(buf);
24500    }
24501}
24502
24503impl FieldValue for OpenCloseField {}
24504
24505
24506/// `OpenCloseSettlFlagField` is a `MULTIPLECHARVALUE` field, Tag 286.
24507pub struct OpenCloseSettlFlagField(pub FIXString);
24508
24509impl OpenCloseSettlFlagField {
24510
24511    pub fn new(val: String) -> Self { Self(val) }
24512    pub fn value(&self) -> &str { &self.0 }
24513
24514    pub fn tag() -> Tag { tag::OPEN_CLOSE_SETTL_FLAG }
24515}
24516
24517impl FieldValueReader for OpenCloseSettlFlagField {
24518    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24519        self.0.read(raw)
24520    }
24521}
24522
24523impl FieldValueWriter for OpenCloseSettlFlagField {
24524    fn write_to(&self, buf: &mut Vec<u8>) {
24525        self.0.write_to(buf);
24526    }
24527}
24528
24529impl FieldValue for OpenCloseSettlFlagField {}
24530
24531
24532/// `OpenCloseSettleFlagField` is a `MULTIPLEVALUESTRING` field, Tag 286.
24533pub struct OpenCloseSettleFlagField(pub FIXString);
24534
24535impl OpenCloseSettleFlagField {
24536
24537    pub fn new(val: String) -> Self { Self(val) }
24538    pub fn value(&self) -> &str { &self.0 }
24539
24540    pub fn tag() -> Tag { tag::OPEN_CLOSE_SETTLE_FLAG }
24541}
24542
24543impl FieldValueReader for OpenCloseSettleFlagField {
24544    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24545        self.0.read(raw)
24546    }
24547}
24548
24549impl FieldValueWriter for OpenCloseSettleFlagField {
24550    fn write_to(&self, buf: &mut Vec<u8>) {
24551        self.0.write_to(buf);
24552    }
24553}
24554
24555impl FieldValue for OpenCloseSettleFlagField {}
24556
24557
24558/// `OpenInterestField` is a `AMT` field, Tag 746.
24559pub struct OpenInterestField(pub FIXDecimal);
24560
24561impl OpenInterestField {
24562
24563    pub fn new(val: Decimal, scale: i32) -> Self {
24564        Self(FIXDecimal { decimal: val, scale })
24565    }
24566    pub fn value(&self) -> Decimal { self.0.decimal }
24567
24568    pub fn tag() -> Tag { tag::OPEN_INTEREST }
24569}
24570
24571impl FieldValueReader for OpenInterestField {
24572    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24573        self.0.read(raw)
24574    }
24575}
24576
24577impl FieldValueWriter for OpenInterestField {
24578    fn write_to(&self, buf: &mut Vec<u8>) {
24579        self.0.write_to(buf);
24580    }
24581}
24582
24583impl FieldValue for OpenInterestField {}
24584
24585
24586/// `OptAttributeField` is a `CHAR` field, Tag 206.
24587pub struct OptAttributeField(pub FIXString);
24588
24589impl OptAttributeField {
24590
24591    pub fn new(val: String) -> Self { Self(val) }
24592    pub fn value(&self) -> &str { &self.0 }
24593
24594    pub fn tag() -> Tag { tag::OPT_ATTRIBUTE }
24595}
24596
24597impl FieldValueReader for OptAttributeField {
24598    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24599        self.0.read(raw)
24600    }
24601}
24602
24603impl FieldValueWriter for OptAttributeField {
24604    fn write_to(&self, buf: &mut Vec<u8>) {
24605        self.0.write_to(buf);
24606    }
24607}
24608
24609impl FieldValue for OptAttributeField {}
24610
24611
24612/// `OptPayAmountField` is a `AMT` field, Tag 1195.
24613pub struct OptPayAmountField(pub FIXDecimal);
24614
24615impl OptPayAmountField {
24616
24617    pub fn new(val: Decimal, scale: i32) -> Self {
24618        Self(FIXDecimal { decimal: val, scale })
24619    }
24620    pub fn value(&self) -> Decimal { self.0.decimal }
24621
24622    pub fn tag() -> Tag { tag::OPT_PAY_AMOUNT }
24623}
24624
24625impl FieldValueReader for OptPayAmountField {
24626    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24627        self.0.read(raw)
24628    }
24629}
24630
24631impl FieldValueWriter for OptPayAmountField {
24632    fn write_to(&self, buf: &mut Vec<u8>) {
24633        self.0.write_to(buf);
24634    }
24635}
24636
24637impl FieldValue for OptPayAmountField {}
24638
24639
24640/// `OptPayoutAmountField` is a `AMT` field, Tag 1195.
24641pub struct OptPayoutAmountField(pub FIXDecimal);
24642
24643impl OptPayoutAmountField {
24644
24645    pub fn new(val: Decimal, scale: i32) -> Self {
24646        Self(FIXDecimal { decimal: val, scale })
24647    }
24648    pub fn value(&self) -> Decimal { self.0.decimal }
24649
24650    pub fn tag() -> Tag { tag::OPT_PAYOUT_AMOUNT }
24651}
24652
24653impl FieldValueReader for OptPayoutAmountField {
24654    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24655        self.0.read(raw)
24656    }
24657}
24658
24659impl FieldValueWriter for OptPayoutAmountField {
24660    fn write_to(&self, buf: &mut Vec<u8>) {
24661        self.0.write_to(buf);
24662    }
24663}
24664
24665impl FieldValue for OptPayoutAmountField {}
24666
24667
24668/// `OptPayoutTypeField` is a `INT` field, Tag 1482.
24669pub struct OptPayoutTypeField(pub FIXInt);
24670
24671impl OptPayoutTypeField {
24672
24673    pub fn new(val: isize) -> Self { Self(val) }
24674    pub fn value(&self) -> isize { self.0 }
24675
24676    pub fn tag() -> Tag { tag::OPT_PAYOUT_TYPE }
24677}
24678
24679impl FieldValueReader for OptPayoutTypeField {
24680    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24681        self.0.read(raw)
24682    }
24683}
24684
24685impl FieldValueWriter for OptPayoutTypeField {
24686    fn write_to(&self, buf: &mut Vec<u8>) {
24687        self.0.write_to(buf);
24688    }
24689}
24690
24691impl FieldValue for OptPayoutTypeField {}
24692
24693
24694/// `OrdRejReasonField` is a `INT` field, Tag 103.
24695pub struct OrdRejReasonField(pub FIXInt);
24696
24697impl OrdRejReasonField {
24698
24699    pub fn new(val: isize) -> Self { Self(val) }
24700    pub fn value(&self) -> isize { self.0 }
24701
24702    pub fn tag() -> Tag { tag::ORD_REJ_REASON }
24703}
24704
24705impl FieldValueReader for OrdRejReasonField {
24706    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24707        self.0.read(raw)
24708    }
24709}
24710
24711impl FieldValueWriter for OrdRejReasonField {
24712    fn write_to(&self, buf: &mut Vec<u8>) {
24713        self.0.write_to(buf);
24714    }
24715}
24716
24717impl FieldValue for OrdRejReasonField {}
24718
24719
24720/// `OrdStatusField` is a `CHAR` field, Tag 39.
24721pub struct OrdStatusField(pub FIXString);
24722
24723impl OrdStatusField {
24724
24725    pub fn new(val: String) -> Self { Self(val) }
24726    pub fn value(&self) -> &str { &self.0 }
24727
24728    pub fn tag() -> Tag { tag::ORD_STATUS }
24729}
24730
24731impl FieldValueReader for OrdStatusField {
24732    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24733        self.0.read(raw)
24734    }
24735}
24736
24737impl FieldValueWriter for OrdStatusField {
24738    fn write_to(&self, buf: &mut Vec<u8>) {
24739        self.0.write_to(buf);
24740    }
24741}
24742
24743impl FieldValue for OrdStatusField {}
24744
24745
24746/// `OrdStatusReqIDField` is a `STRING` field, Tag 790.
24747pub struct OrdStatusReqIDField(pub FIXString);
24748
24749impl OrdStatusReqIDField {
24750
24751    pub fn new(val: String) -> Self { Self(val) }
24752    pub fn value(&self) -> &str { &self.0 }
24753
24754    pub fn tag() -> Tag { tag::ORD_STATUS_REQ_ID }
24755}
24756
24757impl FieldValueReader for OrdStatusReqIDField {
24758    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24759        self.0.read(raw)
24760    }
24761}
24762
24763impl FieldValueWriter for OrdStatusReqIDField {
24764    fn write_to(&self, buf: &mut Vec<u8>) {
24765        self.0.write_to(buf);
24766    }
24767}
24768
24769impl FieldValue for OrdStatusReqIDField {}
24770
24771
24772/// `OrdTypeField` is a `CHAR` field, Tag 40.
24773pub struct OrdTypeField(pub FIXString);
24774
24775impl OrdTypeField {
24776
24777    pub fn new(val: String) -> Self { Self(val) }
24778    pub fn value(&self) -> &str { &self.0 }
24779
24780    pub fn tag() -> Tag { tag::ORD_TYPE }
24781}
24782
24783impl FieldValueReader for OrdTypeField {
24784    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24785        self.0.read(raw)
24786    }
24787}
24788
24789impl FieldValueWriter for OrdTypeField {
24790    fn write_to(&self, buf: &mut Vec<u8>) {
24791        self.0.write_to(buf);
24792    }
24793}
24794
24795impl FieldValue for OrdTypeField {}
24796
24797
24798/// `OrderAvgPxField` is a `PRICE` field, Tag 799.
24799pub struct OrderAvgPxField(pub FIXDecimal);
24800
24801impl OrderAvgPxField {
24802
24803    pub fn new(val: Decimal, scale: i32) -> Self {
24804        Self(FIXDecimal { decimal: val, scale })
24805    }
24806    pub fn value(&self) -> Decimal { self.0.decimal }
24807
24808    pub fn tag() -> Tag { tag::ORDER_AVG_PX }
24809}
24810
24811impl FieldValueReader for OrderAvgPxField {
24812    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24813        self.0.read(raw)
24814    }
24815}
24816
24817impl FieldValueWriter for OrderAvgPxField {
24818    fn write_to(&self, buf: &mut Vec<u8>) {
24819        self.0.write_to(buf);
24820    }
24821}
24822
24823impl FieldValue for OrderAvgPxField {}
24824
24825
24826/// `OrderBookingQtyField` is a `QTY` field, Tag 800.
24827pub struct OrderBookingQtyField(pub FIXDecimal);
24828
24829impl OrderBookingQtyField {
24830
24831    pub fn new(val: Decimal, scale: i32) -> Self {
24832        Self(FIXDecimal { decimal: val, scale })
24833    }
24834    pub fn value(&self) -> Decimal { self.0.decimal }
24835
24836    pub fn tag() -> Tag { tag::ORDER_BOOKING_QTY }
24837}
24838
24839impl FieldValueReader for OrderBookingQtyField {
24840    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24841        self.0.read(raw)
24842    }
24843}
24844
24845impl FieldValueWriter for OrderBookingQtyField {
24846    fn write_to(&self, buf: &mut Vec<u8>) {
24847        self.0.write_to(buf);
24848    }
24849}
24850
24851impl FieldValue for OrderBookingQtyField {}
24852
24853
24854/// `OrderCapacityField` is a `CHAR` field, Tag 528.
24855pub struct OrderCapacityField(pub FIXString);
24856
24857impl OrderCapacityField {
24858
24859    pub fn new(val: String) -> Self { Self(val) }
24860    pub fn value(&self) -> &str { &self.0 }
24861
24862    pub fn tag() -> Tag { tag::ORDER_CAPACITY }
24863}
24864
24865impl FieldValueReader for OrderCapacityField {
24866    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24867        self.0.read(raw)
24868    }
24869}
24870
24871impl FieldValueWriter for OrderCapacityField {
24872    fn write_to(&self, buf: &mut Vec<u8>) {
24873        self.0.write_to(buf);
24874    }
24875}
24876
24877impl FieldValue for OrderCapacityField {}
24878
24879
24880/// `OrderCapacityQtyField` is a `QTY` field, Tag 863.
24881pub struct OrderCapacityQtyField(pub FIXDecimal);
24882
24883impl OrderCapacityQtyField {
24884
24885    pub fn new(val: Decimal, scale: i32) -> Self {
24886        Self(FIXDecimal { decimal: val, scale })
24887    }
24888    pub fn value(&self) -> Decimal { self.0.decimal }
24889
24890    pub fn tag() -> Tag { tag::ORDER_CAPACITY_QTY }
24891}
24892
24893impl FieldValueReader for OrderCapacityQtyField {
24894    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24895        self.0.read(raw)
24896    }
24897}
24898
24899impl FieldValueWriter for OrderCapacityQtyField {
24900    fn write_to(&self, buf: &mut Vec<u8>) {
24901        self.0.write_to(buf);
24902    }
24903}
24904
24905impl FieldValue for OrderCapacityQtyField {}
24906
24907
24908/// `OrderCategoryField` is a `CHAR` field, Tag 1115.
24909pub struct OrderCategoryField(pub FIXString);
24910
24911impl OrderCategoryField {
24912
24913    pub fn new(val: String) -> Self { Self(val) }
24914    pub fn value(&self) -> &str { &self.0 }
24915
24916    pub fn tag() -> Tag { tag::ORDER_CATEGORY }
24917}
24918
24919impl FieldValueReader for OrderCategoryField {
24920    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24921        self.0.read(raw)
24922    }
24923}
24924
24925impl FieldValueWriter for OrderCategoryField {
24926    fn write_to(&self, buf: &mut Vec<u8>) {
24927        self.0.write_to(buf);
24928    }
24929}
24930
24931impl FieldValue for OrderCategoryField {}
24932
24933
24934/// `OrderDelayField` is a `INT` field, Tag 1428.
24935pub struct OrderDelayField(pub FIXInt);
24936
24937impl OrderDelayField {
24938
24939    pub fn new(val: isize) -> Self { Self(val) }
24940    pub fn value(&self) -> isize { self.0 }
24941
24942    pub fn tag() -> Tag { tag::ORDER_DELAY }
24943}
24944
24945impl FieldValueReader for OrderDelayField {
24946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24947        self.0.read(raw)
24948    }
24949}
24950
24951impl FieldValueWriter for OrderDelayField {
24952    fn write_to(&self, buf: &mut Vec<u8>) {
24953        self.0.write_to(buf);
24954    }
24955}
24956
24957impl FieldValue for OrderDelayField {}
24958
24959
24960/// `OrderDelayUnitField` is a `INT` field, Tag 1429.
24961pub struct OrderDelayUnitField(pub FIXInt);
24962
24963impl OrderDelayUnitField {
24964
24965    pub fn new(val: isize) -> Self { Self(val) }
24966    pub fn value(&self) -> isize { self.0 }
24967
24968    pub fn tag() -> Tag { tag::ORDER_DELAY_UNIT }
24969}
24970
24971impl FieldValueReader for OrderDelayUnitField {
24972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24973        self.0.read(raw)
24974    }
24975}
24976
24977impl FieldValueWriter for OrderDelayUnitField {
24978    fn write_to(&self, buf: &mut Vec<u8>) {
24979        self.0.write_to(buf);
24980    }
24981}
24982
24983impl FieldValue for OrderDelayUnitField {}
24984
24985
24986/// `OrderHandlingInstSourceField` is a `INT` field, Tag 1032.
24987pub struct OrderHandlingInstSourceField(pub FIXInt);
24988
24989impl OrderHandlingInstSourceField {
24990
24991    pub fn new(val: isize) -> Self { Self(val) }
24992    pub fn value(&self) -> isize { self.0 }
24993
24994    pub fn tag() -> Tag { tag::ORDER_HANDLING_INST_SOURCE }
24995}
24996
24997impl FieldValueReader for OrderHandlingInstSourceField {
24998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
24999        self.0.read(raw)
25000    }
25001}
25002
25003impl FieldValueWriter for OrderHandlingInstSourceField {
25004    fn write_to(&self, buf: &mut Vec<u8>) {
25005        self.0.write_to(buf);
25006    }
25007}
25008
25009impl FieldValue for OrderHandlingInstSourceField {}
25010
25011
25012/// `OrderIDField` is a `STRING` field, Tag 37.
25013pub struct OrderIDField(pub FIXString);
25014
25015impl OrderIDField {
25016
25017    pub fn new(val: String) -> Self { Self(val) }
25018    pub fn value(&self) -> &str { &self.0 }
25019
25020    pub fn tag() -> Tag { tag::ORDER_ID }
25021}
25022
25023impl FieldValueReader for OrderIDField {
25024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25025        self.0.read(raw)
25026    }
25027}
25028
25029impl FieldValueWriter for OrderIDField {
25030    fn write_to(&self, buf: &mut Vec<u8>) {
25031        self.0.write_to(buf);
25032    }
25033}
25034
25035impl FieldValue for OrderIDField {}
25036
25037
25038/// `OrderInputDeviceField` is a `STRING` field, Tag 821.
25039pub struct OrderInputDeviceField(pub FIXString);
25040
25041impl OrderInputDeviceField {
25042
25043    pub fn new(val: String) -> Self { Self(val) }
25044    pub fn value(&self) -> &str { &self.0 }
25045
25046    pub fn tag() -> Tag { tag::ORDER_INPUT_DEVICE }
25047}
25048
25049impl FieldValueReader for OrderInputDeviceField {
25050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25051        self.0.read(raw)
25052    }
25053}
25054
25055impl FieldValueWriter for OrderInputDeviceField {
25056    fn write_to(&self, buf: &mut Vec<u8>) {
25057        self.0.write_to(buf);
25058    }
25059}
25060
25061impl FieldValue for OrderInputDeviceField {}
25062
25063
25064/// `OrderPercentField` is a `PERCENTAGE` field, Tag 516.
25065pub struct OrderPercentField(pub FIXDecimal);
25066
25067impl OrderPercentField {
25068
25069    pub fn new(val: Decimal, scale: i32) -> Self {
25070        Self(FIXDecimal { decimal: val, scale })
25071    }
25072    pub fn value(&self) -> Decimal { self.0.decimal }
25073
25074    pub fn tag() -> Tag { tag::ORDER_PERCENT }
25075}
25076
25077impl FieldValueReader for OrderPercentField {
25078    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25079        self.0.read(raw)
25080    }
25081}
25082
25083impl FieldValueWriter for OrderPercentField {
25084    fn write_to(&self, buf: &mut Vec<u8>) {
25085        self.0.write_to(buf);
25086    }
25087}
25088
25089impl FieldValue for OrderPercentField {}
25090
25091
25092/// `OrderQtyField` is a `QTY` field, Tag 38.
25093pub struct OrderQtyField(pub FIXDecimal);
25094
25095impl OrderQtyField {
25096
25097    pub fn new(val: Decimal, scale: i32) -> Self {
25098        Self(FIXDecimal { decimal: val, scale })
25099    }
25100    pub fn value(&self) -> Decimal { self.0.decimal }
25101
25102    pub fn tag() -> Tag { tag::ORDER_QTY }
25103}
25104
25105impl FieldValueReader for OrderQtyField {
25106    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25107        self.0.read(raw)
25108    }
25109}
25110
25111impl FieldValueWriter for OrderQtyField {
25112    fn write_to(&self, buf: &mut Vec<u8>) {
25113        self.0.write_to(buf);
25114    }
25115}
25116
25117impl FieldValue for OrderQtyField {}
25118
25119
25120/// `OrderQty2Field` is a `QTY` field, Tag 192.
25121pub struct OrderQty2Field(pub FIXDecimal);
25122
25123impl OrderQty2Field {
25124
25125    pub fn new(val: Decimal, scale: i32) -> Self {
25126        Self(FIXDecimal { decimal: val, scale })
25127    }
25128    pub fn value(&self) -> Decimal { self.0.decimal }
25129
25130    pub fn tag() -> Tag { tag::ORDER_QTY2 }
25131}
25132
25133impl FieldValueReader for OrderQty2Field {
25134    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25135        self.0.read(raw)
25136    }
25137}
25138
25139impl FieldValueWriter for OrderQty2Field {
25140    fn write_to(&self, buf: &mut Vec<u8>) {
25141        self.0.write_to(buf);
25142    }
25143}
25144
25145impl FieldValue for OrderQty2Field {}
25146
25147
25148/// `OrderRestrictionsField` is a `MULTIPLECHARVALUE` field, Tag 529.
25149pub struct OrderRestrictionsField(pub FIXString);
25150
25151impl OrderRestrictionsField {
25152
25153    pub fn new(val: String) -> Self { Self(val) }
25154    pub fn value(&self) -> &str { &self.0 }
25155
25156    pub fn tag() -> Tag { tag::ORDER_RESTRICTIONS }
25157}
25158
25159impl FieldValueReader for OrderRestrictionsField {
25160    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25161        self.0.read(raw)
25162    }
25163}
25164
25165impl FieldValueWriter for OrderRestrictionsField {
25166    fn write_to(&self, buf: &mut Vec<u8>) {
25167        self.0.write_to(buf);
25168    }
25169}
25170
25171impl FieldValue for OrderRestrictionsField {}
25172
25173
25174/// `OrigClOrdIDField` is a `STRING` field, Tag 41.
25175pub struct OrigClOrdIDField(pub FIXString);
25176
25177impl OrigClOrdIDField {
25178
25179    pub fn new(val: String) -> Self { Self(val) }
25180    pub fn value(&self) -> &str { &self.0 }
25181
25182    pub fn tag() -> Tag { tag::ORIG_CL_ORD_ID }
25183}
25184
25185impl FieldValueReader for OrigClOrdIDField {
25186    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25187        self.0.read(raw)
25188    }
25189}
25190
25191impl FieldValueWriter for OrigClOrdIDField {
25192    fn write_to(&self, buf: &mut Vec<u8>) {
25193        self.0.write_to(buf);
25194    }
25195}
25196
25197impl FieldValue for OrigClOrdIDField {}
25198
25199
25200/// `OrigCrossIDField` is a `STRING` field, Tag 551.
25201pub struct OrigCrossIDField(pub FIXString);
25202
25203impl OrigCrossIDField {
25204
25205    pub fn new(val: String) -> Self { Self(val) }
25206    pub fn value(&self) -> &str { &self.0 }
25207
25208    pub fn tag() -> Tag { tag::ORIG_CROSS_ID }
25209}
25210
25211impl FieldValueReader for OrigCrossIDField {
25212    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25213        self.0.read(raw)
25214    }
25215}
25216
25217impl FieldValueWriter for OrigCrossIDField {
25218    fn write_to(&self, buf: &mut Vec<u8>) {
25219        self.0.write_to(buf);
25220    }
25221}
25222
25223impl FieldValue for OrigCrossIDField {}
25224
25225
25226/// `OrigCustOrderCapacityField` is a `INT` field, Tag 1432.
25227pub struct OrigCustOrderCapacityField(pub FIXInt);
25228
25229impl OrigCustOrderCapacityField {
25230
25231    pub fn new(val: isize) -> Self { Self(val) }
25232    pub fn value(&self) -> isize { self.0 }
25233
25234    pub fn tag() -> Tag { tag::ORIG_CUST_ORDER_CAPACITY }
25235}
25236
25237impl FieldValueReader for OrigCustOrderCapacityField {
25238    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25239        self.0.read(raw)
25240    }
25241}
25242
25243impl FieldValueWriter for OrigCustOrderCapacityField {
25244    fn write_to(&self, buf: &mut Vec<u8>) {
25245        self.0.write_to(buf);
25246    }
25247}
25248
25249impl FieldValue for OrigCustOrderCapacityField {}
25250
25251
25252/// `OrigOrdModTimeField` is a `UTCTIMESTAMP` field, Tag 586.
25253pub struct OrigOrdModTimeField(pub FIXUTCTimestamp);
25254
25255impl OrigOrdModTimeField {
25256
25257    pub fn new(val: Timestamp) -> Self {
25258        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
25259    }
25260    pub fn value(&self) -> Timestamp { self.0.time }
25261
25262    pub fn tag() -> Tag { tag::ORIG_ORD_MOD_TIME }
25263}
25264
25265impl FieldValueReader for OrigOrdModTimeField {
25266    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25267        self.0.read(raw)
25268    }
25269}
25270
25271impl FieldValueWriter for OrigOrdModTimeField {
25272    fn write_to(&self, buf: &mut Vec<u8>) {
25273        self.0.write_to(buf);
25274    }
25275}
25276
25277impl FieldValue for OrigOrdModTimeField {}
25278
25279
25280/// `OrigPosReqRefIDField` is a `STRING` field, Tag 713.
25281pub struct OrigPosReqRefIDField(pub FIXString);
25282
25283impl OrigPosReqRefIDField {
25284
25285    pub fn new(val: String) -> Self { Self(val) }
25286    pub fn value(&self) -> &str { &self.0 }
25287
25288    pub fn tag() -> Tag { tag::ORIG_POS_REQ_REF_ID }
25289}
25290
25291impl FieldValueReader for OrigPosReqRefIDField {
25292    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25293        self.0.read(raw)
25294    }
25295}
25296
25297impl FieldValueWriter for OrigPosReqRefIDField {
25298    fn write_to(&self, buf: &mut Vec<u8>) {
25299        self.0.write_to(buf);
25300    }
25301}
25302
25303impl FieldValue for OrigPosReqRefIDField {}
25304
25305
25306/// `OrigSecondaryTradeIDField` is a `STRING` field, Tag 1127.
25307pub struct OrigSecondaryTradeIDField(pub FIXString);
25308
25309impl OrigSecondaryTradeIDField {
25310
25311    pub fn new(val: String) -> Self { Self(val) }
25312    pub fn value(&self) -> &str { &self.0 }
25313
25314    pub fn tag() -> Tag { tag::ORIG_SECONDARY_TRADE_ID }
25315}
25316
25317impl FieldValueReader for OrigSecondaryTradeIDField {
25318    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25319        self.0.read(raw)
25320    }
25321}
25322
25323impl FieldValueWriter for OrigSecondaryTradeIDField {
25324    fn write_to(&self, buf: &mut Vec<u8>) {
25325        self.0.write_to(buf);
25326    }
25327}
25328
25329impl FieldValue for OrigSecondaryTradeIDField {}
25330
25331
25332/// `OrigSendingTimeField` is a `UTCTIMESTAMP` field, Tag 122.
25333pub struct OrigSendingTimeField(pub FIXUTCTimestamp);
25334
25335impl OrigSendingTimeField {
25336
25337    pub fn new(val: Timestamp) -> Self {
25338        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
25339    }
25340    pub fn value(&self) -> Timestamp { self.0.time }
25341
25342    pub fn tag() -> Tag { tag::ORIG_SENDING_TIME }
25343}
25344
25345impl FieldValueReader for OrigSendingTimeField {
25346    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25347        self.0.read(raw)
25348    }
25349}
25350
25351impl FieldValueWriter for OrigSendingTimeField {
25352    fn write_to(&self, buf: &mut Vec<u8>) {
25353        self.0.write_to(buf);
25354    }
25355}
25356
25357impl FieldValue for OrigSendingTimeField {}
25358
25359
25360/// `OrigTimeField` is a `UTCTIMESTAMP` field, Tag 42.
25361pub struct OrigTimeField(pub FIXUTCTimestamp);
25362
25363impl OrigTimeField {
25364
25365    pub fn new(val: Timestamp) -> Self {
25366        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
25367    }
25368    pub fn value(&self) -> Timestamp { self.0.time }
25369
25370    pub fn tag() -> Tag { tag::ORIG_TIME }
25371}
25372
25373impl FieldValueReader for OrigTimeField {
25374    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25375        self.0.read(raw)
25376    }
25377}
25378
25379impl FieldValueWriter for OrigTimeField {
25380    fn write_to(&self, buf: &mut Vec<u8>) {
25381        self.0.write_to(buf);
25382    }
25383}
25384
25385impl FieldValue for OrigTimeField {}
25386
25387
25388/// `OrigTradeDateField` is a `LOCALMKTDATE` field, Tag 1125.
25389pub struct OrigTradeDateField(pub FIXString);
25390
25391impl OrigTradeDateField {
25392
25393    pub fn new(val: String) -> Self { Self(val) }
25394    pub fn value(&self) -> &str { &self.0 }
25395
25396    pub fn tag() -> Tag { tag::ORIG_TRADE_DATE }
25397}
25398
25399impl FieldValueReader for OrigTradeDateField {
25400    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25401        self.0.read(raw)
25402    }
25403}
25404
25405impl FieldValueWriter for OrigTradeDateField {
25406    fn write_to(&self, buf: &mut Vec<u8>) {
25407        self.0.write_to(buf);
25408    }
25409}
25410
25411impl FieldValue for OrigTradeDateField {}
25412
25413
25414/// `OrigTradeHandlingInstrField` is a `CHAR` field, Tag 1124.
25415pub struct OrigTradeHandlingInstrField(pub FIXString);
25416
25417impl OrigTradeHandlingInstrField {
25418
25419    pub fn new(val: String) -> Self { Self(val) }
25420    pub fn value(&self) -> &str { &self.0 }
25421
25422    pub fn tag() -> Tag { tag::ORIG_TRADE_HANDLING_INSTR }
25423}
25424
25425impl FieldValueReader for OrigTradeHandlingInstrField {
25426    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25427        self.0.read(raw)
25428    }
25429}
25430
25431impl FieldValueWriter for OrigTradeHandlingInstrField {
25432    fn write_to(&self, buf: &mut Vec<u8>) {
25433        self.0.write_to(buf);
25434    }
25435}
25436
25437impl FieldValue for OrigTradeHandlingInstrField {}
25438
25439
25440/// `OrigTradeIDField` is a `STRING` field, Tag 1126.
25441pub struct OrigTradeIDField(pub FIXString);
25442
25443impl OrigTradeIDField {
25444
25445    pub fn new(val: String) -> Self { Self(val) }
25446    pub fn value(&self) -> &str { &self.0 }
25447
25448    pub fn tag() -> Tag { tag::ORIG_TRADE_ID }
25449}
25450
25451impl FieldValueReader for OrigTradeIDField {
25452    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25453        self.0.read(raw)
25454    }
25455}
25456
25457impl FieldValueWriter for OrigTradeIDField {
25458    fn write_to(&self, buf: &mut Vec<u8>) {
25459        self.0.write_to(buf);
25460    }
25461}
25462
25463impl FieldValue for OrigTradeIDField {}
25464
25465
25466/// `OriginalNotionalPercentageOutstandingField` is a `PERCENTAGE` field, Tag 1452.
25467pub struct OriginalNotionalPercentageOutstandingField(pub FIXDecimal);
25468
25469impl OriginalNotionalPercentageOutstandingField {
25470
25471    pub fn new(val: Decimal, scale: i32) -> Self {
25472        Self(FIXDecimal { decimal: val, scale })
25473    }
25474    pub fn value(&self) -> Decimal { self.0.decimal }
25475
25476    pub fn tag() -> Tag { tag::ORIGINAL_NOTIONAL_PERCENTAGE_OUTSTANDING }
25477}
25478
25479impl FieldValueReader for OriginalNotionalPercentageOutstandingField {
25480    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25481        self.0.read(raw)
25482    }
25483}
25484
25485impl FieldValueWriter for OriginalNotionalPercentageOutstandingField {
25486    fn write_to(&self, buf: &mut Vec<u8>) {
25487        self.0.write_to(buf);
25488    }
25489}
25490
25491impl FieldValue for OriginalNotionalPercentageOutstandingField {}
25492
25493
25494/// `OutMainCntryUIndexField` is a `AMT` field, Tag 412.
25495pub struct OutMainCntryUIndexField(pub FIXDecimal);
25496
25497impl OutMainCntryUIndexField {
25498
25499    pub fn new(val: Decimal, scale: i32) -> Self {
25500        Self(FIXDecimal { decimal: val, scale })
25501    }
25502    pub fn value(&self) -> Decimal { self.0.decimal }
25503
25504    pub fn tag() -> Tag { tag::OUT_MAIN_CNTRY_U_INDEX }
25505}
25506
25507impl FieldValueReader for OutMainCntryUIndexField {
25508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25509        self.0.read(raw)
25510    }
25511}
25512
25513impl FieldValueWriter for OutMainCntryUIndexField {
25514    fn write_to(&self, buf: &mut Vec<u8>) {
25515        self.0.write_to(buf);
25516    }
25517}
25518
25519impl FieldValue for OutMainCntryUIndexField {}
25520
25521
25522/// `OutsideIndexPctField` is a `PERCENTAGE` field, Tag 407.
25523pub struct OutsideIndexPctField(pub FIXDecimal);
25524
25525impl OutsideIndexPctField {
25526
25527    pub fn new(val: Decimal, scale: i32) -> Self {
25528        Self(FIXDecimal { decimal: val, scale })
25529    }
25530    pub fn value(&self) -> Decimal { self.0.decimal }
25531
25532    pub fn tag() -> Tag { tag::OUTSIDE_INDEX_PCT }
25533}
25534
25535impl FieldValueReader for OutsideIndexPctField {
25536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25537        self.0.read(raw)
25538    }
25539}
25540
25541impl FieldValueWriter for OutsideIndexPctField {
25542    fn write_to(&self, buf: &mut Vec<u8>) {
25543        self.0.write_to(buf);
25544    }
25545}
25546
25547impl FieldValue for OutsideIndexPctField {}
25548
25549
25550/// `OwnerTypeField` is a `INT` field, Tag 522.
25551pub struct OwnerTypeField(pub FIXInt);
25552
25553impl OwnerTypeField {
25554
25555    pub fn new(val: isize) -> Self { Self(val) }
25556    pub fn value(&self) -> isize { self.0 }
25557
25558    pub fn tag() -> Tag { tag::OWNER_TYPE }
25559}
25560
25561impl FieldValueReader for OwnerTypeField {
25562    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25563        self.0.read(raw)
25564    }
25565}
25566
25567impl FieldValueWriter for OwnerTypeField {
25568    fn write_to(&self, buf: &mut Vec<u8>) {
25569        self.0.write_to(buf);
25570    }
25571}
25572
25573impl FieldValue for OwnerTypeField {}
25574
25575
25576/// `OwnershipTypeField` is a `CHAR` field, Tag 517.
25577pub struct OwnershipTypeField(pub FIXString);
25578
25579impl OwnershipTypeField {
25580
25581    pub fn new(val: String) -> Self { Self(val) }
25582    pub fn value(&self) -> &str { &self.0 }
25583
25584    pub fn tag() -> Tag { tag::OWNERSHIP_TYPE }
25585}
25586
25587impl FieldValueReader for OwnershipTypeField {
25588    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25589        self.0.read(raw)
25590    }
25591}
25592
25593impl FieldValueWriter for OwnershipTypeField {
25594    fn write_to(&self, buf: &mut Vec<u8>) {
25595        self.0.write_to(buf);
25596    }
25597}
25598
25599impl FieldValue for OwnershipTypeField {}
25600
25601
25602/// `ParentMktSegmIDField` is a `STRING` field, Tag 1325.
25603pub struct ParentMktSegmIDField(pub FIXString);
25604
25605impl ParentMktSegmIDField {
25606
25607    pub fn new(val: String) -> Self { Self(val) }
25608    pub fn value(&self) -> &str { &self.0 }
25609
25610    pub fn tag() -> Tag { tag::PARENT_MKT_SEGM_ID }
25611}
25612
25613impl FieldValueReader for ParentMktSegmIDField {
25614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25615        self.0.read(raw)
25616    }
25617}
25618
25619impl FieldValueWriter for ParentMktSegmIDField {
25620    fn write_to(&self, buf: &mut Vec<u8>) {
25621        self.0.write_to(buf);
25622    }
25623}
25624
25625impl FieldValue for ParentMktSegmIDField {}
25626
25627
25628/// `ParticipationRateField` is a `PERCENTAGE` field, Tag 849.
25629pub struct ParticipationRateField(pub FIXDecimal);
25630
25631impl ParticipationRateField {
25632
25633    pub fn new(val: Decimal, scale: i32) -> Self {
25634        Self(FIXDecimal { decimal: val, scale })
25635    }
25636    pub fn value(&self) -> Decimal { self.0.decimal }
25637
25638    pub fn tag() -> Tag { tag::PARTICIPATION_RATE }
25639}
25640
25641impl FieldValueReader for ParticipationRateField {
25642    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25643        self.0.read(raw)
25644    }
25645}
25646
25647impl FieldValueWriter for ParticipationRateField {
25648    fn write_to(&self, buf: &mut Vec<u8>) {
25649        self.0.write_to(buf);
25650    }
25651}
25652
25653impl FieldValue for ParticipationRateField {}
25654
25655
25656/// `PartyAltIDField` is a `STRING` field, Tag 1517.
25657pub struct PartyAltIDField(pub FIXString);
25658
25659impl PartyAltIDField {
25660
25661    pub fn new(val: String) -> Self { Self(val) }
25662    pub fn value(&self) -> &str { &self.0 }
25663
25664    pub fn tag() -> Tag { tag::PARTY_ALT_ID }
25665}
25666
25667impl FieldValueReader for PartyAltIDField {
25668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25669        self.0.read(raw)
25670    }
25671}
25672
25673impl FieldValueWriter for PartyAltIDField {
25674    fn write_to(&self, buf: &mut Vec<u8>) {
25675        self.0.write_to(buf);
25676    }
25677}
25678
25679impl FieldValue for PartyAltIDField {}
25680
25681
25682/// `PartyAltIDSourceField` is a `CHAR` field, Tag 1518.
25683pub struct PartyAltIDSourceField(pub FIXString);
25684
25685impl PartyAltIDSourceField {
25686
25687    pub fn new(val: String) -> Self { Self(val) }
25688    pub fn value(&self) -> &str { &self.0 }
25689
25690    pub fn tag() -> Tag { tag::PARTY_ALT_ID_SOURCE }
25691}
25692
25693impl FieldValueReader for PartyAltIDSourceField {
25694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25695        self.0.read(raw)
25696    }
25697}
25698
25699impl FieldValueWriter for PartyAltIDSourceField {
25700    fn write_to(&self, buf: &mut Vec<u8>) {
25701        self.0.write_to(buf);
25702    }
25703}
25704
25705impl FieldValue for PartyAltIDSourceField {}
25706
25707
25708/// `PartyAltSubIDField` is a `STRING` field, Tag 1520.
25709pub struct PartyAltSubIDField(pub FIXString);
25710
25711impl PartyAltSubIDField {
25712
25713    pub fn new(val: String) -> Self { Self(val) }
25714    pub fn value(&self) -> &str { &self.0 }
25715
25716    pub fn tag() -> Tag { tag::PARTY_ALT_SUB_ID }
25717}
25718
25719impl FieldValueReader for PartyAltSubIDField {
25720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25721        self.0.read(raw)
25722    }
25723}
25724
25725impl FieldValueWriter for PartyAltSubIDField {
25726    fn write_to(&self, buf: &mut Vec<u8>) {
25727        self.0.write_to(buf);
25728    }
25729}
25730
25731impl FieldValue for PartyAltSubIDField {}
25732
25733
25734/// `PartyAltSubIDTypeField` is a `INT` field, Tag 1521.
25735pub struct PartyAltSubIDTypeField(pub FIXInt);
25736
25737impl PartyAltSubIDTypeField {
25738
25739    pub fn new(val: isize) -> Self { Self(val) }
25740    pub fn value(&self) -> isize { self.0 }
25741
25742    pub fn tag() -> Tag { tag::PARTY_ALT_SUB_ID_TYPE }
25743}
25744
25745impl FieldValueReader for PartyAltSubIDTypeField {
25746    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25747        self.0.read(raw)
25748    }
25749}
25750
25751impl FieldValueWriter for PartyAltSubIDTypeField {
25752    fn write_to(&self, buf: &mut Vec<u8>) {
25753        self.0.write_to(buf);
25754    }
25755}
25756
25757impl FieldValue for PartyAltSubIDTypeField {}
25758
25759
25760/// `PartyDetailsListReportIDField` is a `STRING` field, Tag 1510.
25761pub struct PartyDetailsListReportIDField(pub FIXString);
25762
25763impl PartyDetailsListReportIDField {
25764
25765    pub fn new(val: String) -> Self { Self(val) }
25766    pub fn value(&self) -> &str { &self.0 }
25767
25768    pub fn tag() -> Tag { tag::PARTY_DETAILS_LIST_REPORT_ID }
25769}
25770
25771impl FieldValueReader for PartyDetailsListReportIDField {
25772    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25773        self.0.read(raw)
25774    }
25775}
25776
25777impl FieldValueWriter for PartyDetailsListReportIDField {
25778    fn write_to(&self, buf: &mut Vec<u8>) {
25779        self.0.write_to(buf);
25780    }
25781}
25782
25783impl FieldValue for PartyDetailsListReportIDField {}
25784
25785
25786/// `PartyDetailsListRequestIDField` is a `STRING` field, Tag 1505.
25787pub struct PartyDetailsListRequestIDField(pub FIXString);
25788
25789impl PartyDetailsListRequestIDField {
25790
25791    pub fn new(val: String) -> Self { Self(val) }
25792    pub fn value(&self) -> &str { &self.0 }
25793
25794    pub fn tag() -> Tag { tag::PARTY_DETAILS_LIST_REQUEST_ID }
25795}
25796
25797impl FieldValueReader for PartyDetailsListRequestIDField {
25798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25799        self.0.read(raw)
25800    }
25801}
25802
25803impl FieldValueWriter for PartyDetailsListRequestIDField {
25804    fn write_to(&self, buf: &mut Vec<u8>) {
25805        self.0.write_to(buf);
25806    }
25807}
25808
25809impl FieldValue for PartyDetailsListRequestIDField {}
25810
25811
25812/// `PartyDetailsRequestResultField` is a `INT` field, Tag 1511.
25813pub struct PartyDetailsRequestResultField(pub FIXInt);
25814
25815impl PartyDetailsRequestResultField {
25816
25817    pub fn new(val: isize) -> Self { Self(val) }
25818    pub fn value(&self) -> isize { self.0 }
25819
25820    pub fn tag() -> Tag { tag::PARTY_DETAILS_REQUEST_RESULT }
25821}
25822
25823impl FieldValueReader for PartyDetailsRequestResultField {
25824    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25825        self.0.read(raw)
25826    }
25827}
25828
25829impl FieldValueWriter for PartyDetailsRequestResultField {
25830    fn write_to(&self, buf: &mut Vec<u8>) {
25831        self.0.write_to(buf);
25832    }
25833}
25834
25835impl FieldValue for PartyDetailsRequestResultField {}
25836
25837
25838/// `PartyIDField` is a `STRING` field, Tag 448.
25839pub struct PartyIDField(pub FIXString);
25840
25841impl PartyIDField {
25842
25843    pub fn new(val: String) -> Self { Self(val) }
25844    pub fn value(&self) -> &str { &self.0 }
25845
25846    pub fn tag() -> Tag { tag::PARTY_ID }
25847}
25848
25849impl FieldValueReader for PartyIDField {
25850    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25851        self.0.read(raw)
25852    }
25853}
25854
25855impl FieldValueWriter for PartyIDField {
25856    fn write_to(&self, buf: &mut Vec<u8>) {
25857        self.0.write_to(buf);
25858    }
25859}
25860
25861impl FieldValue for PartyIDField {}
25862
25863
25864/// `PartyIDSourceField` is a `CHAR` field, Tag 447.
25865pub struct PartyIDSourceField(pub FIXString);
25866
25867impl PartyIDSourceField {
25868
25869    pub fn new(val: String) -> Self { Self(val) }
25870    pub fn value(&self) -> &str { &self.0 }
25871
25872    pub fn tag() -> Tag { tag::PARTY_ID_SOURCE }
25873}
25874
25875impl FieldValueReader for PartyIDSourceField {
25876    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25877        self.0.read(raw)
25878    }
25879}
25880
25881impl FieldValueWriter for PartyIDSourceField {
25882    fn write_to(&self, buf: &mut Vec<u8>) {
25883        self.0.write_to(buf);
25884    }
25885}
25886
25887impl FieldValue for PartyIDSourceField {}
25888
25889
25890/// `PartyListResponseTypeField` is a `INT` field, Tag 1507.
25891pub struct PartyListResponseTypeField(pub FIXInt);
25892
25893impl PartyListResponseTypeField {
25894
25895    pub fn new(val: isize) -> Self { Self(val) }
25896    pub fn value(&self) -> isize { self.0 }
25897
25898    pub fn tag() -> Tag { tag::PARTY_LIST_RESPONSE_TYPE }
25899}
25900
25901impl FieldValueReader for PartyListResponseTypeField {
25902    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25903        self.0.read(raw)
25904    }
25905}
25906
25907impl FieldValueWriter for PartyListResponseTypeField {
25908    fn write_to(&self, buf: &mut Vec<u8>) {
25909        self.0.write_to(buf);
25910    }
25911}
25912
25913impl FieldValue for PartyListResponseTypeField {}
25914
25915
25916/// `PartyRelationshipField` is a `INT` field, Tag 1515.
25917pub struct PartyRelationshipField(pub FIXInt);
25918
25919impl PartyRelationshipField {
25920
25921    pub fn new(val: isize) -> Self { Self(val) }
25922    pub fn value(&self) -> isize { self.0 }
25923
25924    pub fn tag() -> Tag { tag::PARTY_RELATIONSHIP }
25925}
25926
25927impl FieldValueReader for PartyRelationshipField {
25928    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25929        self.0.read(raw)
25930    }
25931}
25932
25933impl FieldValueWriter for PartyRelationshipField {
25934    fn write_to(&self, buf: &mut Vec<u8>) {
25935        self.0.write_to(buf);
25936    }
25937}
25938
25939impl FieldValue for PartyRelationshipField {}
25940
25941
25942/// `PartyRoleField` is a `INT` field, Tag 452.
25943pub struct PartyRoleField(pub FIXInt);
25944
25945impl PartyRoleField {
25946
25947    pub fn new(val: isize) -> Self { Self(val) }
25948    pub fn value(&self) -> isize { self.0 }
25949
25950    pub fn tag() -> Tag { tag::PARTY_ROLE }
25951}
25952
25953impl FieldValueReader for PartyRoleField {
25954    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25955        self.0.read(raw)
25956    }
25957}
25958
25959impl FieldValueWriter for PartyRoleField {
25960    fn write_to(&self, buf: &mut Vec<u8>) {
25961        self.0.write_to(buf);
25962    }
25963}
25964
25965impl FieldValue for PartyRoleField {}
25966
25967
25968/// `PartySubIDField` is a `STRING` field, Tag 523.
25969pub struct PartySubIDField(pub FIXString);
25970
25971impl PartySubIDField {
25972
25973    pub fn new(val: String) -> Self { Self(val) }
25974    pub fn value(&self) -> &str { &self.0 }
25975
25976    pub fn tag() -> Tag { tag::PARTY_SUB_ID }
25977}
25978
25979impl FieldValueReader for PartySubIDField {
25980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
25981        self.0.read(raw)
25982    }
25983}
25984
25985impl FieldValueWriter for PartySubIDField {
25986    fn write_to(&self, buf: &mut Vec<u8>) {
25987        self.0.write_to(buf);
25988    }
25989}
25990
25991impl FieldValue for PartySubIDField {}
25992
25993
25994/// `PartySubIDTypeField` is a `INT` field, Tag 803.
25995pub struct PartySubIDTypeField(pub FIXInt);
25996
25997impl PartySubIDTypeField {
25998
25999    pub fn new(val: isize) -> Self { Self(val) }
26000    pub fn value(&self) -> isize { self.0 }
26001
26002    pub fn tag() -> Tag { tag::PARTY_SUB_ID_TYPE }
26003}
26004
26005impl FieldValueReader for PartySubIDTypeField {
26006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26007        self.0.read(raw)
26008    }
26009}
26010
26011impl FieldValueWriter for PartySubIDTypeField {
26012    fn write_to(&self, buf: &mut Vec<u8>) {
26013        self.0.write_to(buf);
26014    }
26015}
26016
26017impl FieldValue for PartySubIDTypeField {}
26018
26019
26020/// `PasswordField` is a `STRING` field, Tag 554.
26021pub struct PasswordField(pub FIXString);
26022
26023impl PasswordField {
26024
26025    pub fn new(val: String) -> Self { Self(val) }
26026    pub fn value(&self) -> &str { &self.0 }
26027
26028    pub fn tag() -> Tag { tag::PASSWORD }
26029}
26030
26031impl FieldValueReader for PasswordField {
26032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26033        self.0.read(raw)
26034    }
26035}
26036
26037impl FieldValueWriter for PasswordField {
26038    fn write_to(&self, buf: &mut Vec<u8>) {
26039        self.0.write_to(buf);
26040    }
26041}
26042
26043impl FieldValue for PasswordField {}
26044
26045
26046/// `PaymentDateField` is a `LOCALMKTDATE` field, Tag 504.
26047pub struct PaymentDateField(pub FIXString);
26048
26049impl PaymentDateField {
26050
26051    pub fn new(val: String) -> Self { Self(val) }
26052    pub fn value(&self) -> &str { &self.0 }
26053
26054    pub fn tag() -> Tag { tag::PAYMENT_DATE }
26055}
26056
26057impl FieldValueReader for PaymentDateField {
26058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26059        self.0.read(raw)
26060    }
26061}
26062
26063impl FieldValueWriter for PaymentDateField {
26064    fn write_to(&self, buf: &mut Vec<u8>) {
26065        self.0.write_to(buf);
26066    }
26067}
26068
26069impl FieldValue for PaymentDateField {}
26070
26071
26072/// `PaymentMethodField` is a `INT` field, Tag 492.
26073pub struct PaymentMethodField(pub FIXInt);
26074
26075impl PaymentMethodField {
26076
26077    pub fn new(val: isize) -> Self { Self(val) }
26078    pub fn value(&self) -> isize { self.0 }
26079
26080    pub fn tag() -> Tag { tag::PAYMENT_METHOD }
26081}
26082
26083impl FieldValueReader for PaymentMethodField {
26084    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26085        self.0.read(raw)
26086    }
26087}
26088
26089impl FieldValueWriter for PaymentMethodField {
26090    fn write_to(&self, buf: &mut Vec<u8>) {
26091        self.0.write_to(buf);
26092    }
26093}
26094
26095impl FieldValue for PaymentMethodField {}
26096
26097
26098/// `PaymentRefField` is a `STRING` field, Tag 476.
26099pub struct PaymentRefField(pub FIXString);
26100
26101impl PaymentRefField {
26102
26103    pub fn new(val: String) -> Self { Self(val) }
26104    pub fn value(&self) -> &str { &self.0 }
26105
26106    pub fn tag() -> Tag { tag::PAYMENT_REF }
26107}
26108
26109impl FieldValueReader for PaymentRefField {
26110    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26111        self.0.read(raw)
26112    }
26113}
26114
26115impl FieldValueWriter for PaymentRefField {
26116    fn write_to(&self, buf: &mut Vec<u8>) {
26117        self.0.write_to(buf);
26118    }
26119}
26120
26121impl FieldValue for PaymentRefField {}
26122
26123
26124/// `PaymentRemitterIDField` is a `STRING` field, Tag 505.
26125pub struct PaymentRemitterIDField(pub FIXString);
26126
26127impl PaymentRemitterIDField {
26128
26129    pub fn new(val: String) -> Self { Self(val) }
26130    pub fn value(&self) -> &str { &self.0 }
26131
26132    pub fn tag() -> Tag { tag::PAYMENT_REMITTER_ID }
26133}
26134
26135impl FieldValueReader for PaymentRemitterIDField {
26136    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26137        self.0.read(raw)
26138    }
26139}
26140
26141impl FieldValueWriter for PaymentRemitterIDField {
26142    fn write_to(&self, buf: &mut Vec<u8>) {
26143        self.0.write_to(buf);
26144    }
26145}
26146
26147impl FieldValue for PaymentRemitterIDField {}
26148
26149
26150/// `PctAtRiskField` is a `PERCENTAGE` field, Tag 869.
26151pub struct PctAtRiskField(pub FIXDecimal);
26152
26153impl PctAtRiskField {
26154
26155    pub fn new(val: Decimal, scale: i32) -> Self {
26156        Self(FIXDecimal { decimal: val, scale })
26157    }
26158    pub fn value(&self) -> Decimal { self.0.decimal }
26159
26160    pub fn tag() -> Tag { tag::PCT_AT_RISK }
26161}
26162
26163impl FieldValueReader for PctAtRiskField {
26164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26165        self.0.read(raw)
26166    }
26167}
26168
26169impl FieldValueWriter for PctAtRiskField {
26170    fn write_to(&self, buf: &mut Vec<u8>) {
26171        self.0.write_to(buf);
26172    }
26173}
26174
26175impl FieldValue for PctAtRiskField {}
26176
26177
26178/// `PegDifferenceField` is a `PRICEOFFSET` field, Tag 211.
26179pub struct PegDifferenceField(pub FIXDecimal);
26180
26181impl PegDifferenceField {
26182
26183    pub fn new(val: Decimal, scale: i32) -> Self {
26184        Self(FIXDecimal { decimal: val, scale })
26185    }
26186    pub fn value(&self) -> Decimal { self.0.decimal }
26187
26188    pub fn tag() -> Tag { tag::PEG_DIFFERENCE }
26189}
26190
26191impl FieldValueReader for PegDifferenceField {
26192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26193        self.0.read(raw)
26194    }
26195}
26196
26197impl FieldValueWriter for PegDifferenceField {
26198    fn write_to(&self, buf: &mut Vec<u8>) {
26199        self.0.write_to(buf);
26200    }
26201}
26202
26203impl FieldValue for PegDifferenceField {}
26204
26205
26206/// `PegLimitTypeField` is a `INT` field, Tag 837.
26207pub struct PegLimitTypeField(pub FIXInt);
26208
26209impl PegLimitTypeField {
26210
26211    pub fn new(val: isize) -> Self { Self(val) }
26212    pub fn value(&self) -> isize { self.0 }
26213
26214    pub fn tag() -> Tag { tag::PEG_LIMIT_TYPE }
26215}
26216
26217impl FieldValueReader for PegLimitTypeField {
26218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26219        self.0.read(raw)
26220    }
26221}
26222
26223impl FieldValueWriter for PegLimitTypeField {
26224    fn write_to(&self, buf: &mut Vec<u8>) {
26225        self.0.write_to(buf);
26226    }
26227}
26228
26229impl FieldValue for PegLimitTypeField {}
26230
26231
26232/// `PegMoveTypeField` is a `INT` field, Tag 835.
26233pub struct PegMoveTypeField(pub FIXInt);
26234
26235impl PegMoveTypeField {
26236
26237    pub fn new(val: isize) -> Self { Self(val) }
26238    pub fn value(&self) -> isize { self.0 }
26239
26240    pub fn tag() -> Tag { tag::PEG_MOVE_TYPE }
26241}
26242
26243impl FieldValueReader for PegMoveTypeField {
26244    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26245        self.0.read(raw)
26246    }
26247}
26248
26249impl FieldValueWriter for PegMoveTypeField {
26250    fn write_to(&self, buf: &mut Vec<u8>) {
26251        self.0.write_to(buf);
26252    }
26253}
26254
26255impl FieldValue for PegMoveTypeField {}
26256
26257
26258/// `PegOffsetTypeField` is a `INT` field, Tag 836.
26259pub struct PegOffsetTypeField(pub FIXInt);
26260
26261impl PegOffsetTypeField {
26262
26263    pub fn new(val: isize) -> Self { Self(val) }
26264    pub fn value(&self) -> isize { self.0 }
26265
26266    pub fn tag() -> Tag { tag::PEG_OFFSET_TYPE }
26267}
26268
26269impl FieldValueReader for PegOffsetTypeField {
26270    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26271        self.0.read(raw)
26272    }
26273}
26274
26275impl FieldValueWriter for PegOffsetTypeField {
26276    fn write_to(&self, buf: &mut Vec<u8>) {
26277        self.0.write_to(buf);
26278    }
26279}
26280
26281impl FieldValue for PegOffsetTypeField {}
26282
26283
26284/// `PegOffsetValueField` is a `FLOAT` field, Tag 211.
26285pub struct PegOffsetValueField(pub FIXDecimal);
26286
26287impl PegOffsetValueField {
26288
26289    pub fn new(val: Decimal, scale: i32) -> Self {
26290        Self(FIXDecimal { decimal: val, scale })
26291    }
26292    pub fn value(&self) -> Decimal { self.0.decimal }
26293
26294    pub fn tag() -> Tag { tag::PEG_OFFSET_VALUE }
26295}
26296
26297impl FieldValueReader for PegOffsetValueField {
26298    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26299        self.0.read(raw)
26300    }
26301}
26302
26303impl FieldValueWriter for PegOffsetValueField {
26304    fn write_to(&self, buf: &mut Vec<u8>) {
26305        self.0.write_to(buf);
26306    }
26307}
26308
26309impl FieldValue for PegOffsetValueField {}
26310
26311
26312/// `PegPriceTypeField` is a `INT` field, Tag 1094.
26313pub struct PegPriceTypeField(pub FIXInt);
26314
26315impl PegPriceTypeField {
26316
26317    pub fn new(val: isize) -> Self { Self(val) }
26318    pub fn value(&self) -> isize { self.0 }
26319
26320    pub fn tag() -> Tag { tag::PEG_PRICE_TYPE }
26321}
26322
26323impl FieldValueReader for PegPriceTypeField {
26324    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26325        self.0.read(raw)
26326    }
26327}
26328
26329impl FieldValueWriter for PegPriceTypeField {
26330    fn write_to(&self, buf: &mut Vec<u8>) {
26331        self.0.write_to(buf);
26332    }
26333}
26334
26335impl FieldValue for PegPriceTypeField {}
26336
26337
26338/// `PegRoundDirectionField` is a `INT` field, Tag 838.
26339pub struct PegRoundDirectionField(pub FIXInt);
26340
26341impl PegRoundDirectionField {
26342
26343    pub fn new(val: isize) -> Self { Self(val) }
26344    pub fn value(&self) -> isize { self.0 }
26345
26346    pub fn tag() -> Tag { tag::PEG_ROUND_DIRECTION }
26347}
26348
26349impl FieldValueReader for PegRoundDirectionField {
26350    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26351        self.0.read(raw)
26352    }
26353}
26354
26355impl FieldValueWriter for PegRoundDirectionField {
26356    fn write_to(&self, buf: &mut Vec<u8>) {
26357        self.0.write_to(buf);
26358    }
26359}
26360
26361impl FieldValue for PegRoundDirectionField {}
26362
26363
26364/// `PegScopeField` is a `INT` field, Tag 840.
26365pub struct PegScopeField(pub FIXInt);
26366
26367impl PegScopeField {
26368
26369    pub fn new(val: isize) -> Self { Self(val) }
26370    pub fn value(&self) -> isize { self.0 }
26371
26372    pub fn tag() -> Tag { tag::PEG_SCOPE }
26373}
26374
26375impl FieldValueReader for PegScopeField {
26376    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26377        self.0.read(raw)
26378    }
26379}
26380
26381impl FieldValueWriter for PegScopeField {
26382    fn write_to(&self, buf: &mut Vec<u8>) {
26383        self.0.write_to(buf);
26384    }
26385}
26386
26387impl FieldValue for PegScopeField {}
26388
26389
26390/// `PegSecurityDescField` is a `STRING` field, Tag 1099.
26391pub struct PegSecurityDescField(pub FIXString);
26392
26393impl PegSecurityDescField {
26394
26395    pub fn new(val: String) -> Self { Self(val) }
26396    pub fn value(&self) -> &str { &self.0 }
26397
26398    pub fn tag() -> Tag { tag::PEG_SECURITY_DESC }
26399}
26400
26401impl FieldValueReader for PegSecurityDescField {
26402    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26403        self.0.read(raw)
26404    }
26405}
26406
26407impl FieldValueWriter for PegSecurityDescField {
26408    fn write_to(&self, buf: &mut Vec<u8>) {
26409        self.0.write_to(buf);
26410    }
26411}
26412
26413impl FieldValue for PegSecurityDescField {}
26414
26415
26416/// `PegSecurityIDField` is a `STRING` field, Tag 1097.
26417pub struct PegSecurityIDField(pub FIXString);
26418
26419impl PegSecurityIDField {
26420
26421    pub fn new(val: String) -> Self { Self(val) }
26422    pub fn value(&self) -> &str { &self.0 }
26423
26424    pub fn tag() -> Tag { tag::PEG_SECURITY_ID }
26425}
26426
26427impl FieldValueReader for PegSecurityIDField {
26428    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26429        self.0.read(raw)
26430    }
26431}
26432
26433impl FieldValueWriter for PegSecurityIDField {
26434    fn write_to(&self, buf: &mut Vec<u8>) {
26435        self.0.write_to(buf);
26436    }
26437}
26438
26439impl FieldValue for PegSecurityIDField {}
26440
26441
26442/// `PegSecurityIDSourceField` is a `STRING` field, Tag 1096.
26443pub struct PegSecurityIDSourceField(pub FIXString);
26444
26445impl PegSecurityIDSourceField {
26446
26447    pub fn new(val: String) -> Self { Self(val) }
26448    pub fn value(&self) -> &str { &self.0 }
26449
26450    pub fn tag() -> Tag { tag::PEG_SECURITY_ID_SOURCE }
26451}
26452
26453impl FieldValueReader for PegSecurityIDSourceField {
26454    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26455        self.0.read(raw)
26456    }
26457}
26458
26459impl FieldValueWriter for PegSecurityIDSourceField {
26460    fn write_to(&self, buf: &mut Vec<u8>) {
26461        self.0.write_to(buf);
26462    }
26463}
26464
26465impl FieldValue for PegSecurityIDSourceField {}
26466
26467
26468/// `PegSymbolField` is a `STRING` field, Tag 1098.
26469pub struct PegSymbolField(pub FIXString);
26470
26471impl PegSymbolField {
26472
26473    pub fn new(val: String) -> Self { Self(val) }
26474    pub fn value(&self) -> &str { &self.0 }
26475
26476    pub fn tag() -> Tag { tag::PEG_SYMBOL }
26477}
26478
26479impl FieldValueReader for PegSymbolField {
26480    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26481        self.0.read(raw)
26482    }
26483}
26484
26485impl FieldValueWriter for PegSymbolField {
26486    fn write_to(&self, buf: &mut Vec<u8>) {
26487        self.0.write_to(buf);
26488    }
26489}
26490
26491impl FieldValue for PegSymbolField {}
26492
26493
26494/// `PeggedPriceField` is a `PRICE` field, Tag 839.
26495pub struct PeggedPriceField(pub FIXDecimal);
26496
26497impl PeggedPriceField {
26498
26499    pub fn new(val: Decimal, scale: i32) -> Self {
26500        Self(FIXDecimal { decimal: val, scale })
26501    }
26502    pub fn value(&self) -> Decimal { self.0.decimal }
26503
26504    pub fn tag() -> Tag { tag::PEGGED_PRICE }
26505}
26506
26507impl FieldValueReader for PeggedPriceField {
26508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26509        self.0.read(raw)
26510    }
26511}
26512
26513impl FieldValueWriter for PeggedPriceField {
26514    fn write_to(&self, buf: &mut Vec<u8>) {
26515        self.0.write_to(buf);
26516    }
26517}
26518
26519impl FieldValue for PeggedPriceField {}
26520
26521
26522/// `PeggedRefPriceField` is a `PRICE` field, Tag 1095.
26523pub struct PeggedRefPriceField(pub FIXDecimal);
26524
26525impl PeggedRefPriceField {
26526
26527    pub fn new(val: Decimal, scale: i32) -> Self {
26528        Self(FIXDecimal { decimal: val, scale })
26529    }
26530    pub fn value(&self) -> Decimal { self.0.decimal }
26531
26532    pub fn tag() -> Tag { tag::PEGGED_REF_PRICE }
26533}
26534
26535impl FieldValueReader for PeggedRefPriceField {
26536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26537        self.0.read(raw)
26538    }
26539}
26540
26541impl FieldValueWriter for PeggedRefPriceField {
26542    fn write_to(&self, buf: &mut Vec<u8>) {
26543        self.0.write_to(buf);
26544    }
26545}
26546
26547impl FieldValue for PeggedRefPriceField {}
26548
26549
26550/// `PoolField` is a `STRING` field, Tag 691.
26551pub struct PoolField(pub FIXString);
26552
26553impl PoolField {
26554
26555    pub fn new(val: String) -> Self { Self(val) }
26556    pub fn value(&self) -> &str { &self.0 }
26557
26558    pub fn tag() -> Tag { tag::POOL }
26559}
26560
26561impl FieldValueReader for PoolField {
26562    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26563        self.0.read(raw)
26564    }
26565}
26566
26567impl FieldValueWriter for PoolField {
26568    fn write_to(&self, buf: &mut Vec<u8>) {
26569        self.0.write_to(buf);
26570    }
26571}
26572
26573impl FieldValue for PoolField {}
26574
26575
26576/// `PosAmtField` is a `AMT` field, Tag 708.
26577pub struct PosAmtField(pub FIXDecimal);
26578
26579impl PosAmtField {
26580
26581    pub fn new(val: Decimal, scale: i32) -> Self {
26582        Self(FIXDecimal { decimal: val, scale })
26583    }
26584    pub fn value(&self) -> Decimal { self.0.decimal }
26585
26586    pub fn tag() -> Tag { tag::POS_AMT }
26587}
26588
26589impl FieldValueReader for PosAmtField {
26590    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26591        self.0.read(raw)
26592    }
26593}
26594
26595impl FieldValueWriter for PosAmtField {
26596    fn write_to(&self, buf: &mut Vec<u8>) {
26597        self.0.write_to(buf);
26598    }
26599}
26600
26601impl FieldValue for PosAmtField {}
26602
26603
26604/// `PosAmtTypeField` is a `STRING` field, Tag 707.
26605pub struct PosAmtTypeField(pub FIXString);
26606
26607impl PosAmtTypeField {
26608
26609    pub fn new(val: String) -> Self { Self(val) }
26610    pub fn value(&self) -> &str { &self.0 }
26611
26612    pub fn tag() -> Tag { tag::POS_AMT_TYPE }
26613}
26614
26615impl FieldValueReader for PosAmtTypeField {
26616    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26617        self.0.read(raw)
26618    }
26619}
26620
26621impl FieldValueWriter for PosAmtTypeField {
26622    fn write_to(&self, buf: &mut Vec<u8>) {
26623        self.0.write_to(buf);
26624    }
26625}
26626
26627impl FieldValue for PosAmtTypeField {}
26628
26629
26630/// `PosMaintActionField` is a `INT` field, Tag 712.
26631pub struct PosMaintActionField(pub FIXInt);
26632
26633impl PosMaintActionField {
26634
26635    pub fn new(val: isize) -> Self { Self(val) }
26636    pub fn value(&self) -> isize { self.0 }
26637
26638    pub fn tag() -> Tag { tag::POS_MAINT_ACTION }
26639}
26640
26641impl FieldValueReader for PosMaintActionField {
26642    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26643        self.0.read(raw)
26644    }
26645}
26646
26647impl FieldValueWriter for PosMaintActionField {
26648    fn write_to(&self, buf: &mut Vec<u8>) {
26649        self.0.write_to(buf);
26650    }
26651}
26652
26653impl FieldValue for PosMaintActionField {}
26654
26655
26656/// `PosMaintResultField` is a `INT` field, Tag 723.
26657pub struct PosMaintResultField(pub FIXInt);
26658
26659impl PosMaintResultField {
26660
26661    pub fn new(val: isize) -> Self { Self(val) }
26662    pub fn value(&self) -> isize { self.0 }
26663
26664    pub fn tag() -> Tag { tag::POS_MAINT_RESULT }
26665}
26666
26667impl FieldValueReader for PosMaintResultField {
26668    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26669        self.0.read(raw)
26670    }
26671}
26672
26673impl FieldValueWriter for PosMaintResultField {
26674    fn write_to(&self, buf: &mut Vec<u8>) {
26675        self.0.write_to(buf);
26676    }
26677}
26678
26679impl FieldValue for PosMaintResultField {}
26680
26681
26682/// `PosMaintRptIDField` is a `STRING` field, Tag 721.
26683pub struct PosMaintRptIDField(pub FIXString);
26684
26685impl PosMaintRptIDField {
26686
26687    pub fn new(val: String) -> Self { Self(val) }
26688    pub fn value(&self) -> &str { &self.0 }
26689
26690    pub fn tag() -> Tag { tag::POS_MAINT_RPT_ID }
26691}
26692
26693impl FieldValueReader for PosMaintRptIDField {
26694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26695        self.0.read(raw)
26696    }
26697}
26698
26699impl FieldValueWriter for PosMaintRptIDField {
26700    fn write_to(&self, buf: &mut Vec<u8>) {
26701        self.0.write_to(buf);
26702    }
26703}
26704
26705impl FieldValue for PosMaintRptIDField {}
26706
26707
26708/// `PosMaintRptRefIDField` is a `STRING` field, Tag 714.
26709pub struct PosMaintRptRefIDField(pub FIXString);
26710
26711impl PosMaintRptRefIDField {
26712
26713    pub fn new(val: String) -> Self { Self(val) }
26714    pub fn value(&self) -> &str { &self.0 }
26715
26716    pub fn tag() -> Tag { tag::POS_MAINT_RPT_REF_ID }
26717}
26718
26719impl FieldValueReader for PosMaintRptRefIDField {
26720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26721        self.0.read(raw)
26722    }
26723}
26724
26725impl FieldValueWriter for PosMaintRptRefIDField {
26726    fn write_to(&self, buf: &mut Vec<u8>) {
26727        self.0.write_to(buf);
26728    }
26729}
26730
26731impl FieldValue for PosMaintRptRefIDField {}
26732
26733
26734/// `PosMaintStatusField` is a `INT` field, Tag 722.
26735pub struct PosMaintStatusField(pub FIXInt);
26736
26737impl PosMaintStatusField {
26738
26739    pub fn new(val: isize) -> Self { Self(val) }
26740    pub fn value(&self) -> isize { self.0 }
26741
26742    pub fn tag() -> Tag { tag::POS_MAINT_STATUS }
26743}
26744
26745impl FieldValueReader for PosMaintStatusField {
26746    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26747        self.0.read(raw)
26748    }
26749}
26750
26751impl FieldValueWriter for PosMaintStatusField {
26752    fn write_to(&self, buf: &mut Vec<u8>) {
26753        self.0.write_to(buf);
26754    }
26755}
26756
26757impl FieldValue for PosMaintStatusField {}
26758
26759
26760/// `PosQtyStatusField` is a `INT` field, Tag 706.
26761pub struct PosQtyStatusField(pub FIXInt);
26762
26763impl PosQtyStatusField {
26764
26765    pub fn new(val: isize) -> Self { Self(val) }
26766    pub fn value(&self) -> isize { self.0 }
26767
26768    pub fn tag() -> Tag { tag::POS_QTY_STATUS }
26769}
26770
26771impl FieldValueReader for PosQtyStatusField {
26772    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26773        self.0.read(raw)
26774    }
26775}
26776
26777impl FieldValueWriter for PosQtyStatusField {
26778    fn write_to(&self, buf: &mut Vec<u8>) {
26779        self.0.write_to(buf);
26780    }
26781}
26782
26783impl FieldValue for PosQtyStatusField {}
26784
26785
26786/// `PosReqIDField` is a `STRING` field, Tag 710.
26787pub struct PosReqIDField(pub FIXString);
26788
26789impl PosReqIDField {
26790
26791    pub fn new(val: String) -> Self { Self(val) }
26792    pub fn value(&self) -> &str { &self.0 }
26793
26794    pub fn tag() -> Tag { tag::POS_REQ_ID }
26795}
26796
26797impl FieldValueReader for PosReqIDField {
26798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26799        self.0.read(raw)
26800    }
26801}
26802
26803impl FieldValueWriter for PosReqIDField {
26804    fn write_to(&self, buf: &mut Vec<u8>) {
26805        self.0.write_to(buf);
26806    }
26807}
26808
26809impl FieldValue for PosReqIDField {}
26810
26811
26812/// `PosReqResultField` is a `INT` field, Tag 728.
26813pub struct PosReqResultField(pub FIXInt);
26814
26815impl PosReqResultField {
26816
26817    pub fn new(val: isize) -> Self { Self(val) }
26818    pub fn value(&self) -> isize { self.0 }
26819
26820    pub fn tag() -> Tag { tag::POS_REQ_RESULT }
26821}
26822
26823impl FieldValueReader for PosReqResultField {
26824    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26825        self.0.read(raw)
26826    }
26827}
26828
26829impl FieldValueWriter for PosReqResultField {
26830    fn write_to(&self, buf: &mut Vec<u8>) {
26831        self.0.write_to(buf);
26832    }
26833}
26834
26835impl FieldValue for PosReqResultField {}
26836
26837
26838/// `PosReqStatusField` is a `INT` field, Tag 729.
26839pub struct PosReqStatusField(pub FIXInt);
26840
26841impl PosReqStatusField {
26842
26843    pub fn new(val: isize) -> Self { Self(val) }
26844    pub fn value(&self) -> isize { self.0 }
26845
26846    pub fn tag() -> Tag { tag::POS_REQ_STATUS }
26847}
26848
26849impl FieldValueReader for PosReqStatusField {
26850    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26851        self.0.read(raw)
26852    }
26853}
26854
26855impl FieldValueWriter for PosReqStatusField {
26856    fn write_to(&self, buf: &mut Vec<u8>) {
26857        self.0.write_to(buf);
26858    }
26859}
26860
26861impl FieldValue for PosReqStatusField {}
26862
26863
26864/// `PosReqTypeField` is a `INT` field, Tag 724.
26865pub struct PosReqTypeField(pub FIXInt);
26866
26867impl PosReqTypeField {
26868
26869    pub fn new(val: isize) -> Self { Self(val) }
26870    pub fn value(&self) -> isize { self.0 }
26871
26872    pub fn tag() -> Tag { tag::POS_REQ_TYPE }
26873}
26874
26875impl FieldValueReader for PosReqTypeField {
26876    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26877        self.0.read(raw)
26878    }
26879}
26880
26881impl FieldValueWriter for PosReqTypeField {
26882    fn write_to(&self, buf: &mut Vec<u8>) {
26883        self.0.write_to(buf);
26884    }
26885}
26886
26887impl FieldValue for PosReqTypeField {}
26888
26889
26890/// `PosTransTypeField` is a `INT` field, Tag 709.
26891pub struct PosTransTypeField(pub FIXInt);
26892
26893impl PosTransTypeField {
26894
26895    pub fn new(val: isize) -> Self { Self(val) }
26896    pub fn value(&self) -> isize { self.0 }
26897
26898    pub fn tag() -> Tag { tag::POS_TRANS_TYPE }
26899}
26900
26901impl FieldValueReader for PosTransTypeField {
26902    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26903        self.0.read(raw)
26904    }
26905}
26906
26907impl FieldValueWriter for PosTransTypeField {
26908    fn write_to(&self, buf: &mut Vec<u8>) {
26909        self.0.write_to(buf);
26910    }
26911}
26912
26913impl FieldValue for PosTransTypeField {}
26914
26915
26916/// `PosTypeField` is a `STRING` field, Tag 703.
26917pub struct PosTypeField(pub FIXString);
26918
26919impl PosTypeField {
26920
26921    pub fn new(val: String) -> Self { Self(val) }
26922    pub fn value(&self) -> &str { &self.0 }
26923
26924    pub fn tag() -> Tag { tag::POS_TYPE }
26925}
26926
26927impl FieldValueReader for PosTypeField {
26928    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26929        self.0.read(raw)
26930    }
26931}
26932
26933impl FieldValueWriter for PosTypeField {
26934    fn write_to(&self, buf: &mut Vec<u8>) {
26935        self.0.write_to(buf);
26936    }
26937}
26938
26939impl FieldValue for PosTypeField {}
26940
26941
26942/// `PositionCurrencyField` is a `STRING` field, Tag 1055.
26943pub struct PositionCurrencyField(pub FIXString);
26944
26945impl PositionCurrencyField {
26946
26947    pub fn new(val: String) -> Self { Self(val) }
26948    pub fn value(&self) -> &str { &self.0 }
26949
26950    pub fn tag() -> Tag { tag::POSITION_CURRENCY }
26951}
26952
26953impl FieldValueReader for PositionCurrencyField {
26954    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26955        self.0.read(raw)
26956    }
26957}
26958
26959impl FieldValueWriter for PositionCurrencyField {
26960    fn write_to(&self, buf: &mut Vec<u8>) {
26961        self.0.write_to(buf);
26962    }
26963}
26964
26965impl FieldValue for PositionCurrencyField {}
26966
26967
26968/// `PositionEffectField` is a `CHAR` field, Tag 77.
26969pub struct PositionEffectField(pub FIXString);
26970
26971impl PositionEffectField {
26972
26973    pub fn new(val: String) -> Self { Self(val) }
26974    pub fn value(&self) -> &str { &self.0 }
26975
26976    pub fn tag() -> Tag { tag::POSITION_EFFECT }
26977}
26978
26979impl FieldValueReader for PositionEffectField {
26980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
26981        self.0.read(raw)
26982    }
26983}
26984
26985impl FieldValueWriter for PositionEffectField {
26986    fn write_to(&self, buf: &mut Vec<u8>) {
26987        self.0.write_to(buf);
26988    }
26989}
26990
26991impl FieldValue for PositionEffectField {}
26992
26993
26994/// `PositionLimitField` is a `INT` field, Tag 970.
26995pub struct PositionLimitField(pub FIXInt);
26996
26997impl PositionLimitField {
26998
26999    pub fn new(val: isize) -> Self { Self(val) }
27000    pub fn value(&self) -> isize { self.0 }
27001
27002    pub fn tag() -> Tag { tag::POSITION_LIMIT }
27003}
27004
27005impl FieldValueReader for PositionLimitField {
27006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27007        self.0.read(raw)
27008    }
27009}
27010
27011impl FieldValueWriter for PositionLimitField {
27012    fn write_to(&self, buf: &mut Vec<u8>) {
27013        self.0.write_to(buf);
27014    }
27015}
27016
27017impl FieldValue for PositionLimitField {}
27018
27019
27020/// `PossDupFlagField` is a `BOOLEAN` field, Tag 43.
27021pub struct PossDupFlagField(pub FIXBoolean);
27022
27023impl PossDupFlagField {
27024
27025    pub fn new(val: bool) -> Self { Self(val) }
27026    pub fn value(&self) -> bool { self.0 }
27027
27028    pub fn tag() -> Tag { tag::POSS_DUP_FLAG }
27029}
27030
27031impl FieldValueReader for PossDupFlagField {
27032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27033        self.0.read(raw)
27034    }
27035}
27036
27037impl FieldValueWriter for PossDupFlagField {
27038    fn write_to(&self, buf: &mut Vec<u8>) {
27039        self.0.write_to(buf);
27040    }
27041}
27042
27043impl FieldValue for PossDupFlagField {}
27044
27045
27046/// `PossResendField` is a `BOOLEAN` field, Tag 97.
27047pub struct PossResendField(pub FIXBoolean);
27048
27049impl PossResendField {
27050
27051    pub fn new(val: bool) -> Self { Self(val) }
27052    pub fn value(&self) -> bool { self.0 }
27053
27054    pub fn tag() -> Tag { tag::POSS_RESEND }
27055}
27056
27057impl FieldValueReader for PossResendField {
27058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27059        self.0.read(raw)
27060    }
27061}
27062
27063impl FieldValueWriter for PossResendField {
27064    fn write_to(&self, buf: &mut Vec<u8>) {
27065        self.0.write_to(buf);
27066    }
27067}
27068
27069impl FieldValue for PossResendField {}
27070
27071
27072/// `PreTradeAnonymityField` is a `BOOLEAN` field, Tag 1091.
27073pub struct PreTradeAnonymityField(pub FIXBoolean);
27074
27075impl PreTradeAnonymityField {
27076
27077    pub fn new(val: bool) -> Self { Self(val) }
27078    pub fn value(&self) -> bool { self.0 }
27079
27080    pub fn tag() -> Tag { tag::PRE_TRADE_ANONYMITY }
27081}
27082
27083impl FieldValueReader for PreTradeAnonymityField {
27084    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27085        self.0.read(raw)
27086    }
27087}
27088
27089impl FieldValueWriter for PreTradeAnonymityField {
27090    fn write_to(&self, buf: &mut Vec<u8>) {
27091        self.0.write_to(buf);
27092    }
27093}
27094
27095impl FieldValue for PreTradeAnonymityField {}
27096
27097
27098/// `PreallocMethodField` is a `CHAR` field, Tag 591.
27099pub struct PreallocMethodField(pub FIXString);
27100
27101impl PreallocMethodField {
27102
27103    pub fn new(val: String) -> Self { Self(val) }
27104    pub fn value(&self) -> &str { &self.0 }
27105
27106    pub fn tag() -> Tag { tag::PREALLOC_METHOD }
27107}
27108
27109impl FieldValueReader for PreallocMethodField {
27110    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27111        self.0.read(raw)
27112    }
27113}
27114
27115impl FieldValueWriter for PreallocMethodField {
27116    fn write_to(&self, buf: &mut Vec<u8>) {
27117        self.0.write_to(buf);
27118    }
27119}
27120
27121impl FieldValue for PreallocMethodField {}
27122
27123
27124/// `PrevClosePxField` is a `PRICE` field, Tag 140.
27125pub struct PrevClosePxField(pub FIXDecimal);
27126
27127impl PrevClosePxField {
27128
27129    pub fn new(val: Decimal, scale: i32) -> Self {
27130        Self(FIXDecimal { decimal: val, scale })
27131    }
27132    pub fn value(&self) -> Decimal { self.0.decimal }
27133
27134    pub fn tag() -> Tag { tag::PREV_CLOSE_PX }
27135}
27136
27137impl FieldValueReader for PrevClosePxField {
27138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27139        self.0.read(raw)
27140    }
27141}
27142
27143impl FieldValueWriter for PrevClosePxField {
27144    fn write_to(&self, buf: &mut Vec<u8>) {
27145        self.0.write_to(buf);
27146    }
27147}
27148
27149impl FieldValue for PrevClosePxField {}
27150
27151
27152/// `PreviouslyReportedField` is a `BOOLEAN` field, Tag 570.
27153pub struct PreviouslyReportedField(pub FIXBoolean);
27154
27155impl PreviouslyReportedField {
27156
27157    pub fn new(val: bool) -> Self { Self(val) }
27158    pub fn value(&self) -> bool { self.0 }
27159
27160    pub fn tag() -> Tag { tag::PREVIOUSLY_REPORTED }
27161}
27162
27163impl FieldValueReader for PreviouslyReportedField {
27164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27165        self.0.read(raw)
27166    }
27167}
27168
27169impl FieldValueWriter for PreviouslyReportedField {
27170    fn write_to(&self, buf: &mut Vec<u8>) {
27171        self.0.write_to(buf);
27172    }
27173}
27174
27175impl FieldValue for PreviouslyReportedField {}
27176
27177
27178/// `PriceField` is a `PRICE` field, Tag 44.
27179pub struct PriceField(pub FIXDecimal);
27180
27181impl PriceField {
27182
27183    pub fn new(val: Decimal, scale: i32) -> Self {
27184        Self(FIXDecimal { decimal: val, scale })
27185    }
27186    pub fn value(&self) -> Decimal { self.0.decimal }
27187
27188    pub fn tag() -> Tag { tag::PRICE }
27189}
27190
27191impl FieldValueReader for PriceField {
27192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27193        self.0.read(raw)
27194    }
27195}
27196
27197impl FieldValueWriter for PriceField {
27198    fn write_to(&self, buf: &mut Vec<u8>) {
27199        self.0.write_to(buf);
27200    }
27201}
27202
27203impl FieldValue for PriceField {}
27204
27205
27206/// `Price2Field` is a `PRICE` field, Tag 640.
27207pub struct Price2Field(pub FIXDecimal);
27208
27209impl Price2Field {
27210
27211    pub fn new(val: Decimal, scale: i32) -> Self {
27212        Self(FIXDecimal { decimal: val, scale })
27213    }
27214    pub fn value(&self) -> Decimal { self.0.decimal }
27215
27216    pub fn tag() -> Tag { tag::PRICE2 }
27217}
27218
27219impl FieldValueReader for Price2Field {
27220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27221        self.0.read(raw)
27222    }
27223}
27224
27225impl FieldValueWriter for Price2Field {
27226    fn write_to(&self, buf: &mut Vec<u8>) {
27227        self.0.write_to(buf);
27228    }
27229}
27230
27231impl FieldValue for Price2Field {}
27232
27233
27234/// `PriceDeltaField` is a `FLOAT` field, Tag 811.
27235pub struct PriceDeltaField(pub FIXDecimal);
27236
27237impl PriceDeltaField {
27238
27239    pub fn new(val: Decimal, scale: i32) -> Self {
27240        Self(FIXDecimal { decimal: val, scale })
27241    }
27242    pub fn value(&self) -> Decimal { self.0.decimal }
27243
27244    pub fn tag() -> Tag { tag::PRICE_DELTA }
27245}
27246
27247impl FieldValueReader for PriceDeltaField {
27248    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27249        self.0.read(raw)
27250    }
27251}
27252
27253impl FieldValueWriter for PriceDeltaField {
27254    fn write_to(&self, buf: &mut Vec<u8>) {
27255        self.0.write_to(buf);
27256    }
27257}
27258
27259impl FieldValue for PriceDeltaField {}
27260
27261
27262/// `PriceImprovementField` is a `PRICEOFFSET` field, Tag 639.
27263pub struct PriceImprovementField(pub FIXDecimal);
27264
27265impl PriceImprovementField {
27266
27267    pub fn new(val: Decimal, scale: i32) -> Self {
27268        Self(FIXDecimal { decimal: val, scale })
27269    }
27270    pub fn value(&self) -> Decimal { self.0.decimal }
27271
27272    pub fn tag() -> Tag { tag::PRICE_IMPROVEMENT }
27273}
27274
27275impl FieldValueReader for PriceImprovementField {
27276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27277        self.0.read(raw)
27278    }
27279}
27280
27281impl FieldValueWriter for PriceImprovementField {
27282    fn write_to(&self, buf: &mut Vec<u8>) {
27283        self.0.write_to(buf);
27284    }
27285}
27286
27287impl FieldValue for PriceImprovementField {}
27288
27289
27290/// `PriceLimitTypeField` is a `INT` field, Tag 1306.
27291pub struct PriceLimitTypeField(pub FIXInt);
27292
27293impl PriceLimitTypeField {
27294
27295    pub fn new(val: isize) -> Self { Self(val) }
27296    pub fn value(&self) -> isize { self.0 }
27297
27298    pub fn tag() -> Tag { tag::PRICE_LIMIT_TYPE }
27299}
27300
27301impl FieldValueReader for PriceLimitTypeField {
27302    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27303        self.0.read(raw)
27304    }
27305}
27306
27307impl FieldValueWriter for PriceLimitTypeField {
27308    fn write_to(&self, buf: &mut Vec<u8>) {
27309        self.0.write_to(buf);
27310    }
27311}
27312
27313impl FieldValue for PriceLimitTypeField {}
27314
27315
27316/// `PriceProtectionScopeField` is a `CHAR` field, Tag 1092.
27317pub struct PriceProtectionScopeField(pub FIXString);
27318
27319impl PriceProtectionScopeField {
27320
27321    pub fn new(val: String) -> Self { Self(val) }
27322    pub fn value(&self) -> &str { &self.0 }
27323
27324    pub fn tag() -> Tag { tag::PRICE_PROTECTION_SCOPE }
27325}
27326
27327impl FieldValueReader for PriceProtectionScopeField {
27328    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27329        self.0.read(raw)
27330    }
27331}
27332
27333impl FieldValueWriter for PriceProtectionScopeField {
27334    fn write_to(&self, buf: &mut Vec<u8>) {
27335        self.0.write_to(buf);
27336    }
27337}
27338
27339impl FieldValue for PriceProtectionScopeField {}
27340
27341
27342/// `PriceQuoteMethodField` is a `STRING` field, Tag 1196.
27343pub struct PriceQuoteMethodField(pub FIXString);
27344
27345impl PriceQuoteMethodField {
27346
27347    pub fn new(val: String) -> Self { Self(val) }
27348    pub fn value(&self) -> &str { &self.0 }
27349
27350    pub fn tag() -> Tag { tag::PRICE_QUOTE_METHOD }
27351}
27352
27353impl FieldValueReader for PriceQuoteMethodField {
27354    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27355        self.0.read(raw)
27356    }
27357}
27358
27359impl FieldValueWriter for PriceQuoteMethodField {
27360    fn write_to(&self, buf: &mut Vec<u8>) {
27361        self.0.write_to(buf);
27362    }
27363}
27364
27365impl FieldValue for PriceQuoteMethodField {}
27366
27367
27368/// `PriceTypeField` is a `INT` field, Tag 423.
27369pub struct PriceTypeField(pub FIXInt);
27370
27371impl PriceTypeField {
27372
27373    pub fn new(val: isize) -> Self { Self(val) }
27374    pub fn value(&self) -> isize { self.0 }
27375
27376    pub fn tag() -> Tag { tag::PRICE_TYPE }
27377}
27378
27379impl FieldValueReader for PriceTypeField {
27380    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27381        self.0.read(raw)
27382    }
27383}
27384
27385impl FieldValueWriter for PriceTypeField {
27386    fn write_to(&self, buf: &mut Vec<u8>) {
27387        self.0.write_to(buf);
27388    }
27389}
27390
27391impl FieldValue for PriceTypeField {}
27392
27393
27394/// `PriceUnitOfMeasureField` is a `STRING` field, Tag 1191.
27395pub struct PriceUnitOfMeasureField(pub FIXString);
27396
27397impl PriceUnitOfMeasureField {
27398
27399    pub fn new(val: String) -> Self { Self(val) }
27400    pub fn value(&self) -> &str { &self.0 }
27401
27402    pub fn tag() -> Tag { tag::PRICE_UNIT_OF_MEASURE }
27403}
27404
27405impl FieldValueReader for PriceUnitOfMeasureField {
27406    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27407        self.0.read(raw)
27408    }
27409}
27410
27411impl FieldValueWriter for PriceUnitOfMeasureField {
27412    fn write_to(&self, buf: &mut Vec<u8>) {
27413        self.0.write_to(buf);
27414    }
27415}
27416
27417impl FieldValue for PriceUnitOfMeasureField {}
27418
27419
27420/// `PriceUnitOfMeasureQtyField` is a `QTY` field, Tag 1192.
27421pub struct PriceUnitOfMeasureQtyField(pub FIXDecimal);
27422
27423impl PriceUnitOfMeasureQtyField {
27424
27425    pub fn new(val: Decimal, scale: i32) -> Self {
27426        Self(FIXDecimal { decimal: val, scale })
27427    }
27428    pub fn value(&self) -> Decimal { self.0.decimal }
27429
27430    pub fn tag() -> Tag { tag::PRICE_UNIT_OF_MEASURE_QTY }
27431}
27432
27433impl FieldValueReader for PriceUnitOfMeasureQtyField {
27434    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27435        self.0.read(raw)
27436    }
27437}
27438
27439impl FieldValueWriter for PriceUnitOfMeasureQtyField {
27440    fn write_to(&self, buf: &mut Vec<u8>) {
27441        self.0.write_to(buf);
27442    }
27443}
27444
27445impl FieldValue for PriceUnitOfMeasureQtyField {}
27446
27447
27448/// `PriorSettlPriceField` is a `PRICE` field, Tag 734.
27449pub struct PriorSettlPriceField(pub FIXDecimal);
27450
27451impl PriorSettlPriceField {
27452
27453    pub fn new(val: Decimal, scale: i32) -> Self {
27454        Self(FIXDecimal { decimal: val, scale })
27455    }
27456    pub fn value(&self) -> Decimal { self.0.decimal }
27457
27458    pub fn tag() -> Tag { tag::PRIOR_SETTL_PRICE }
27459}
27460
27461impl FieldValueReader for PriorSettlPriceField {
27462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27463        self.0.read(raw)
27464    }
27465}
27466
27467impl FieldValueWriter for PriorSettlPriceField {
27468    fn write_to(&self, buf: &mut Vec<u8>) {
27469        self.0.write_to(buf);
27470    }
27471}
27472
27473impl FieldValue for PriorSettlPriceField {}
27474
27475
27476/// `PriorSpreadIndicatorField` is a `BOOLEAN` field, Tag 720.
27477pub struct PriorSpreadIndicatorField(pub FIXBoolean);
27478
27479impl PriorSpreadIndicatorField {
27480
27481    pub fn new(val: bool) -> Self { Self(val) }
27482    pub fn value(&self) -> bool { self.0 }
27483
27484    pub fn tag() -> Tag { tag::PRIOR_SPREAD_INDICATOR }
27485}
27486
27487impl FieldValueReader for PriorSpreadIndicatorField {
27488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27489        self.0.read(raw)
27490    }
27491}
27492
27493impl FieldValueWriter for PriorSpreadIndicatorField {
27494    fn write_to(&self, buf: &mut Vec<u8>) {
27495        self.0.write_to(buf);
27496    }
27497}
27498
27499impl FieldValue for PriorSpreadIndicatorField {}
27500
27501
27502/// `PriorityIndicatorField` is a `INT` field, Tag 638.
27503pub struct PriorityIndicatorField(pub FIXInt);
27504
27505impl PriorityIndicatorField {
27506
27507    pub fn new(val: isize) -> Self { Self(val) }
27508    pub fn value(&self) -> isize { self.0 }
27509
27510    pub fn tag() -> Tag { tag::PRIORITY_INDICATOR }
27511}
27512
27513impl FieldValueReader for PriorityIndicatorField {
27514    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27515        self.0.read(raw)
27516    }
27517}
27518
27519impl FieldValueWriter for PriorityIndicatorField {
27520    fn write_to(&self, buf: &mut Vec<u8>) {
27521        self.0.write_to(buf);
27522    }
27523}
27524
27525impl FieldValue for PriorityIndicatorField {}
27526
27527
27528/// `PrivateQuoteField` is a `BOOLEAN` field, Tag 1171.
27529pub struct PrivateQuoteField(pub FIXBoolean);
27530
27531impl PrivateQuoteField {
27532
27533    pub fn new(val: bool) -> Self { Self(val) }
27534    pub fn value(&self) -> bool { self.0 }
27535
27536    pub fn tag() -> Tag { tag::PRIVATE_QUOTE }
27537}
27538
27539impl FieldValueReader for PrivateQuoteField {
27540    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27541        self.0.read(raw)
27542    }
27543}
27544
27545impl FieldValueWriter for PrivateQuoteField {
27546    fn write_to(&self, buf: &mut Vec<u8>) {
27547        self.0.write_to(buf);
27548    }
27549}
27550
27551impl FieldValue for PrivateQuoteField {}
27552
27553
27554/// `ProcessCodeField` is a `CHAR` field, Tag 81.
27555pub struct ProcessCodeField(pub FIXString);
27556
27557impl ProcessCodeField {
27558
27559    pub fn new(val: String) -> Self { Self(val) }
27560    pub fn value(&self) -> &str { &self.0 }
27561
27562    pub fn tag() -> Tag { tag::PROCESS_CODE }
27563}
27564
27565impl FieldValueReader for ProcessCodeField {
27566    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27567        self.0.read(raw)
27568    }
27569}
27570
27571impl FieldValueWriter for ProcessCodeField {
27572    fn write_to(&self, buf: &mut Vec<u8>) {
27573        self.0.write_to(buf);
27574    }
27575}
27576
27577impl FieldValue for ProcessCodeField {}
27578
27579
27580/// `ProductField` is a `INT` field, Tag 460.
27581pub struct ProductField(pub FIXInt);
27582
27583impl ProductField {
27584
27585    pub fn new(val: isize) -> Self { Self(val) }
27586    pub fn value(&self) -> isize { self.0 }
27587
27588    pub fn tag() -> Tag { tag::PRODUCT }
27589}
27590
27591impl FieldValueReader for ProductField {
27592    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27593        self.0.read(raw)
27594    }
27595}
27596
27597impl FieldValueWriter for ProductField {
27598    fn write_to(&self, buf: &mut Vec<u8>) {
27599        self.0.write_to(buf);
27600    }
27601}
27602
27603impl FieldValue for ProductField {}
27604
27605
27606/// `ProductComplexField` is a `STRING` field, Tag 1227.
27607pub struct ProductComplexField(pub FIXString);
27608
27609impl ProductComplexField {
27610
27611    pub fn new(val: String) -> Self { Self(val) }
27612    pub fn value(&self) -> &str { &self.0 }
27613
27614    pub fn tag() -> Tag { tag::PRODUCT_COMPLEX }
27615}
27616
27617impl FieldValueReader for ProductComplexField {
27618    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27619        self.0.read(raw)
27620    }
27621}
27622
27623impl FieldValueWriter for ProductComplexField {
27624    fn write_to(&self, buf: &mut Vec<u8>) {
27625        self.0.write_to(buf);
27626    }
27627}
27628
27629impl FieldValue for ProductComplexField {}
27630
27631
27632/// `ProgPeriodIntervalField` is a `INT` field, Tag 415.
27633pub struct ProgPeriodIntervalField(pub FIXInt);
27634
27635impl ProgPeriodIntervalField {
27636
27637    pub fn new(val: isize) -> Self { Self(val) }
27638    pub fn value(&self) -> isize { self.0 }
27639
27640    pub fn tag() -> Tag { tag::PROG_PERIOD_INTERVAL }
27641}
27642
27643impl FieldValueReader for ProgPeriodIntervalField {
27644    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27645        self.0.read(raw)
27646    }
27647}
27648
27649impl FieldValueWriter for ProgPeriodIntervalField {
27650    fn write_to(&self, buf: &mut Vec<u8>) {
27651        self.0.write_to(buf);
27652    }
27653}
27654
27655impl FieldValue for ProgPeriodIntervalField {}
27656
27657
27658/// `ProgRptReqsField` is a `INT` field, Tag 414.
27659pub struct ProgRptReqsField(pub FIXInt);
27660
27661impl ProgRptReqsField {
27662
27663    pub fn new(val: isize) -> Self { Self(val) }
27664    pub fn value(&self) -> isize { self.0 }
27665
27666    pub fn tag() -> Tag { tag::PROG_RPT_REQS }
27667}
27668
27669impl FieldValueReader for ProgRptReqsField {
27670    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27671        self.0.read(raw)
27672    }
27673}
27674
27675impl FieldValueWriter for ProgRptReqsField {
27676    fn write_to(&self, buf: &mut Vec<u8>) {
27677        self.0.write_to(buf);
27678    }
27679}
27680
27681impl FieldValue for ProgRptReqsField {}
27682
27683
27684/// `PublishTrdIndicatorField` is a `BOOLEAN` field, Tag 852.
27685pub struct PublishTrdIndicatorField(pub FIXBoolean);
27686
27687impl PublishTrdIndicatorField {
27688
27689    pub fn new(val: bool) -> Self { Self(val) }
27690    pub fn value(&self) -> bool { self.0 }
27691
27692    pub fn tag() -> Tag { tag::PUBLISH_TRD_INDICATOR }
27693}
27694
27695impl FieldValueReader for PublishTrdIndicatorField {
27696    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27697        self.0.read(raw)
27698    }
27699}
27700
27701impl FieldValueWriter for PublishTrdIndicatorField {
27702    fn write_to(&self, buf: &mut Vec<u8>) {
27703        self.0.write_to(buf);
27704    }
27705}
27706
27707impl FieldValue for PublishTrdIndicatorField {}
27708
27709
27710/// `PutOrCallField` is a `INT` field, Tag 201.
27711pub struct PutOrCallField(pub FIXInt);
27712
27713impl PutOrCallField {
27714
27715    pub fn new(val: isize) -> Self { Self(val) }
27716    pub fn value(&self) -> isize { self.0 }
27717
27718    pub fn tag() -> Tag { tag::PUT_OR_CALL }
27719}
27720
27721impl FieldValueReader for PutOrCallField {
27722    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27723        self.0.read(raw)
27724    }
27725}
27726
27727impl FieldValueWriter for PutOrCallField {
27728    fn write_to(&self, buf: &mut Vec<u8>) {
27729        self.0.write_to(buf);
27730    }
27731}
27732
27733impl FieldValue for PutOrCallField {}
27734
27735
27736/// `QtyTypeField` is a `INT` field, Tag 854.
27737pub struct QtyTypeField(pub FIXInt);
27738
27739impl QtyTypeField {
27740
27741    pub fn new(val: isize) -> Self { Self(val) }
27742    pub fn value(&self) -> isize { self.0 }
27743
27744    pub fn tag() -> Tag { tag::QTY_TYPE }
27745}
27746
27747impl FieldValueReader for QtyTypeField {
27748    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27749        self.0.read(raw)
27750    }
27751}
27752
27753impl FieldValueWriter for QtyTypeField {
27754    fn write_to(&self, buf: &mut Vec<u8>) {
27755        self.0.write_to(buf);
27756    }
27757}
27758
27759impl FieldValue for QtyTypeField {}
27760
27761
27762/// `QuantityField` is a `QTY` field, Tag 53.
27763pub struct QuantityField(pub FIXDecimal);
27764
27765impl QuantityField {
27766
27767    pub fn new(val: Decimal, scale: i32) -> Self {
27768        Self(FIXDecimal { decimal: val, scale })
27769    }
27770    pub fn value(&self) -> Decimal { self.0.decimal }
27771
27772    pub fn tag() -> Tag { tag::QUANTITY }
27773}
27774
27775impl FieldValueReader for QuantityField {
27776    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27777        self.0.read(raw)
27778    }
27779}
27780
27781impl FieldValueWriter for QuantityField {
27782    fn write_to(&self, buf: &mut Vec<u8>) {
27783        self.0.write_to(buf);
27784    }
27785}
27786
27787impl FieldValue for QuantityField {}
27788
27789
27790/// `QuantityDateField` is a `LOCALMKTDATE` field, Tag 976.
27791pub struct QuantityDateField(pub FIXString);
27792
27793impl QuantityDateField {
27794
27795    pub fn new(val: String) -> Self { Self(val) }
27796    pub fn value(&self) -> &str { &self.0 }
27797
27798    pub fn tag() -> Tag { tag::QUANTITY_DATE }
27799}
27800
27801impl FieldValueReader for QuantityDateField {
27802    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27803        self.0.read(raw)
27804    }
27805}
27806
27807impl FieldValueWriter for QuantityDateField {
27808    fn write_to(&self, buf: &mut Vec<u8>) {
27809        self.0.write_to(buf);
27810    }
27811}
27812
27813impl FieldValue for QuantityDateField {}
27814
27815
27816/// `QuantityTypeField` is a `INT` field, Tag 465.
27817pub struct QuantityTypeField(pub FIXInt);
27818
27819impl QuantityTypeField {
27820
27821    pub fn new(val: isize) -> Self { Self(val) }
27822    pub fn value(&self) -> isize { self.0 }
27823
27824    pub fn tag() -> Tag { tag::QUANTITY_TYPE }
27825}
27826
27827impl FieldValueReader for QuantityTypeField {
27828    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27829        self.0.read(raw)
27830    }
27831}
27832
27833impl FieldValueWriter for QuantityTypeField {
27834    fn write_to(&self, buf: &mut Vec<u8>) {
27835        self.0.write_to(buf);
27836    }
27837}
27838
27839impl FieldValue for QuantityTypeField {}
27840
27841
27842/// `QuoteAckStatusField` is a `INT` field, Tag 297.
27843pub struct QuoteAckStatusField(pub FIXInt);
27844
27845impl QuoteAckStatusField {
27846
27847    pub fn new(val: isize) -> Self { Self(val) }
27848    pub fn value(&self) -> isize { self.0 }
27849
27850    pub fn tag() -> Tag { tag::QUOTE_ACK_STATUS }
27851}
27852
27853impl FieldValueReader for QuoteAckStatusField {
27854    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27855        self.0.read(raw)
27856    }
27857}
27858
27859impl FieldValueWriter for QuoteAckStatusField {
27860    fn write_to(&self, buf: &mut Vec<u8>) {
27861        self.0.write_to(buf);
27862    }
27863}
27864
27865impl FieldValue for QuoteAckStatusField {}
27866
27867
27868/// `QuoteCancelTypeField` is a `INT` field, Tag 298.
27869pub struct QuoteCancelTypeField(pub FIXInt);
27870
27871impl QuoteCancelTypeField {
27872
27873    pub fn new(val: isize) -> Self { Self(val) }
27874    pub fn value(&self) -> isize { self.0 }
27875
27876    pub fn tag() -> Tag { tag::QUOTE_CANCEL_TYPE }
27877}
27878
27879impl FieldValueReader for QuoteCancelTypeField {
27880    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27881        self.0.read(raw)
27882    }
27883}
27884
27885impl FieldValueWriter for QuoteCancelTypeField {
27886    fn write_to(&self, buf: &mut Vec<u8>) {
27887        self.0.write_to(buf);
27888    }
27889}
27890
27891impl FieldValue for QuoteCancelTypeField {}
27892
27893
27894/// `QuoteConditionField` is a `MULTIPLESTRINGVALUE` field, Tag 276.
27895pub struct QuoteConditionField(pub FIXString);
27896
27897impl QuoteConditionField {
27898
27899    pub fn new(val: String) -> Self { Self(val) }
27900    pub fn value(&self) -> &str { &self.0 }
27901
27902    pub fn tag() -> Tag { tag::QUOTE_CONDITION }
27903}
27904
27905impl FieldValueReader for QuoteConditionField {
27906    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27907        self.0.read(raw)
27908    }
27909}
27910
27911impl FieldValueWriter for QuoteConditionField {
27912    fn write_to(&self, buf: &mut Vec<u8>) {
27913        self.0.write_to(buf);
27914    }
27915}
27916
27917impl FieldValue for QuoteConditionField {}
27918
27919
27920/// `QuoteEntryIDField` is a `STRING` field, Tag 299.
27921pub struct QuoteEntryIDField(pub FIXString);
27922
27923impl QuoteEntryIDField {
27924
27925    pub fn new(val: String) -> Self { Self(val) }
27926    pub fn value(&self) -> &str { &self.0 }
27927
27928    pub fn tag() -> Tag { tag::QUOTE_ENTRY_ID }
27929}
27930
27931impl FieldValueReader for QuoteEntryIDField {
27932    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27933        self.0.read(raw)
27934    }
27935}
27936
27937impl FieldValueWriter for QuoteEntryIDField {
27938    fn write_to(&self, buf: &mut Vec<u8>) {
27939        self.0.write_to(buf);
27940    }
27941}
27942
27943impl FieldValue for QuoteEntryIDField {}
27944
27945
27946/// `QuoteEntryRejectReasonField` is a `INT` field, Tag 368.
27947pub struct QuoteEntryRejectReasonField(pub FIXInt);
27948
27949impl QuoteEntryRejectReasonField {
27950
27951    pub fn new(val: isize) -> Self { Self(val) }
27952    pub fn value(&self) -> isize { self.0 }
27953
27954    pub fn tag() -> Tag { tag::QUOTE_ENTRY_REJECT_REASON }
27955}
27956
27957impl FieldValueReader for QuoteEntryRejectReasonField {
27958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27959        self.0.read(raw)
27960    }
27961}
27962
27963impl FieldValueWriter for QuoteEntryRejectReasonField {
27964    fn write_to(&self, buf: &mut Vec<u8>) {
27965        self.0.write_to(buf);
27966    }
27967}
27968
27969impl FieldValue for QuoteEntryRejectReasonField {}
27970
27971
27972/// `QuoteEntryStatusField` is a `INT` field, Tag 1167.
27973pub struct QuoteEntryStatusField(pub FIXInt);
27974
27975impl QuoteEntryStatusField {
27976
27977    pub fn new(val: isize) -> Self { Self(val) }
27978    pub fn value(&self) -> isize { self.0 }
27979
27980    pub fn tag() -> Tag { tag::QUOTE_ENTRY_STATUS }
27981}
27982
27983impl FieldValueReader for QuoteEntryStatusField {
27984    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
27985        self.0.read(raw)
27986    }
27987}
27988
27989impl FieldValueWriter for QuoteEntryStatusField {
27990    fn write_to(&self, buf: &mut Vec<u8>) {
27991        self.0.write_to(buf);
27992    }
27993}
27994
27995impl FieldValue for QuoteEntryStatusField {}
27996
27997
27998/// `QuoteIDField` is a `STRING` field, Tag 117.
27999pub struct QuoteIDField(pub FIXString);
28000
28001impl QuoteIDField {
28002
28003    pub fn new(val: String) -> Self { Self(val) }
28004    pub fn value(&self) -> &str { &self.0 }
28005
28006    pub fn tag() -> Tag { tag::QUOTE_ID }
28007}
28008
28009impl FieldValueReader for QuoteIDField {
28010    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28011        self.0.read(raw)
28012    }
28013}
28014
28015impl FieldValueWriter for QuoteIDField {
28016    fn write_to(&self, buf: &mut Vec<u8>) {
28017        self.0.write_to(buf);
28018    }
28019}
28020
28021impl FieldValue for QuoteIDField {}
28022
28023
28024/// `QuoteMsgIDField` is a `STRING` field, Tag 1166.
28025pub struct QuoteMsgIDField(pub FIXString);
28026
28027impl QuoteMsgIDField {
28028
28029    pub fn new(val: String) -> Self { Self(val) }
28030    pub fn value(&self) -> &str { &self.0 }
28031
28032    pub fn tag() -> Tag { tag::QUOTE_MSG_ID }
28033}
28034
28035impl FieldValueReader for QuoteMsgIDField {
28036    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28037        self.0.read(raw)
28038    }
28039}
28040
28041impl FieldValueWriter for QuoteMsgIDField {
28042    fn write_to(&self, buf: &mut Vec<u8>) {
28043        self.0.write_to(buf);
28044    }
28045}
28046
28047impl FieldValue for QuoteMsgIDField {}
28048
28049
28050/// `QuotePriceTypeField` is a `INT` field, Tag 692.
28051pub struct QuotePriceTypeField(pub FIXInt);
28052
28053impl QuotePriceTypeField {
28054
28055    pub fn new(val: isize) -> Self { Self(val) }
28056    pub fn value(&self) -> isize { self.0 }
28057
28058    pub fn tag() -> Tag { tag::QUOTE_PRICE_TYPE }
28059}
28060
28061impl FieldValueReader for QuotePriceTypeField {
28062    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28063        self.0.read(raw)
28064    }
28065}
28066
28067impl FieldValueWriter for QuotePriceTypeField {
28068    fn write_to(&self, buf: &mut Vec<u8>) {
28069        self.0.write_to(buf);
28070    }
28071}
28072
28073impl FieldValue for QuotePriceTypeField {}
28074
28075
28076/// `QuoteQualifierField` is a `CHAR` field, Tag 695.
28077pub struct QuoteQualifierField(pub FIXString);
28078
28079impl QuoteQualifierField {
28080
28081    pub fn new(val: String) -> Self { Self(val) }
28082    pub fn value(&self) -> &str { &self.0 }
28083
28084    pub fn tag() -> Tag { tag::QUOTE_QUALIFIER }
28085}
28086
28087impl FieldValueReader for QuoteQualifierField {
28088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28089        self.0.read(raw)
28090    }
28091}
28092
28093impl FieldValueWriter for QuoteQualifierField {
28094    fn write_to(&self, buf: &mut Vec<u8>) {
28095        self.0.write_to(buf);
28096    }
28097}
28098
28099impl FieldValue for QuoteQualifierField {}
28100
28101
28102/// `QuoteRejectReasonField` is a `INT` field, Tag 300.
28103pub struct QuoteRejectReasonField(pub FIXInt);
28104
28105impl QuoteRejectReasonField {
28106
28107    pub fn new(val: isize) -> Self { Self(val) }
28108    pub fn value(&self) -> isize { self.0 }
28109
28110    pub fn tag() -> Tag { tag::QUOTE_REJECT_REASON }
28111}
28112
28113impl FieldValueReader for QuoteRejectReasonField {
28114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28115        self.0.read(raw)
28116    }
28117}
28118
28119impl FieldValueWriter for QuoteRejectReasonField {
28120    fn write_to(&self, buf: &mut Vec<u8>) {
28121        self.0.write_to(buf);
28122    }
28123}
28124
28125impl FieldValue for QuoteRejectReasonField {}
28126
28127
28128/// `QuoteReqIDField` is a `STRING` field, Tag 131.
28129pub struct QuoteReqIDField(pub FIXString);
28130
28131impl QuoteReqIDField {
28132
28133    pub fn new(val: String) -> Self { Self(val) }
28134    pub fn value(&self) -> &str { &self.0 }
28135
28136    pub fn tag() -> Tag { tag::QUOTE_REQ_ID }
28137}
28138
28139impl FieldValueReader for QuoteReqIDField {
28140    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28141        self.0.read(raw)
28142    }
28143}
28144
28145impl FieldValueWriter for QuoteReqIDField {
28146    fn write_to(&self, buf: &mut Vec<u8>) {
28147        self.0.write_to(buf);
28148    }
28149}
28150
28151impl FieldValue for QuoteReqIDField {}
28152
28153
28154/// `QuoteRequestRejectReasonField` is a `INT` field, Tag 658.
28155pub struct QuoteRequestRejectReasonField(pub FIXInt);
28156
28157impl QuoteRequestRejectReasonField {
28158
28159    pub fn new(val: isize) -> Self { Self(val) }
28160    pub fn value(&self) -> isize { self.0 }
28161
28162    pub fn tag() -> Tag { tag::QUOTE_REQUEST_REJECT_REASON }
28163}
28164
28165impl FieldValueReader for QuoteRequestRejectReasonField {
28166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28167        self.0.read(raw)
28168    }
28169}
28170
28171impl FieldValueWriter for QuoteRequestRejectReasonField {
28172    fn write_to(&self, buf: &mut Vec<u8>) {
28173        self.0.write_to(buf);
28174    }
28175}
28176
28177impl FieldValue for QuoteRequestRejectReasonField {}
28178
28179
28180/// `QuoteRequestTypeField` is a `INT` field, Tag 303.
28181pub struct QuoteRequestTypeField(pub FIXInt);
28182
28183impl QuoteRequestTypeField {
28184
28185    pub fn new(val: isize) -> Self { Self(val) }
28186    pub fn value(&self) -> isize { self.0 }
28187
28188    pub fn tag() -> Tag { tag::QUOTE_REQUEST_TYPE }
28189}
28190
28191impl FieldValueReader for QuoteRequestTypeField {
28192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28193        self.0.read(raw)
28194    }
28195}
28196
28197impl FieldValueWriter for QuoteRequestTypeField {
28198    fn write_to(&self, buf: &mut Vec<u8>) {
28199        self.0.write_to(buf);
28200    }
28201}
28202
28203impl FieldValue for QuoteRequestTypeField {}
28204
28205
28206/// `QuoteRespIDField` is a `STRING` field, Tag 693.
28207pub struct QuoteRespIDField(pub FIXString);
28208
28209impl QuoteRespIDField {
28210
28211    pub fn new(val: String) -> Self { Self(val) }
28212    pub fn value(&self) -> &str { &self.0 }
28213
28214    pub fn tag() -> Tag { tag::QUOTE_RESP_ID }
28215}
28216
28217impl FieldValueReader for QuoteRespIDField {
28218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28219        self.0.read(raw)
28220    }
28221}
28222
28223impl FieldValueWriter for QuoteRespIDField {
28224    fn write_to(&self, buf: &mut Vec<u8>) {
28225        self.0.write_to(buf);
28226    }
28227}
28228
28229impl FieldValue for QuoteRespIDField {}
28230
28231
28232/// `QuoteRespTypeField` is a `INT` field, Tag 694.
28233pub struct QuoteRespTypeField(pub FIXInt);
28234
28235impl QuoteRespTypeField {
28236
28237    pub fn new(val: isize) -> Self { Self(val) }
28238    pub fn value(&self) -> isize { self.0 }
28239
28240    pub fn tag() -> Tag { tag::QUOTE_RESP_TYPE }
28241}
28242
28243impl FieldValueReader for QuoteRespTypeField {
28244    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28245        self.0.read(raw)
28246    }
28247}
28248
28249impl FieldValueWriter for QuoteRespTypeField {
28250    fn write_to(&self, buf: &mut Vec<u8>) {
28251        self.0.write_to(buf);
28252    }
28253}
28254
28255impl FieldValue for QuoteRespTypeField {}
28256
28257
28258/// `QuoteResponseLevelField` is a `INT` field, Tag 301.
28259pub struct QuoteResponseLevelField(pub FIXInt);
28260
28261impl QuoteResponseLevelField {
28262
28263    pub fn new(val: isize) -> Self { Self(val) }
28264    pub fn value(&self) -> isize { self.0 }
28265
28266    pub fn tag() -> Tag { tag::QUOTE_RESPONSE_LEVEL }
28267}
28268
28269impl FieldValueReader for QuoteResponseLevelField {
28270    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28271        self.0.read(raw)
28272    }
28273}
28274
28275impl FieldValueWriter for QuoteResponseLevelField {
28276    fn write_to(&self, buf: &mut Vec<u8>) {
28277        self.0.write_to(buf);
28278    }
28279}
28280
28281impl FieldValue for QuoteResponseLevelField {}
28282
28283
28284/// `QuoteSetIDField` is a `STRING` field, Tag 302.
28285pub struct QuoteSetIDField(pub FIXString);
28286
28287impl QuoteSetIDField {
28288
28289    pub fn new(val: String) -> Self { Self(val) }
28290    pub fn value(&self) -> &str { &self.0 }
28291
28292    pub fn tag() -> Tag { tag::QUOTE_SET_ID }
28293}
28294
28295impl FieldValueReader for QuoteSetIDField {
28296    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28297        self.0.read(raw)
28298    }
28299}
28300
28301impl FieldValueWriter for QuoteSetIDField {
28302    fn write_to(&self, buf: &mut Vec<u8>) {
28303        self.0.write_to(buf);
28304    }
28305}
28306
28307impl FieldValue for QuoteSetIDField {}
28308
28309
28310/// `QuoteSetValidUntilTimeField` is a `UTCTIMESTAMP` field, Tag 367.
28311pub struct QuoteSetValidUntilTimeField(pub FIXUTCTimestamp);
28312
28313impl QuoteSetValidUntilTimeField {
28314
28315    pub fn new(val: Timestamp) -> Self {
28316        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
28317    }
28318    pub fn value(&self) -> Timestamp { self.0.time }
28319
28320    pub fn tag() -> Tag { tag::QUOTE_SET_VALID_UNTIL_TIME }
28321}
28322
28323impl FieldValueReader for QuoteSetValidUntilTimeField {
28324    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28325        self.0.read(raw)
28326    }
28327}
28328
28329impl FieldValueWriter for QuoteSetValidUntilTimeField {
28330    fn write_to(&self, buf: &mut Vec<u8>) {
28331        self.0.write_to(buf);
28332    }
28333}
28334
28335impl FieldValue for QuoteSetValidUntilTimeField {}
28336
28337
28338/// `QuoteStatusField` is a `INT` field, Tag 297.
28339pub struct QuoteStatusField(pub FIXInt);
28340
28341impl QuoteStatusField {
28342
28343    pub fn new(val: isize) -> Self { Self(val) }
28344    pub fn value(&self) -> isize { self.0 }
28345
28346    pub fn tag() -> Tag { tag::QUOTE_STATUS }
28347}
28348
28349impl FieldValueReader for QuoteStatusField {
28350    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28351        self.0.read(raw)
28352    }
28353}
28354
28355impl FieldValueWriter for QuoteStatusField {
28356    fn write_to(&self, buf: &mut Vec<u8>) {
28357        self.0.write_to(buf);
28358    }
28359}
28360
28361impl FieldValue for QuoteStatusField {}
28362
28363
28364/// `QuoteStatusReqIDField` is a `STRING` field, Tag 649.
28365pub struct QuoteStatusReqIDField(pub FIXString);
28366
28367impl QuoteStatusReqIDField {
28368
28369    pub fn new(val: String) -> Self { Self(val) }
28370    pub fn value(&self) -> &str { &self.0 }
28371
28372    pub fn tag() -> Tag { tag::QUOTE_STATUS_REQ_ID }
28373}
28374
28375impl FieldValueReader for QuoteStatusReqIDField {
28376    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28377        self.0.read(raw)
28378    }
28379}
28380
28381impl FieldValueWriter for QuoteStatusReqIDField {
28382    fn write_to(&self, buf: &mut Vec<u8>) {
28383        self.0.write_to(buf);
28384    }
28385}
28386
28387impl FieldValue for QuoteStatusReqIDField {}
28388
28389
28390/// `QuoteTypeField` is a `INT` field, Tag 537.
28391pub struct QuoteTypeField(pub FIXInt);
28392
28393impl QuoteTypeField {
28394
28395    pub fn new(val: isize) -> Self { Self(val) }
28396    pub fn value(&self) -> isize { self.0 }
28397
28398    pub fn tag() -> Tag { tag::QUOTE_TYPE }
28399}
28400
28401impl FieldValueReader for QuoteTypeField {
28402    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28403        self.0.read(raw)
28404    }
28405}
28406
28407impl FieldValueWriter for QuoteTypeField {
28408    fn write_to(&self, buf: &mut Vec<u8>) {
28409        self.0.write_to(buf);
28410    }
28411}
28412
28413impl FieldValue for QuoteTypeField {}
28414
28415
28416/// `RFQReqIDField` is a `STRING` field, Tag 644.
28417pub struct RFQReqIDField(pub FIXString);
28418
28419impl RFQReqIDField {
28420
28421    pub fn new(val: String) -> Self { Self(val) }
28422    pub fn value(&self) -> &str { &self.0 }
28423
28424    pub fn tag() -> Tag { tag::RFQ_REQ_ID }
28425}
28426
28427impl FieldValueReader for RFQReqIDField {
28428    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28429        self.0.read(raw)
28430    }
28431}
28432
28433impl FieldValueWriter for RFQReqIDField {
28434    fn write_to(&self, buf: &mut Vec<u8>) {
28435        self.0.write_to(buf);
28436    }
28437}
28438
28439impl FieldValue for RFQReqIDField {}
28440
28441
28442/// `RateSourceField` is a `INT` field, Tag 1446.
28443pub struct RateSourceField(pub FIXInt);
28444
28445impl RateSourceField {
28446
28447    pub fn new(val: isize) -> Self { Self(val) }
28448    pub fn value(&self) -> isize { self.0 }
28449
28450    pub fn tag() -> Tag { tag::RATE_SOURCE }
28451}
28452
28453impl FieldValueReader for RateSourceField {
28454    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28455        self.0.read(raw)
28456    }
28457}
28458
28459impl FieldValueWriter for RateSourceField {
28460    fn write_to(&self, buf: &mut Vec<u8>) {
28461        self.0.write_to(buf);
28462    }
28463}
28464
28465impl FieldValue for RateSourceField {}
28466
28467
28468/// `RateSourceTypeField` is a `INT` field, Tag 1447.
28469pub struct RateSourceTypeField(pub FIXInt);
28470
28471impl RateSourceTypeField {
28472
28473    pub fn new(val: isize) -> Self { Self(val) }
28474    pub fn value(&self) -> isize { self.0 }
28475
28476    pub fn tag() -> Tag { tag::RATE_SOURCE_TYPE }
28477}
28478
28479impl FieldValueReader for RateSourceTypeField {
28480    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28481        self.0.read(raw)
28482    }
28483}
28484
28485impl FieldValueWriter for RateSourceTypeField {
28486    fn write_to(&self, buf: &mut Vec<u8>) {
28487        self.0.write_to(buf);
28488    }
28489}
28490
28491impl FieldValue for RateSourceTypeField {}
28492
28493
28494/// `RatioQtyField` is a `QTY` field, Tag 319.
28495pub struct RatioQtyField(pub FIXDecimal);
28496
28497impl RatioQtyField {
28498
28499    pub fn new(val: Decimal, scale: i32) -> Self {
28500        Self(FIXDecimal { decimal: val, scale })
28501    }
28502    pub fn value(&self) -> Decimal { self.0.decimal }
28503
28504    pub fn tag() -> Tag { tag::RATIO_QTY }
28505}
28506
28507impl FieldValueReader for RatioQtyField {
28508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28509        self.0.read(raw)
28510    }
28511}
28512
28513impl FieldValueWriter for RatioQtyField {
28514    fn write_to(&self, buf: &mut Vec<u8>) {
28515        self.0.write_to(buf);
28516    }
28517}
28518
28519impl FieldValue for RatioQtyField {}
28520
28521
28522/// `RawDataField` is a `DATA` field, Tag 96.
28523pub struct RawDataField(pub FIXString);
28524
28525impl RawDataField {
28526
28527    pub fn new(val: String) -> Self { Self(val) }
28528    pub fn value(&self) -> &str { &self.0 }
28529
28530    pub fn tag() -> Tag { tag::RAW_DATA }
28531}
28532
28533impl FieldValueReader for RawDataField {
28534    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28535        self.0.read(raw)
28536    }
28537}
28538
28539impl FieldValueWriter for RawDataField {
28540    fn write_to(&self, buf: &mut Vec<u8>) {
28541        self.0.write_to(buf);
28542    }
28543}
28544
28545impl FieldValue for RawDataField {}
28546
28547
28548/// `RawDataLengthField` is a `LENGTH` field, Tag 95.
28549pub struct RawDataLengthField(pub FIXInt);
28550
28551impl RawDataLengthField {
28552
28553    pub fn new(val: isize) -> Self { Self(val) }
28554    pub fn value(&self) -> isize { self.0 }
28555
28556    pub fn tag() -> Tag { tag::RAW_DATA_LENGTH }
28557}
28558
28559impl FieldValueReader for RawDataLengthField {
28560    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28561        self.0.read(raw)
28562    }
28563}
28564
28565impl FieldValueWriter for RawDataLengthField {
28566    fn write_to(&self, buf: &mut Vec<u8>) {
28567        self.0.write_to(buf);
28568    }
28569}
28570
28571impl FieldValue for RawDataLengthField {}
28572
28573
28574/// `ReceivedDeptIDField` is a `STRING` field, Tag 1030.
28575pub struct ReceivedDeptIDField(pub FIXString);
28576
28577impl ReceivedDeptIDField {
28578
28579    pub fn new(val: String) -> Self { Self(val) }
28580    pub fn value(&self) -> &str { &self.0 }
28581
28582    pub fn tag() -> Tag { tag::RECEIVED_DEPT_ID }
28583}
28584
28585impl FieldValueReader for ReceivedDeptIDField {
28586    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28587        self.0.read(raw)
28588    }
28589}
28590
28591impl FieldValueWriter for ReceivedDeptIDField {
28592    fn write_to(&self, buf: &mut Vec<u8>) {
28593        self.0.write_to(buf);
28594    }
28595}
28596
28597impl FieldValue for ReceivedDeptIDField {}
28598
28599
28600/// `RedemptionDateField` is a `LOCALMKTDATE` field, Tag 240.
28601pub struct RedemptionDateField(pub FIXString);
28602
28603impl RedemptionDateField {
28604
28605    pub fn new(val: String) -> Self { Self(val) }
28606    pub fn value(&self) -> &str { &self.0 }
28607
28608    pub fn tag() -> Tag { tag::REDEMPTION_DATE }
28609}
28610
28611impl FieldValueReader for RedemptionDateField {
28612    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28613        self.0.read(raw)
28614    }
28615}
28616
28617impl FieldValueWriter for RedemptionDateField {
28618    fn write_to(&self, buf: &mut Vec<u8>) {
28619        self.0.write_to(buf);
28620    }
28621}
28622
28623impl FieldValue for RedemptionDateField {}
28624
28625
28626/// `RefAllocIDField` is a `STRING` field, Tag 72.
28627pub struct RefAllocIDField(pub FIXString);
28628
28629impl RefAllocIDField {
28630
28631    pub fn new(val: String) -> Self { Self(val) }
28632    pub fn value(&self) -> &str { &self.0 }
28633
28634    pub fn tag() -> Tag { tag::REF_ALLOC_ID }
28635}
28636
28637impl FieldValueReader for RefAllocIDField {
28638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28639        self.0.read(raw)
28640    }
28641}
28642
28643impl FieldValueWriter for RefAllocIDField {
28644    fn write_to(&self, buf: &mut Vec<u8>) {
28645        self.0.write_to(buf);
28646    }
28647}
28648
28649impl FieldValue for RefAllocIDField {}
28650
28651
28652/// `RefApplExtIDField` is a `INT` field, Tag 1406.
28653pub struct RefApplExtIDField(pub FIXInt);
28654
28655impl RefApplExtIDField {
28656
28657    pub fn new(val: isize) -> Self { Self(val) }
28658    pub fn value(&self) -> isize { self.0 }
28659
28660    pub fn tag() -> Tag { tag::REF_APPL_EXT_ID }
28661}
28662
28663impl FieldValueReader for RefApplExtIDField {
28664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28665        self.0.read(raw)
28666    }
28667}
28668
28669impl FieldValueWriter for RefApplExtIDField {
28670    fn write_to(&self, buf: &mut Vec<u8>) {
28671        self.0.write_to(buf);
28672    }
28673}
28674
28675impl FieldValue for RefApplExtIDField {}
28676
28677
28678/// `RefApplIDField` is a `STRING` field, Tag 1355.
28679pub struct RefApplIDField(pub FIXString);
28680
28681impl RefApplIDField {
28682
28683    pub fn new(val: String) -> Self { Self(val) }
28684    pub fn value(&self) -> &str { &self.0 }
28685
28686    pub fn tag() -> Tag { tag::REF_APPL_ID }
28687}
28688
28689impl FieldValueReader for RefApplIDField {
28690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28691        self.0.read(raw)
28692    }
28693}
28694
28695impl FieldValueWriter for RefApplIDField {
28696    fn write_to(&self, buf: &mut Vec<u8>) {
28697        self.0.write_to(buf);
28698    }
28699}
28700
28701impl FieldValue for RefApplIDField {}
28702
28703
28704/// `RefApplLastSeqNumField` is a `SEQNUM` field, Tag 1357.
28705pub struct RefApplLastSeqNumField(pub FIXInt);
28706
28707impl RefApplLastSeqNumField {
28708
28709    pub fn new(val: isize) -> Self { Self(val) }
28710    pub fn value(&self) -> isize { self.0 }
28711
28712    pub fn tag() -> Tag { tag::REF_APPL_LAST_SEQ_NUM }
28713}
28714
28715impl FieldValueReader for RefApplLastSeqNumField {
28716    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28717        self.0.read(raw)
28718    }
28719}
28720
28721impl FieldValueWriter for RefApplLastSeqNumField {
28722    fn write_to(&self, buf: &mut Vec<u8>) {
28723        self.0.write_to(buf);
28724    }
28725}
28726
28727impl FieldValue for RefApplLastSeqNumField {}
28728
28729
28730/// `RefApplReqIDField` is a `STRING` field, Tag 1433.
28731pub struct RefApplReqIDField(pub FIXString);
28732
28733impl RefApplReqIDField {
28734
28735    pub fn new(val: String) -> Self { Self(val) }
28736    pub fn value(&self) -> &str { &self.0 }
28737
28738    pub fn tag() -> Tag { tag::REF_APPL_REQ_ID }
28739}
28740
28741impl FieldValueReader for RefApplReqIDField {
28742    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28743        self.0.read(raw)
28744    }
28745}
28746
28747impl FieldValueWriter for RefApplReqIDField {
28748    fn write_to(&self, buf: &mut Vec<u8>) {
28749        self.0.write_to(buf);
28750    }
28751}
28752
28753impl FieldValue for RefApplReqIDField {}
28754
28755
28756/// `RefApplVerIDField` is a `STRING` field, Tag 1130.
28757pub struct RefApplVerIDField(pub FIXString);
28758
28759impl RefApplVerIDField {
28760
28761    pub fn new(val: String) -> Self { Self(val) }
28762    pub fn value(&self) -> &str { &self.0 }
28763
28764    pub fn tag() -> Tag { tag::REF_APPL_VER_ID }
28765}
28766
28767impl FieldValueReader for RefApplVerIDField {
28768    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28769        self.0.read(raw)
28770    }
28771}
28772
28773impl FieldValueWriter for RefApplVerIDField {
28774    fn write_to(&self, buf: &mut Vec<u8>) {
28775        self.0.write_to(buf);
28776    }
28777}
28778
28779impl FieldValue for RefApplVerIDField {}
28780
28781
28782/// `RefCompIDField` is a `STRING` field, Tag 930.
28783pub struct RefCompIDField(pub FIXString);
28784
28785impl RefCompIDField {
28786
28787    pub fn new(val: String) -> Self { Self(val) }
28788    pub fn value(&self) -> &str { &self.0 }
28789
28790    pub fn tag() -> Tag { tag::REF_COMP_ID }
28791}
28792
28793impl FieldValueReader for RefCompIDField {
28794    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28795        self.0.read(raw)
28796    }
28797}
28798
28799impl FieldValueWriter for RefCompIDField {
28800    fn write_to(&self, buf: &mut Vec<u8>) {
28801        self.0.write_to(buf);
28802    }
28803}
28804
28805impl FieldValue for RefCompIDField {}
28806
28807
28808/// `RefCstmApplVerIDField` is a `STRING` field, Tag 1131.
28809pub struct RefCstmApplVerIDField(pub FIXString);
28810
28811impl RefCstmApplVerIDField {
28812
28813    pub fn new(val: String) -> Self { Self(val) }
28814    pub fn value(&self) -> &str { &self.0 }
28815
28816    pub fn tag() -> Tag { tag::REF_CSTM_APPL_VER_ID }
28817}
28818
28819impl FieldValueReader for RefCstmApplVerIDField {
28820    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28821        self.0.read(raw)
28822    }
28823}
28824
28825impl FieldValueWriter for RefCstmApplVerIDField {
28826    fn write_to(&self, buf: &mut Vec<u8>) {
28827        self.0.write_to(buf);
28828    }
28829}
28830
28831impl FieldValue for RefCstmApplVerIDField {}
28832
28833
28834/// `RefMsgTypeField` is a `STRING` field, Tag 372.
28835pub struct RefMsgTypeField(pub FIXString);
28836
28837impl RefMsgTypeField {
28838
28839    pub fn new(val: String) -> Self { Self(val) }
28840    pub fn value(&self) -> &str { &self.0 }
28841
28842    pub fn tag() -> Tag { tag::REF_MSG_TYPE }
28843}
28844
28845impl FieldValueReader for RefMsgTypeField {
28846    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28847        self.0.read(raw)
28848    }
28849}
28850
28851impl FieldValueWriter for RefMsgTypeField {
28852    fn write_to(&self, buf: &mut Vec<u8>) {
28853        self.0.write_to(buf);
28854    }
28855}
28856
28857impl FieldValue for RefMsgTypeField {}
28858
28859
28860/// `RefOrdIDReasonField` is a `INT` field, Tag 1431.
28861pub struct RefOrdIDReasonField(pub FIXInt);
28862
28863impl RefOrdIDReasonField {
28864
28865    pub fn new(val: isize) -> Self { Self(val) }
28866    pub fn value(&self) -> isize { self.0 }
28867
28868    pub fn tag() -> Tag { tag::REF_ORD_ID_REASON }
28869}
28870
28871impl FieldValueReader for RefOrdIDReasonField {
28872    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28873        self.0.read(raw)
28874    }
28875}
28876
28877impl FieldValueWriter for RefOrdIDReasonField {
28878    fn write_to(&self, buf: &mut Vec<u8>) {
28879        self.0.write_to(buf);
28880    }
28881}
28882
28883impl FieldValue for RefOrdIDReasonField {}
28884
28885
28886/// `RefOrderIDField` is a `STRING` field, Tag 1080.
28887pub struct RefOrderIDField(pub FIXString);
28888
28889impl RefOrderIDField {
28890
28891    pub fn new(val: String) -> Self { Self(val) }
28892    pub fn value(&self) -> &str { &self.0 }
28893
28894    pub fn tag() -> Tag { tag::REF_ORDER_ID }
28895}
28896
28897impl FieldValueReader for RefOrderIDField {
28898    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28899        self.0.read(raw)
28900    }
28901}
28902
28903impl FieldValueWriter for RefOrderIDField {
28904    fn write_to(&self, buf: &mut Vec<u8>) {
28905        self.0.write_to(buf);
28906    }
28907}
28908
28909impl FieldValue for RefOrderIDField {}
28910
28911
28912/// `RefOrderIDSourceField` is a `CHAR` field, Tag 1081.
28913pub struct RefOrderIDSourceField(pub FIXString);
28914
28915impl RefOrderIDSourceField {
28916
28917    pub fn new(val: String) -> Self { Self(val) }
28918    pub fn value(&self) -> &str { &self.0 }
28919
28920    pub fn tag() -> Tag { tag::REF_ORDER_ID_SOURCE }
28921}
28922
28923impl FieldValueReader for RefOrderIDSourceField {
28924    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28925        self.0.read(raw)
28926    }
28927}
28928
28929impl FieldValueWriter for RefOrderIDSourceField {
28930    fn write_to(&self, buf: &mut Vec<u8>) {
28931        self.0.write_to(buf);
28932    }
28933}
28934
28935impl FieldValue for RefOrderIDSourceField {}
28936
28937
28938/// `RefSeqNumField` is a `SEQNUM` field, Tag 45.
28939pub struct RefSeqNumField(pub FIXInt);
28940
28941impl RefSeqNumField {
28942
28943    pub fn new(val: isize) -> Self { Self(val) }
28944    pub fn value(&self) -> isize { self.0 }
28945
28946    pub fn tag() -> Tag { tag::REF_SEQ_NUM }
28947}
28948
28949impl FieldValueReader for RefSeqNumField {
28950    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28951        self.0.read(raw)
28952    }
28953}
28954
28955impl FieldValueWriter for RefSeqNumField {
28956    fn write_to(&self, buf: &mut Vec<u8>) {
28957        self.0.write_to(buf);
28958    }
28959}
28960
28961impl FieldValue for RefSeqNumField {}
28962
28963
28964/// `RefSubIDField` is a `STRING` field, Tag 931.
28965pub struct RefSubIDField(pub FIXString);
28966
28967impl RefSubIDField {
28968
28969    pub fn new(val: String) -> Self { Self(val) }
28970    pub fn value(&self) -> &str { &self.0 }
28971
28972    pub fn tag() -> Tag { tag::REF_SUB_ID }
28973}
28974
28975impl FieldValueReader for RefSubIDField {
28976    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
28977        self.0.read(raw)
28978    }
28979}
28980
28981impl FieldValueWriter for RefSubIDField {
28982    fn write_to(&self, buf: &mut Vec<u8>) {
28983        self.0.write_to(buf);
28984    }
28985}
28986
28987impl FieldValue for RefSubIDField {}
28988
28989
28990/// `RefTagIDField` is a `INT` field, Tag 371.
28991pub struct RefTagIDField(pub FIXInt);
28992
28993impl RefTagIDField {
28994
28995    pub fn new(val: isize) -> Self { Self(val) }
28996    pub fn value(&self) -> isize { self.0 }
28997
28998    pub fn tag() -> Tag { tag::REF_TAG_ID }
28999}
29000
29001impl FieldValueReader for RefTagIDField {
29002    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29003        self.0.read(raw)
29004    }
29005}
29006
29007impl FieldValueWriter for RefTagIDField {
29008    fn write_to(&self, buf: &mut Vec<u8>) {
29009        self.0.write_to(buf);
29010    }
29011}
29012
29013impl FieldValue for RefTagIDField {}
29014
29015
29016/// `ReferencePageField` is a `STRING` field, Tag 1448.
29017pub struct ReferencePageField(pub FIXString);
29018
29019impl ReferencePageField {
29020
29021    pub fn new(val: String) -> Self { Self(val) }
29022    pub fn value(&self) -> &str { &self.0 }
29023
29024    pub fn tag() -> Tag { tag::REFERENCE_PAGE }
29025}
29026
29027impl FieldValueReader for ReferencePageField {
29028    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29029        self.0.read(raw)
29030    }
29031}
29032
29033impl FieldValueWriter for ReferencePageField {
29034    fn write_to(&self, buf: &mut Vec<u8>) {
29035        self.0.write_to(buf);
29036    }
29037}
29038
29039impl FieldValue for ReferencePageField {}
29040
29041
29042/// `RefreshIndicatorField` is a `BOOLEAN` field, Tag 1187.
29043pub struct RefreshIndicatorField(pub FIXBoolean);
29044
29045impl RefreshIndicatorField {
29046
29047    pub fn new(val: bool) -> Self { Self(val) }
29048    pub fn value(&self) -> bool { self.0 }
29049
29050    pub fn tag() -> Tag { tag::REFRESH_INDICATOR }
29051}
29052
29053impl FieldValueReader for RefreshIndicatorField {
29054    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29055        self.0.read(raw)
29056    }
29057}
29058
29059impl FieldValueWriter for RefreshIndicatorField {
29060    fn write_to(&self, buf: &mut Vec<u8>) {
29061        self.0.write_to(buf);
29062    }
29063}
29064
29065impl FieldValue for RefreshIndicatorField {}
29066
29067
29068/// `RefreshQtyField` is a `QTY` field, Tag 1088.
29069pub struct RefreshQtyField(pub FIXDecimal);
29070
29071impl RefreshQtyField {
29072
29073    pub fn new(val: Decimal, scale: i32) -> Self {
29074        Self(FIXDecimal { decimal: val, scale })
29075    }
29076    pub fn value(&self) -> Decimal { self.0.decimal }
29077
29078    pub fn tag() -> Tag { tag::REFRESH_QTY }
29079}
29080
29081impl FieldValueReader for RefreshQtyField {
29082    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29083        self.0.read(raw)
29084    }
29085}
29086
29087impl FieldValueWriter for RefreshQtyField {
29088    fn write_to(&self, buf: &mut Vec<u8>) {
29089        self.0.write_to(buf);
29090    }
29091}
29092
29093impl FieldValue for RefreshQtyField {}
29094
29095
29096/// `RegistAcctTypeField` is a `STRING` field, Tag 493.
29097pub struct RegistAcctTypeField(pub FIXString);
29098
29099impl RegistAcctTypeField {
29100
29101    pub fn new(val: String) -> Self { Self(val) }
29102    pub fn value(&self) -> &str { &self.0 }
29103
29104    pub fn tag() -> Tag { tag::REGIST_ACCT_TYPE }
29105}
29106
29107impl FieldValueReader for RegistAcctTypeField {
29108    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29109        self.0.read(raw)
29110    }
29111}
29112
29113impl FieldValueWriter for RegistAcctTypeField {
29114    fn write_to(&self, buf: &mut Vec<u8>) {
29115        self.0.write_to(buf);
29116    }
29117}
29118
29119impl FieldValue for RegistAcctTypeField {}
29120
29121
29122/// `RegistDetlsField` is a `STRING` field, Tag 509.
29123pub struct RegistDetlsField(pub FIXString);
29124
29125impl RegistDetlsField {
29126
29127    pub fn new(val: String) -> Self { Self(val) }
29128    pub fn value(&self) -> &str { &self.0 }
29129
29130    pub fn tag() -> Tag { tag::REGIST_DETLS }
29131}
29132
29133impl FieldValueReader for RegistDetlsField {
29134    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29135        self.0.read(raw)
29136    }
29137}
29138
29139impl FieldValueWriter for RegistDetlsField {
29140    fn write_to(&self, buf: &mut Vec<u8>) {
29141        self.0.write_to(buf);
29142    }
29143}
29144
29145impl FieldValue for RegistDetlsField {}
29146
29147
29148/// `RegistDtlsField` is a `STRING` field, Tag 509.
29149pub struct RegistDtlsField(pub FIXString);
29150
29151impl RegistDtlsField {
29152
29153    pub fn new(val: String) -> Self { Self(val) }
29154    pub fn value(&self) -> &str { &self.0 }
29155
29156    pub fn tag() -> Tag { tag::REGIST_DTLS }
29157}
29158
29159impl FieldValueReader for RegistDtlsField {
29160    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29161        self.0.read(raw)
29162    }
29163}
29164
29165impl FieldValueWriter for RegistDtlsField {
29166    fn write_to(&self, buf: &mut Vec<u8>) {
29167        self.0.write_to(buf);
29168    }
29169}
29170
29171impl FieldValue for RegistDtlsField {}
29172
29173
29174/// `RegistEmailField` is a `STRING` field, Tag 511.
29175pub struct RegistEmailField(pub FIXString);
29176
29177impl RegistEmailField {
29178
29179    pub fn new(val: String) -> Self { Self(val) }
29180    pub fn value(&self) -> &str { &self.0 }
29181
29182    pub fn tag() -> Tag { tag::REGIST_EMAIL }
29183}
29184
29185impl FieldValueReader for RegistEmailField {
29186    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29187        self.0.read(raw)
29188    }
29189}
29190
29191impl FieldValueWriter for RegistEmailField {
29192    fn write_to(&self, buf: &mut Vec<u8>) {
29193        self.0.write_to(buf);
29194    }
29195}
29196
29197impl FieldValue for RegistEmailField {}
29198
29199
29200/// `RegistIDField` is a `STRING` field, Tag 513.
29201pub struct RegistIDField(pub FIXString);
29202
29203impl RegistIDField {
29204
29205    pub fn new(val: String) -> Self { Self(val) }
29206    pub fn value(&self) -> &str { &self.0 }
29207
29208    pub fn tag() -> Tag { tag::REGIST_ID }
29209}
29210
29211impl FieldValueReader for RegistIDField {
29212    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29213        self.0.read(raw)
29214    }
29215}
29216
29217impl FieldValueWriter for RegistIDField {
29218    fn write_to(&self, buf: &mut Vec<u8>) {
29219        self.0.write_to(buf);
29220    }
29221}
29222
29223impl FieldValue for RegistIDField {}
29224
29225
29226/// `RegistRefIDField` is a `STRING` field, Tag 508.
29227pub struct RegistRefIDField(pub FIXString);
29228
29229impl RegistRefIDField {
29230
29231    pub fn new(val: String) -> Self { Self(val) }
29232    pub fn value(&self) -> &str { &self.0 }
29233
29234    pub fn tag() -> Tag { tag::REGIST_REF_ID }
29235}
29236
29237impl FieldValueReader for RegistRefIDField {
29238    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29239        self.0.read(raw)
29240    }
29241}
29242
29243impl FieldValueWriter for RegistRefIDField {
29244    fn write_to(&self, buf: &mut Vec<u8>) {
29245        self.0.write_to(buf);
29246    }
29247}
29248
29249impl FieldValue for RegistRefIDField {}
29250
29251
29252/// `RegistRejReasonCodeField` is a `INT` field, Tag 507.
29253pub struct RegistRejReasonCodeField(pub FIXInt);
29254
29255impl RegistRejReasonCodeField {
29256
29257    pub fn new(val: isize) -> Self { Self(val) }
29258    pub fn value(&self) -> isize { self.0 }
29259
29260    pub fn tag() -> Tag { tag::REGIST_REJ_REASON_CODE }
29261}
29262
29263impl FieldValueReader for RegistRejReasonCodeField {
29264    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29265        self.0.read(raw)
29266    }
29267}
29268
29269impl FieldValueWriter for RegistRejReasonCodeField {
29270    fn write_to(&self, buf: &mut Vec<u8>) {
29271        self.0.write_to(buf);
29272    }
29273}
29274
29275impl FieldValue for RegistRejReasonCodeField {}
29276
29277
29278/// `RegistRejReasonTextField` is a `STRING` field, Tag 496.
29279pub struct RegistRejReasonTextField(pub FIXString);
29280
29281impl RegistRejReasonTextField {
29282
29283    pub fn new(val: String) -> Self { Self(val) }
29284    pub fn value(&self) -> &str { &self.0 }
29285
29286    pub fn tag() -> Tag { tag::REGIST_REJ_REASON_TEXT }
29287}
29288
29289impl FieldValueReader for RegistRejReasonTextField {
29290    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29291        self.0.read(raw)
29292    }
29293}
29294
29295impl FieldValueWriter for RegistRejReasonTextField {
29296    fn write_to(&self, buf: &mut Vec<u8>) {
29297        self.0.write_to(buf);
29298    }
29299}
29300
29301impl FieldValue for RegistRejReasonTextField {}
29302
29303
29304/// `RegistStatusField` is a `CHAR` field, Tag 506.
29305pub struct RegistStatusField(pub FIXString);
29306
29307impl RegistStatusField {
29308
29309    pub fn new(val: String) -> Self { Self(val) }
29310    pub fn value(&self) -> &str { &self.0 }
29311
29312    pub fn tag() -> Tag { tag::REGIST_STATUS }
29313}
29314
29315impl FieldValueReader for RegistStatusField {
29316    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29317        self.0.read(raw)
29318    }
29319}
29320
29321impl FieldValueWriter for RegistStatusField {
29322    fn write_to(&self, buf: &mut Vec<u8>) {
29323        self.0.write_to(buf);
29324    }
29325}
29326
29327impl FieldValue for RegistStatusField {}
29328
29329
29330/// `RegistTransTypeField` is a `CHAR` field, Tag 514.
29331pub struct RegistTransTypeField(pub FIXString);
29332
29333impl RegistTransTypeField {
29334
29335    pub fn new(val: String) -> Self { Self(val) }
29336    pub fn value(&self) -> &str { &self.0 }
29337
29338    pub fn tag() -> Tag { tag::REGIST_TRANS_TYPE }
29339}
29340
29341impl FieldValueReader for RegistTransTypeField {
29342    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29343        self.0.read(raw)
29344    }
29345}
29346
29347impl FieldValueWriter for RegistTransTypeField {
29348    fn write_to(&self, buf: &mut Vec<u8>) {
29349        self.0.write_to(buf);
29350    }
29351}
29352
29353impl FieldValue for RegistTransTypeField {}
29354
29355
29356/// `RejectTextField` is a `STRING` field, Tag 1328.
29357pub struct RejectTextField(pub FIXString);
29358
29359impl RejectTextField {
29360
29361    pub fn new(val: String) -> Self { Self(val) }
29362    pub fn value(&self) -> &str { &self.0 }
29363
29364    pub fn tag() -> Tag { tag::REJECT_TEXT }
29365}
29366
29367impl FieldValueReader for RejectTextField {
29368    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29369        self.0.read(raw)
29370    }
29371}
29372
29373impl FieldValueWriter for RejectTextField {
29374    fn write_to(&self, buf: &mut Vec<u8>) {
29375        self.0.write_to(buf);
29376    }
29377}
29378
29379impl FieldValue for RejectTextField {}
29380
29381
29382/// `RelSymTransactTimeField` is a `UTCTIMESTAMP` field, Tag 1504.
29383pub struct RelSymTransactTimeField(pub FIXUTCTimestamp);
29384
29385impl RelSymTransactTimeField {
29386
29387    pub fn new(val: Timestamp) -> Self {
29388        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
29389    }
29390    pub fn value(&self) -> Timestamp { self.0.time }
29391
29392    pub fn tag() -> Tag { tag::REL_SYM_TRANSACT_TIME }
29393}
29394
29395impl FieldValueReader for RelSymTransactTimeField {
29396    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29397        self.0.read(raw)
29398    }
29399}
29400
29401impl FieldValueWriter for RelSymTransactTimeField {
29402    fn write_to(&self, buf: &mut Vec<u8>) {
29403        self.0.write_to(buf);
29404    }
29405}
29406
29407impl FieldValue for RelSymTransactTimeField {}
29408
29409
29410/// `RelatdSymField` is a `STRING` field, Tag 46.
29411pub struct RelatdSymField(pub FIXString);
29412
29413impl RelatdSymField {
29414
29415    pub fn new(val: String) -> Self { Self(val) }
29416    pub fn value(&self) -> &str { &self.0 }
29417
29418    pub fn tag() -> Tag { tag::RELATD_SYM }
29419}
29420
29421impl FieldValueReader for RelatdSymField {
29422    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29423        self.0.read(raw)
29424    }
29425}
29426
29427impl FieldValueWriter for RelatdSymField {
29428    fn write_to(&self, buf: &mut Vec<u8>) {
29429        self.0.write_to(buf);
29430    }
29431}
29432
29433impl FieldValue for RelatdSymField {}
29434
29435
29436/// `RelatedContextPartyIDField` is a `STRING` field, Tag 1576.
29437pub struct RelatedContextPartyIDField(pub FIXString);
29438
29439impl RelatedContextPartyIDField {
29440
29441    pub fn new(val: String) -> Self { Self(val) }
29442    pub fn value(&self) -> &str { &self.0 }
29443
29444    pub fn tag() -> Tag { tag::RELATED_CONTEXT_PARTY_ID }
29445}
29446
29447impl FieldValueReader for RelatedContextPartyIDField {
29448    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29449        self.0.read(raw)
29450    }
29451}
29452
29453impl FieldValueWriter for RelatedContextPartyIDField {
29454    fn write_to(&self, buf: &mut Vec<u8>) {
29455        self.0.write_to(buf);
29456    }
29457}
29458
29459impl FieldValue for RelatedContextPartyIDField {}
29460
29461
29462/// `RelatedContextPartyIDSourceField` is a `CHAR` field, Tag 1577.
29463pub struct RelatedContextPartyIDSourceField(pub FIXString);
29464
29465impl RelatedContextPartyIDSourceField {
29466
29467    pub fn new(val: String) -> Self { Self(val) }
29468    pub fn value(&self) -> &str { &self.0 }
29469
29470    pub fn tag() -> Tag { tag::RELATED_CONTEXT_PARTY_ID_SOURCE }
29471}
29472
29473impl FieldValueReader for RelatedContextPartyIDSourceField {
29474    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29475        self.0.read(raw)
29476    }
29477}
29478
29479impl FieldValueWriter for RelatedContextPartyIDSourceField {
29480    fn write_to(&self, buf: &mut Vec<u8>) {
29481        self.0.write_to(buf);
29482    }
29483}
29484
29485impl FieldValue for RelatedContextPartyIDSourceField {}
29486
29487
29488/// `RelatedContextPartyRoleField` is a `INT` field, Tag 1578.
29489pub struct RelatedContextPartyRoleField(pub FIXInt);
29490
29491impl RelatedContextPartyRoleField {
29492
29493    pub fn new(val: isize) -> Self { Self(val) }
29494    pub fn value(&self) -> isize { self.0 }
29495
29496    pub fn tag() -> Tag { tag::RELATED_CONTEXT_PARTY_ROLE }
29497}
29498
29499impl FieldValueReader for RelatedContextPartyRoleField {
29500    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29501        self.0.read(raw)
29502    }
29503}
29504
29505impl FieldValueWriter for RelatedContextPartyRoleField {
29506    fn write_to(&self, buf: &mut Vec<u8>) {
29507        self.0.write_to(buf);
29508    }
29509}
29510
29511impl FieldValue for RelatedContextPartyRoleField {}
29512
29513
29514/// `RelatedContextPartySubIDField` is a `STRING` field, Tag 1580.
29515pub struct RelatedContextPartySubIDField(pub FIXString);
29516
29517impl RelatedContextPartySubIDField {
29518
29519    pub fn new(val: String) -> Self { Self(val) }
29520    pub fn value(&self) -> &str { &self.0 }
29521
29522    pub fn tag() -> Tag { tag::RELATED_CONTEXT_PARTY_SUB_ID }
29523}
29524
29525impl FieldValueReader for RelatedContextPartySubIDField {
29526    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29527        self.0.read(raw)
29528    }
29529}
29530
29531impl FieldValueWriter for RelatedContextPartySubIDField {
29532    fn write_to(&self, buf: &mut Vec<u8>) {
29533        self.0.write_to(buf);
29534    }
29535}
29536
29537impl FieldValue for RelatedContextPartySubIDField {}
29538
29539
29540/// `RelatedContextPartySubIDTypeField` is a `INT` field, Tag 1581.
29541pub struct RelatedContextPartySubIDTypeField(pub FIXInt);
29542
29543impl RelatedContextPartySubIDTypeField {
29544
29545    pub fn new(val: isize) -> Self { Self(val) }
29546    pub fn value(&self) -> isize { self.0 }
29547
29548    pub fn tag() -> Tag { tag::RELATED_CONTEXT_PARTY_SUB_ID_TYPE }
29549}
29550
29551impl FieldValueReader for RelatedContextPartySubIDTypeField {
29552    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29553        self.0.read(raw)
29554    }
29555}
29556
29557impl FieldValueWriter for RelatedContextPartySubIDTypeField {
29558    fn write_to(&self, buf: &mut Vec<u8>) {
29559        self.0.write_to(buf);
29560    }
29561}
29562
29563impl FieldValue for RelatedContextPartySubIDTypeField {}
29564
29565
29566/// `RelatedPartyAltIDField` is a `STRING` field, Tag 1570.
29567pub struct RelatedPartyAltIDField(pub FIXString);
29568
29569impl RelatedPartyAltIDField {
29570
29571    pub fn new(val: String) -> Self { Self(val) }
29572    pub fn value(&self) -> &str { &self.0 }
29573
29574    pub fn tag() -> Tag { tag::RELATED_PARTY_ALT_ID }
29575}
29576
29577impl FieldValueReader for RelatedPartyAltIDField {
29578    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29579        self.0.read(raw)
29580    }
29581}
29582
29583impl FieldValueWriter for RelatedPartyAltIDField {
29584    fn write_to(&self, buf: &mut Vec<u8>) {
29585        self.0.write_to(buf);
29586    }
29587}
29588
29589impl FieldValue for RelatedPartyAltIDField {}
29590
29591
29592/// `RelatedPartyAltIDSourceField` is a `CHAR` field, Tag 1571.
29593pub struct RelatedPartyAltIDSourceField(pub FIXString);
29594
29595impl RelatedPartyAltIDSourceField {
29596
29597    pub fn new(val: String) -> Self { Self(val) }
29598    pub fn value(&self) -> &str { &self.0 }
29599
29600    pub fn tag() -> Tag { tag::RELATED_PARTY_ALT_ID_SOURCE }
29601}
29602
29603impl FieldValueReader for RelatedPartyAltIDSourceField {
29604    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29605        self.0.read(raw)
29606    }
29607}
29608
29609impl FieldValueWriter for RelatedPartyAltIDSourceField {
29610    fn write_to(&self, buf: &mut Vec<u8>) {
29611        self.0.write_to(buf);
29612    }
29613}
29614
29615impl FieldValue for RelatedPartyAltIDSourceField {}
29616
29617
29618/// `RelatedPartyAltSubIDField` is a `STRING` field, Tag 1573.
29619pub struct RelatedPartyAltSubIDField(pub FIXString);
29620
29621impl RelatedPartyAltSubIDField {
29622
29623    pub fn new(val: String) -> Self { Self(val) }
29624    pub fn value(&self) -> &str { &self.0 }
29625
29626    pub fn tag() -> Tag { tag::RELATED_PARTY_ALT_SUB_ID }
29627}
29628
29629impl FieldValueReader for RelatedPartyAltSubIDField {
29630    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29631        self.0.read(raw)
29632    }
29633}
29634
29635impl FieldValueWriter for RelatedPartyAltSubIDField {
29636    fn write_to(&self, buf: &mut Vec<u8>) {
29637        self.0.write_to(buf);
29638    }
29639}
29640
29641impl FieldValue for RelatedPartyAltSubIDField {}
29642
29643
29644/// `RelatedPartyAltSubIDTypeField` is a `INT` field, Tag 1574.
29645pub struct RelatedPartyAltSubIDTypeField(pub FIXInt);
29646
29647impl RelatedPartyAltSubIDTypeField {
29648
29649    pub fn new(val: isize) -> Self { Self(val) }
29650    pub fn value(&self) -> isize { self.0 }
29651
29652    pub fn tag() -> Tag { tag::RELATED_PARTY_ALT_SUB_ID_TYPE }
29653}
29654
29655impl FieldValueReader for RelatedPartyAltSubIDTypeField {
29656    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29657        self.0.read(raw)
29658    }
29659}
29660
29661impl FieldValueWriter for RelatedPartyAltSubIDTypeField {
29662    fn write_to(&self, buf: &mut Vec<u8>) {
29663        self.0.write_to(buf);
29664    }
29665}
29666
29667impl FieldValue for RelatedPartyAltSubIDTypeField {}
29668
29669
29670/// `RelatedPartyIDField` is a `STRING` field, Tag 1563.
29671pub struct RelatedPartyIDField(pub FIXString);
29672
29673impl RelatedPartyIDField {
29674
29675    pub fn new(val: String) -> Self { Self(val) }
29676    pub fn value(&self) -> &str { &self.0 }
29677
29678    pub fn tag() -> Tag { tag::RELATED_PARTY_ID }
29679}
29680
29681impl FieldValueReader for RelatedPartyIDField {
29682    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29683        self.0.read(raw)
29684    }
29685}
29686
29687impl FieldValueWriter for RelatedPartyIDField {
29688    fn write_to(&self, buf: &mut Vec<u8>) {
29689        self.0.write_to(buf);
29690    }
29691}
29692
29693impl FieldValue for RelatedPartyIDField {}
29694
29695
29696/// `RelatedPartyIDSourceField` is a `CHAR` field, Tag 1564.
29697pub struct RelatedPartyIDSourceField(pub FIXString);
29698
29699impl RelatedPartyIDSourceField {
29700
29701    pub fn new(val: String) -> Self { Self(val) }
29702    pub fn value(&self) -> &str { &self.0 }
29703
29704    pub fn tag() -> Tag { tag::RELATED_PARTY_ID_SOURCE }
29705}
29706
29707impl FieldValueReader for RelatedPartyIDSourceField {
29708    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29709        self.0.read(raw)
29710    }
29711}
29712
29713impl FieldValueWriter for RelatedPartyIDSourceField {
29714    fn write_to(&self, buf: &mut Vec<u8>) {
29715        self.0.write_to(buf);
29716    }
29717}
29718
29719impl FieldValue for RelatedPartyIDSourceField {}
29720
29721
29722/// `RelatedPartyRoleField` is a `INT` field, Tag 1565.
29723pub struct RelatedPartyRoleField(pub FIXInt);
29724
29725impl RelatedPartyRoleField {
29726
29727    pub fn new(val: isize) -> Self { Self(val) }
29728    pub fn value(&self) -> isize { self.0 }
29729
29730    pub fn tag() -> Tag { tag::RELATED_PARTY_ROLE }
29731}
29732
29733impl FieldValueReader for RelatedPartyRoleField {
29734    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29735        self.0.read(raw)
29736    }
29737}
29738
29739impl FieldValueWriter for RelatedPartyRoleField {
29740    fn write_to(&self, buf: &mut Vec<u8>) {
29741        self.0.write_to(buf);
29742    }
29743}
29744
29745impl FieldValue for RelatedPartyRoleField {}
29746
29747
29748/// `RelatedPartySubIDField` is a `STRING` field, Tag 1567.
29749pub struct RelatedPartySubIDField(pub FIXString);
29750
29751impl RelatedPartySubIDField {
29752
29753    pub fn new(val: String) -> Self { Self(val) }
29754    pub fn value(&self) -> &str { &self.0 }
29755
29756    pub fn tag() -> Tag { tag::RELATED_PARTY_SUB_ID }
29757}
29758
29759impl FieldValueReader for RelatedPartySubIDField {
29760    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29761        self.0.read(raw)
29762    }
29763}
29764
29765impl FieldValueWriter for RelatedPartySubIDField {
29766    fn write_to(&self, buf: &mut Vec<u8>) {
29767        self.0.write_to(buf);
29768    }
29769}
29770
29771impl FieldValue for RelatedPartySubIDField {}
29772
29773
29774/// `RelatedPartySubIDTypeField` is a `INT` field, Tag 1568.
29775pub struct RelatedPartySubIDTypeField(pub FIXInt);
29776
29777impl RelatedPartySubIDTypeField {
29778
29779    pub fn new(val: isize) -> Self { Self(val) }
29780    pub fn value(&self) -> isize { self.0 }
29781
29782    pub fn tag() -> Tag { tag::RELATED_PARTY_SUB_ID_TYPE }
29783}
29784
29785impl FieldValueReader for RelatedPartySubIDTypeField {
29786    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29787        self.0.read(raw)
29788    }
29789}
29790
29791impl FieldValueWriter for RelatedPartySubIDTypeField {
29792    fn write_to(&self, buf: &mut Vec<u8>) {
29793        self.0.write_to(buf);
29794    }
29795}
29796
29797impl FieldValue for RelatedPartySubIDTypeField {}
29798
29799
29800/// `RelationshipRiskCFICodeField` is a `STRING` field, Tag 1599.
29801pub struct RelationshipRiskCFICodeField(pub FIXString);
29802
29803impl RelationshipRiskCFICodeField {
29804
29805    pub fn new(val: String) -> Self { Self(val) }
29806    pub fn value(&self) -> &str { &self.0 }
29807
29808    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_CFI_CODE }
29809}
29810
29811impl FieldValueReader for RelationshipRiskCFICodeField {
29812    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29813        self.0.read(raw)
29814    }
29815}
29816
29817impl FieldValueWriter for RelationshipRiskCFICodeField {
29818    fn write_to(&self, buf: &mut Vec<u8>) {
29819        self.0.write_to(buf);
29820    }
29821}
29822
29823impl FieldValue for RelationshipRiskCFICodeField {}
29824
29825
29826/// `RelationshipRiskCouponRateField` is a `PERCENTAGE` field, Tag 1608.
29827pub struct RelationshipRiskCouponRateField(pub FIXDecimal);
29828
29829impl RelationshipRiskCouponRateField {
29830
29831    pub fn new(val: Decimal, scale: i32) -> Self {
29832        Self(FIXDecimal { decimal: val, scale })
29833    }
29834    pub fn value(&self) -> Decimal { self.0.decimal }
29835
29836    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_COUPON_RATE }
29837}
29838
29839impl FieldValueReader for RelationshipRiskCouponRateField {
29840    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29841        self.0.read(raw)
29842    }
29843}
29844
29845impl FieldValueWriter for RelationshipRiskCouponRateField {
29846    fn write_to(&self, buf: &mut Vec<u8>) {
29847        self.0.write_to(buf);
29848    }
29849}
29850
29851impl FieldValue for RelationshipRiskCouponRateField {}
29852
29853
29854/// `RelationshipRiskEncodedSecurityDescField` is a `DATA` field, Tag 1619.
29855pub struct RelationshipRiskEncodedSecurityDescField(pub FIXString);
29856
29857impl RelationshipRiskEncodedSecurityDescField {
29858
29859    pub fn new(val: String) -> Self { Self(val) }
29860    pub fn value(&self) -> &str { &self.0 }
29861
29862    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_ENCODED_SECURITY_DESC }
29863}
29864
29865impl FieldValueReader for RelationshipRiskEncodedSecurityDescField {
29866    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29867        self.0.read(raw)
29868    }
29869}
29870
29871impl FieldValueWriter for RelationshipRiskEncodedSecurityDescField {
29872    fn write_to(&self, buf: &mut Vec<u8>) {
29873        self.0.write_to(buf);
29874    }
29875}
29876
29877impl FieldValue for RelationshipRiskEncodedSecurityDescField {}
29878
29879
29880/// `RelationshipRiskEncodedSecurityDescLenField` is a `LENGTH` field, Tag 1618.
29881pub struct RelationshipRiskEncodedSecurityDescLenField(pub FIXInt);
29882
29883impl RelationshipRiskEncodedSecurityDescLenField {
29884
29885    pub fn new(val: isize) -> Self { Self(val) }
29886    pub fn value(&self) -> isize { self.0 }
29887
29888    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_ENCODED_SECURITY_DESC_LEN }
29889}
29890
29891impl FieldValueReader for RelationshipRiskEncodedSecurityDescLenField {
29892    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29893        self.0.read(raw)
29894    }
29895}
29896
29897impl FieldValueWriter for RelationshipRiskEncodedSecurityDescLenField {
29898    fn write_to(&self, buf: &mut Vec<u8>) {
29899        self.0.write_to(buf);
29900    }
29901}
29902
29903impl FieldValue for RelationshipRiskEncodedSecurityDescLenField {}
29904
29905
29906/// `RelationshipRiskFlexibleIndicatorField` is a `BOOLEAN` field, Tag 1607.
29907pub struct RelationshipRiskFlexibleIndicatorField(pub FIXBoolean);
29908
29909impl RelationshipRiskFlexibleIndicatorField {
29910
29911    pub fn new(val: bool) -> Self { Self(val) }
29912    pub fn value(&self) -> bool { self.0 }
29913
29914    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_FLEXIBLE_INDICATOR }
29915}
29916
29917impl FieldValueReader for RelationshipRiskFlexibleIndicatorField {
29918    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29919        self.0.read(raw)
29920    }
29921}
29922
29923impl FieldValueWriter for RelationshipRiskFlexibleIndicatorField {
29924    fn write_to(&self, buf: &mut Vec<u8>) {
29925        self.0.write_to(buf);
29926    }
29927}
29928
29929impl FieldValue for RelationshipRiskFlexibleIndicatorField {}
29930
29931
29932/// `RelationshipRiskInstrumentMultiplierField` is a `FLOAT` field, Tag 1612.
29933pub struct RelationshipRiskInstrumentMultiplierField(pub FIXDecimal);
29934
29935impl RelationshipRiskInstrumentMultiplierField {
29936
29937    pub fn new(val: Decimal, scale: i32) -> Self {
29938        Self(FIXDecimal { decimal: val, scale })
29939    }
29940    pub fn value(&self) -> Decimal { self.0.decimal }
29941
29942    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_INSTRUMENT_MULTIPLIER }
29943}
29944
29945impl FieldValueReader for RelationshipRiskInstrumentMultiplierField {
29946    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29947        self.0.read(raw)
29948    }
29949}
29950
29951impl FieldValueWriter for RelationshipRiskInstrumentMultiplierField {
29952    fn write_to(&self, buf: &mut Vec<u8>) {
29953        self.0.write_to(buf);
29954    }
29955}
29956
29957impl FieldValue for RelationshipRiskInstrumentMultiplierField {}
29958
29959
29960/// `RelationshipRiskInstrumentOperatorField` is a `INT` field, Tag 1588.
29961pub struct RelationshipRiskInstrumentOperatorField(pub FIXInt);
29962
29963impl RelationshipRiskInstrumentOperatorField {
29964
29965    pub fn new(val: isize) -> Self { Self(val) }
29966    pub fn value(&self) -> isize { self.0 }
29967
29968    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_INSTRUMENT_OPERATOR }
29969}
29970
29971impl FieldValueReader for RelationshipRiskInstrumentOperatorField {
29972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29973        self.0.read(raw)
29974    }
29975}
29976
29977impl FieldValueWriter for RelationshipRiskInstrumentOperatorField {
29978    fn write_to(&self, buf: &mut Vec<u8>) {
29979        self.0.write_to(buf);
29980    }
29981}
29982
29983impl FieldValue for RelationshipRiskInstrumentOperatorField {}
29984
29985
29986/// `RelationshipRiskInstrumentSettlTypeField` is a `STRING` field, Tag 1611.
29987pub struct RelationshipRiskInstrumentSettlTypeField(pub FIXString);
29988
29989impl RelationshipRiskInstrumentSettlTypeField {
29990
29991    pub fn new(val: String) -> Self { Self(val) }
29992    pub fn value(&self) -> &str { &self.0 }
29993
29994    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_INSTRUMENT_SETTL_TYPE }
29995}
29996
29997impl FieldValueReader for RelationshipRiskInstrumentSettlTypeField {
29998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
29999        self.0.read(raw)
30000    }
30001}
30002
30003impl FieldValueWriter for RelationshipRiskInstrumentSettlTypeField {
30004    fn write_to(&self, buf: &mut Vec<u8>) {
30005        self.0.write_to(buf);
30006    }
30007}
30008
30009impl FieldValue for RelationshipRiskInstrumentSettlTypeField {}
30010
30011
30012/// `RelationshipRiskLimitAmountField` is a `AMT` field, Tag 1584.
30013pub struct RelationshipRiskLimitAmountField(pub FIXDecimal);
30014
30015impl RelationshipRiskLimitAmountField {
30016
30017    pub fn new(val: Decimal, scale: i32) -> Self {
30018        Self(FIXDecimal { decimal: val, scale })
30019    }
30020    pub fn value(&self) -> Decimal { self.0.decimal }
30021
30022    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_LIMIT_AMOUNT }
30023}
30024
30025impl FieldValueReader for RelationshipRiskLimitAmountField {
30026    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30027        self.0.read(raw)
30028    }
30029}
30030
30031impl FieldValueWriter for RelationshipRiskLimitAmountField {
30032    fn write_to(&self, buf: &mut Vec<u8>) {
30033        self.0.write_to(buf);
30034    }
30035}
30036
30037impl FieldValue for RelationshipRiskLimitAmountField {}
30038
30039
30040/// `RelationshipRiskLimitCurrencyField` is a `CURRENCY` field, Tag 1585.
30041pub struct RelationshipRiskLimitCurrencyField(pub FIXString);
30042
30043impl RelationshipRiskLimitCurrencyField {
30044
30045    pub fn new(val: String) -> Self { Self(val) }
30046    pub fn value(&self) -> &str { &self.0 }
30047
30048    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_LIMIT_CURRENCY }
30049}
30050
30051impl FieldValueReader for RelationshipRiskLimitCurrencyField {
30052    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30053        self.0.read(raw)
30054    }
30055}
30056
30057impl FieldValueWriter for RelationshipRiskLimitCurrencyField {
30058    fn write_to(&self, buf: &mut Vec<u8>) {
30059        self.0.write_to(buf);
30060    }
30061}
30062
30063impl FieldValue for RelationshipRiskLimitCurrencyField {}
30064
30065
30066/// `RelationshipRiskLimitPlatformField` is a `STRING` field, Tag 1586.
30067pub struct RelationshipRiskLimitPlatformField(pub FIXString);
30068
30069impl RelationshipRiskLimitPlatformField {
30070
30071    pub fn new(val: String) -> Self { Self(val) }
30072    pub fn value(&self) -> &str { &self.0 }
30073
30074    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_LIMIT_PLATFORM }
30075}
30076
30077impl FieldValueReader for RelationshipRiskLimitPlatformField {
30078    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30079        self.0.read(raw)
30080    }
30081}
30082
30083impl FieldValueWriter for RelationshipRiskLimitPlatformField {
30084    fn write_to(&self, buf: &mut Vec<u8>) {
30085        self.0.write_to(buf);
30086    }
30087}
30088
30089impl FieldValue for RelationshipRiskLimitPlatformField {}
30090
30091
30092/// `RelationshipRiskLimitTypeField` is a `INT` field, Tag 1583.
30093pub struct RelationshipRiskLimitTypeField(pub FIXInt);
30094
30095impl RelationshipRiskLimitTypeField {
30096
30097    pub fn new(val: isize) -> Self { Self(val) }
30098    pub fn value(&self) -> isize { self.0 }
30099
30100    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_LIMIT_TYPE }
30101}
30102
30103impl FieldValueReader for RelationshipRiskLimitTypeField {
30104    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30105        self.0.read(raw)
30106    }
30107}
30108
30109impl FieldValueWriter for RelationshipRiskLimitTypeField {
30110    fn write_to(&self, buf: &mut Vec<u8>) {
30111        self.0.write_to(buf);
30112    }
30113}
30114
30115impl FieldValue for RelationshipRiskLimitTypeField {}
30116
30117
30118/// `RelationshipRiskMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1602.
30119pub struct RelationshipRiskMaturityMonthYearField(pub FIXString);
30120
30121impl RelationshipRiskMaturityMonthYearField {
30122
30123    pub fn new(val: String) -> Self { Self(val) }
30124    pub fn value(&self) -> &str { &self.0 }
30125
30126    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_MATURITY_MONTH_YEAR }
30127}
30128
30129impl FieldValueReader for RelationshipRiskMaturityMonthYearField {
30130    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30131        self.0.read(raw)
30132    }
30133}
30134
30135impl FieldValueWriter for RelationshipRiskMaturityMonthYearField {
30136    fn write_to(&self, buf: &mut Vec<u8>) {
30137        self.0.write_to(buf);
30138    }
30139}
30140
30141impl FieldValue for RelationshipRiskMaturityMonthYearField {}
30142
30143
30144/// `RelationshipRiskMaturityTimeField` is a `TZTIMEONLY` field, Tag 1603.
30145pub struct RelationshipRiskMaturityTimeField(pub FIXString);
30146
30147impl RelationshipRiskMaturityTimeField {
30148
30149    pub fn new(val: String) -> Self { Self(val) }
30150    pub fn value(&self) -> &str { &self.0 }
30151
30152    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_MATURITY_TIME }
30153}
30154
30155impl FieldValueReader for RelationshipRiskMaturityTimeField {
30156    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30157        self.0.read(raw)
30158    }
30159}
30160
30161impl FieldValueWriter for RelationshipRiskMaturityTimeField {
30162    fn write_to(&self, buf: &mut Vec<u8>) {
30163        self.0.write_to(buf);
30164    }
30165}
30166
30167impl FieldValue for RelationshipRiskMaturityTimeField {}
30168
30169
30170/// `RelationshipRiskProductField` is a `INT` field, Tag 1596.
30171pub struct RelationshipRiskProductField(pub FIXInt);
30172
30173impl RelationshipRiskProductField {
30174
30175    pub fn new(val: isize) -> Self { Self(val) }
30176    pub fn value(&self) -> isize { self.0 }
30177
30178    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_PRODUCT }
30179}
30180
30181impl FieldValueReader for RelationshipRiskProductField {
30182    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30183        self.0.read(raw)
30184    }
30185}
30186
30187impl FieldValueWriter for RelationshipRiskProductField {
30188    fn write_to(&self, buf: &mut Vec<u8>) {
30189        self.0.write_to(buf);
30190    }
30191}
30192
30193impl FieldValue for RelationshipRiskProductField {}
30194
30195
30196/// `RelationshipRiskProductComplexField` is a `STRING` field, Tag 1597.
30197pub struct RelationshipRiskProductComplexField(pub FIXString);
30198
30199impl RelationshipRiskProductComplexField {
30200
30201    pub fn new(val: String) -> Self { Self(val) }
30202    pub fn value(&self) -> &str { &self.0 }
30203
30204    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_PRODUCT_COMPLEX }
30205}
30206
30207impl FieldValueReader for RelationshipRiskProductComplexField {
30208    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30209        self.0.read(raw)
30210    }
30211}
30212
30213impl FieldValueWriter for RelationshipRiskProductComplexField {
30214    fn write_to(&self, buf: &mut Vec<u8>) {
30215        self.0.write_to(buf);
30216    }
30217}
30218
30219impl FieldValue for RelationshipRiskProductComplexField {}
30220
30221
30222/// `RelationshipRiskPutOrCallField` is a `INT` field, Tag 1606.
30223pub struct RelationshipRiskPutOrCallField(pub FIXInt);
30224
30225impl RelationshipRiskPutOrCallField {
30226
30227    pub fn new(val: isize) -> Self { Self(val) }
30228    pub fn value(&self) -> isize { self.0 }
30229
30230    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_PUT_OR_CALL }
30231}
30232
30233impl FieldValueReader for RelationshipRiskPutOrCallField {
30234    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30235        self.0.read(raw)
30236    }
30237}
30238
30239impl FieldValueWriter for RelationshipRiskPutOrCallField {
30240    fn write_to(&self, buf: &mut Vec<u8>) {
30241        self.0.write_to(buf);
30242    }
30243}
30244
30245impl FieldValue for RelationshipRiskPutOrCallField {}
30246
30247
30248/// `RelationshipRiskRestructuringTypeField` is a `STRING` field, Tag 1604.
30249pub struct RelationshipRiskRestructuringTypeField(pub FIXString);
30250
30251impl RelationshipRiskRestructuringTypeField {
30252
30253    pub fn new(val: String) -> Self { Self(val) }
30254    pub fn value(&self) -> &str { &self.0 }
30255
30256    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_RESTRUCTURING_TYPE }
30257}
30258
30259impl FieldValueReader for RelationshipRiskRestructuringTypeField {
30260    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30261        self.0.read(raw)
30262    }
30263}
30264
30265impl FieldValueWriter for RelationshipRiskRestructuringTypeField {
30266    fn write_to(&self, buf: &mut Vec<u8>) {
30267        self.0.write_to(buf);
30268    }
30269}
30270
30271impl FieldValue for RelationshipRiskRestructuringTypeField {}
30272
30273
30274/// `RelationshipRiskSecurityAltIDField` is a `STRING` field, Tag 1594.
30275pub struct RelationshipRiskSecurityAltIDField(pub FIXString);
30276
30277impl RelationshipRiskSecurityAltIDField {
30278
30279    pub fn new(val: String) -> Self { Self(val) }
30280    pub fn value(&self) -> &str { &self.0 }
30281
30282    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_ALT_ID }
30283}
30284
30285impl FieldValueReader for RelationshipRiskSecurityAltIDField {
30286    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30287        self.0.read(raw)
30288    }
30289}
30290
30291impl FieldValueWriter for RelationshipRiskSecurityAltIDField {
30292    fn write_to(&self, buf: &mut Vec<u8>) {
30293        self.0.write_to(buf);
30294    }
30295}
30296
30297impl FieldValue for RelationshipRiskSecurityAltIDField {}
30298
30299
30300/// `RelationshipRiskSecurityAltIDSourceField` is a `STRING` field, Tag 1595.
30301pub struct RelationshipRiskSecurityAltIDSourceField(pub FIXString);
30302
30303impl RelationshipRiskSecurityAltIDSourceField {
30304
30305    pub fn new(val: String) -> Self { Self(val) }
30306    pub fn value(&self) -> &str { &self.0 }
30307
30308    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_ALT_ID_SOURCE }
30309}
30310
30311impl FieldValueReader for RelationshipRiskSecurityAltIDSourceField {
30312    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30313        self.0.read(raw)
30314    }
30315}
30316
30317impl FieldValueWriter for RelationshipRiskSecurityAltIDSourceField {
30318    fn write_to(&self, buf: &mut Vec<u8>) {
30319        self.0.write_to(buf);
30320    }
30321}
30322
30323impl FieldValue for RelationshipRiskSecurityAltIDSourceField {}
30324
30325
30326/// `RelationshipRiskSecurityDescField` is a `STRING` field, Tag 1610.
30327pub struct RelationshipRiskSecurityDescField(pub FIXString);
30328
30329impl RelationshipRiskSecurityDescField {
30330
30331    pub fn new(val: String) -> Self { Self(val) }
30332    pub fn value(&self) -> &str { &self.0 }
30333
30334    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_DESC }
30335}
30336
30337impl FieldValueReader for RelationshipRiskSecurityDescField {
30338    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30339        self.0.read(raw)
30340    }
30341}
30342
30343impl FieldValueWriter for RelationshipRiskSecurityDescField {
30344    fn write_to(&self, buf: &mut Vec<u8>) {
30345        self.0.write_to(buf);
30346    }
30347}
30348
30349impl FieldValue for RelationshipRiskSecurityDescField {}
30350
30351
30352/// `RelationshipRiskSecurityExchangeField` is a `EXCHANGE` field, Tag 1609.
30353pub struct RelationshipRiskSecurityExchangeField(pub FIXString);
30354
30355impl RelationshipRiskSecurityExchangeField {
30356
30357    pub fn new(val: String) -> Self { Self(val) }
30358    pub fn value(&self) -> &str { &self.0 }
30359
30360    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_EXCHANGE }
30361}
30362
30363impl FieldValueReader for RelationshipRiskSecurityExchangeField {
30364    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30365        self.0.read(raw)
30366    }
30367}
30368
30369impl FieldValueWriter for RelationshipRiskSecurityExchangeField {
30370    fn write_to(&self, buf: &mut Vec<u8>) {
30371        self.0.write_to(buf);
30372    }
30373}
30374
30375impl FieldValue for RelationshipRiskSecurityExchangeField {}
30376
30377
30378/// `RelationshipRiskSecurityGroupField` is a `STRING` field, Tag 1598.
30379pub struct RelationshipRiskSecurityGroupField(pub FIXString);
30380
30381impl RelationshipRiskSecurityGroupField {
30382
30383    pub fn new(val: String) -> Self { Self(val) }
30384    pub fn value(&self) -> &str { &self.0 }
30385
30386    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_GROUP }
30387}
30388
30389impl FieldValueReader for RelationshipRiskSecurityGroupField {
30390    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30391        self.0.read(raw)
30392    }
30393}
30394
30395impl FieldValueWriter for RelationshipRiskSecurityGroupField {
30396    fn write_to(&self, buf: &mut Vec<u8>) {
30397        self.0.write_to(buf);
30398    }
30399}
30400
30401impl FieldValue for RelationshipRiskSecurityGroupField {}
30402
30403
30404/// `RelationshipRiskSecurityIDField` is a `STRING` field, Tag 1591.
30405pub struct RelationshipRiskSecurityIDField(pub FIXString);
30406
30407impl RelationshipRiskSecurityIDField {
30408
30409    pub fn new(val: String) -> Self { Self(val) }
30410    pub fn value(&self) -> &str { &self.0 }
30411
30412    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_ID }
30413}
30414
30415impl FieldValueReader for RelationshipRiskSecurityIDField {
30416    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30417        self.0.read(raw)
30418    }
30419}
30420
30421impl FieldValueWriter for RelationshipRiskSecurityIDField {
30422    fn write_to(&self, buf: &mut Vec<u8>) {
30423        self.0.write_to(buf);
30424    }
30425}
30426
30427impl FieldValue for RelationshipRiskSecurityIDField {}
30428
30429
30430/// `RelationshipRiskSecurityIDSourceField` is a `STRING` field, Tag 1592.
30431pub struct RelationshipRiskSecurityIDSourceField(pub FIXString);
30432
30433impl RelationshipRiskSecurityIDSourceField {
30434
30435    pub fn new(val: String) -> Self { Self(val) }
30436    pub fn value(&self) -> &str { &self.0 }
30437
30438    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_ID_SOURCE }
30439}
30440
30441impl FieldValueReader for RelationshipRiskSecurityIDSourceField {
30442    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30443        self.0.read(raw)
30444    }
30445}
30446
30447impl FieldValueWriter for RelationshipRiskSecurityIDSourceField {
30448    fn write_to(&self, buf: &mut Vec<u8>) {
30449        self.0.write_to(buf);
30450    }
30451}
30452
30453impl FieldValue for RelationshipRiskSecurityIDSourceField {}
30454
30455
30456/// `RelationshipRiskSecuritySubTypeField` is a `STRING` field, Tag 1601.
30457pub struct RelationshipRiskSecuritySubTypeField(pub FIXString);
30458
30459impl RelationshipRiskSecuritySubTypeField {
30460
30461    pub fn new(val: String) -> Self { Self(val) }
30462    pub fn value(&self) -> &str { &self.0 }
30463
30464    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_SUB_TYPE }
30465}
30466
30467impl FieldValueReader for RelationshipRiskSecuritySubTypeField {
30468    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30469        self.0.read(raw)
30470    }
30471}
30472
30473impl FieldValueWriter for RelationshipRiskSecuritySubTypeField {
30474    fn write_to(&self, buf: &mut Vec<u8>) {
30475        self.0.write_to(buf);
30476    }
30477}
30478
30479impl FieldValue for RelationshipRiskSecuritySubTypeField {}
30480
30481
30482/// `RelationshipRiskSecurityTypeField` is a `STRING` field, Tag 1600.
30483pub struct RelationshipRiskSecurityTypeField(pub FIXString);
30484
30485impl RelationshipRiskSecurityTypeField {
30486
30487    pub fn new(val: String) -> Self { Self(val) }
30488    pub fn value(&self) -> &str { &self.0 }
30489
30490    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SECURITY_TYPE }
30491}
30492
30493impl FieldValueReader for RelationshipRiskSecurityTypeField {
30494    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30495        self.0.read(raw)
30496    }
30497}
30498
30499impl FieldValueWriter for RelationshipRiskSecurityTypeField {
30500    fn write_to(&self, buf: &mut Vec<u8>) {
30501        self.0.write_to(buf);
30502    }
30503}
30504
30505impl FieldValue for RelationshipRiskSecurityTypeField {}
30506
30507
30508/// `RelationshipRiskSeniorityField` is a `STRING` field, Tag 1605.
30509pub struct RelationshipRiskSeniorityField(pub FIXString);
30510
30511impl RelationshipRiskSeniorityField {
30512
30513    pub fn new(val: String) -> Self { Self(val) }
30514    pub fn value(&self) -> &str { &self.0 }
30515
30516    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SENIORITY }
30517}
30518
30519impl FieldValueReader for RelationshipRiskSeniorityField {
30520    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30521        self.0.read(raw)
30522    }
30523}
30524
30525impl FieldValueWriter for RelationshipRiskSeniorityField {
30526    fn write_to(&self, buf: &mut Vec<u8>) {
30527        self.0.write_to(buf);
30528    }
30529}
30530
30531impl FieldValue for RelationshipRiskSeniorityField {}
30532
30533
30534/// `RelationshipRiskSymbolField` is a `STRING` field, Tag 1589.
30535pub struct RelationshipRiskSymbolField(pub FIXString);
30536
30537impl RelationshipRiskSymbolField {
30538
30539    pub fn new(val: String) -> Self { Self(val) }
30540    pub fn value(&self) -> &str { &self.0 }
30541
30542    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SYMBOL }
30543}
30544
30545impl FieldValueReader for RelationshipRiskSymbolField {
30546    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30547        self.0.read(raw)
30548    }
30549}
30550
30551impl FieldValueWriter for RelationshipRiskSymbolField {
30552    fn write_to(&self, buf: &mut Vec<u8>) {
30553        self.0.write_to(buf);
30554    }
30555}
30556
30557impl FieldValue for RelationshipRiskSymbolField {}
30558
30559
30560/// `RelationshipRiskSymbolSfxField` is a `STRING` field, Tag 1590.
30561pub struct RelationshipRiskSymbolSfxField(pub FIXString);
30562
30563impl RelationshipRiskSymbolSfxField {
30564
30565    pub fn new(val: String) -> Self { Self(val) }
30566    pub fn value(&self) -> &str { &self.0 }
30567
30568    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_SYMBOL_SFX }
30569}
30570
30571impl FieldValueReader for RelationshipRiskSymbolSfxField {
30572    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30573        self.0.read(raw)
30574    }
30575}
30576
30577impl FieldValueWriter for RelationshipRiskSymbolSfxField {
30578    fn write_to(&self, buf: &mut Vec<u8>) {
30579        self.0.write_to(buf);
30580    }
30581}
30582
30583impl FieldValue for RelationshipRiskSymbolSfxField {}
30584
30585
30586/// `RelationshipRiskWarningLevelNameField` is a `STRING` field, Tag 1615.
30587pub struct RelationshipRiskWarningLevelNameField(pub FIXString);
30588
30589impl RelationshipRiskWarningLevelNameField {
30590
30591    pub fn new(val: String) -> Self { Self(val) }
30592    pub fn value(&self) -> &str { &self.0 }
30593
30594    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_WARNING_LEVEL_NAME }
30595}
30596
30597impl FieldValueReader for RelationshipRiskWarningLevelNameField {
30598    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30599        self.0.read(raw)
30600    }
30601}
30602
30603impl FieldValueWriter for RelationshipRiskWarningLevelNameField {
30604    fn write_to(&self, buf: &mut Vec<u8>) {
30605        self.0.write_to(buf);
30606    }
30607}
30608
30609impl FieldValue for RelationshipRiskWarningLevelNameField {}
30610
30611
30612/// `RelationshipRiskWarningLevelPercentField` is a `PERCENTAGE` field, Tag 1614.
30613pub struct RelationshipRiskWarningLevelPercentField(pub FIXDecimal);
30614
30615impl RelationshipRiskWarningLevelPercentField {
30616
30617    pub fn new(val: Decimal, scale: i32) -> Self {
30618        Self(FIXDecimal { decimal: val, scale })
30619    }
30620    pub fn value(&self) -> Decimal { self.0.decimal }
30621
30622    pub fn tag() -> Tag { tag::RELATIONSHIP_RISK_WARNING_LEVEL_PERCENT }
30623}
30624
30625impl FieldValueReader for RelationshipRiskWarningLevelPercentField {
30626    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30627        self.0.read(raw)
30628    }
30629}
30630
30631impl FieldValueWriter for RelationshipRiskWarningLevelPercentField {
30632    fn write_to(&self, buf: &mut Vec<u8>) {
30633        self.0.write_to(buf);
30634    }
30635}
30636
30637impl FieldValue for RelationshipRiskWarningLevelPercentField {}
30638
30639
30640/// `RepoCollateralSecurityTypeField` is a `INT` field, Tag 239.
30641pub struct RepoCollateralSecurityTypeField(pub FIXInt);
30642
30643impl RepoCollateralSecurityTypeField {
30644
30645    pub fn new(val: isize) -> Self { Self(val) }
30646    pub fn value(&self) -> isize { self.0 }
30647
30648    pub fn tag() -> Tag { tag::REPO_COLLATERAL_SECURITY_TYPE }
30649}
30650
30651impl FieldValueReader for RepoCollateralSecurityTypeField {
30652    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30653        self.0.read(raw)
30654    }
30655}
30656
30657impl FieldValueWriter for RepoCollateralSecurityTypeField {
30658    fn write_to(&self, buf: &mut Vec<u8>) {
30659        self.0.write_to(buf);
30660    }
30661}
30662
30663impl FieldValue for RepoCollateralSecurityTypeField {}
30664
30665
30666/// `ReportToExchField` is a `BOOLEAN` field, Tag 113.
30667pub struct ReportToExchField(pub FIXBoolean);
30668
30669impl ReportToExchField {
30670
30671    pub fn new(val: bool) -> Self { Self(val) }
30672    pub fn value(&self) -> bool { self.0 }
30673
30674    pub fn tag() -> Tag { tag::REPORT_TO_EXCH }
30675}
30676
30677impl FieldValueReader for ReportToExchField {
30678    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30679        self.0.read(raw)
30680    }
30681}
30682
30683impl FieldValueWriter for ReportToExchField {
30684    fn write_to(&self, buf: &mut Vec<u8>) {
30685        self.0.write_to(buf);
30686    }
30687}
30688
30689impl FieldValue for ReportToExchField {}
30690
30691
30692/// `ReportedPxField` is a `PRICE` field, Tag 861.
30693pub struct ReportedPxField(pub FIXDecimal);
30694
30695impl ReportedPxField {
30696
30697    pub fn new(val: Decimal, scale: i32) -> Self {
30698        Self(FIXDecimal { decimal: val, scale })
30699    }
30700    pub fn value(&self) -> Decimal { self.0.decimal }
30701
30702    pub fn tag() -> Tag { tag::REPORTED_PX }
30703}
30704
30705impl FieldValueReader for ReportedPxField {
30706    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30707        self.0.read(raw)
30708    }
30709}
30710
30711impl FieldValueWriter for ReportedPxField {
30712    fn write_to(&self, buf: &mut Vec<u8>) {
30713        self.0.write_to(buf);
30714    }
30715}
30716
30717impl FieldValue for ReportedPxField {}
30718
30719
30720/// `ReportedPxDiffField` is a `BOOLEAN` field, Tag 1134.
30721pub struct ReportedPxDiffField(pub FIXBoolean);
30722
30723impl ReportedPxDiffField {
30724
30725    pub fn new(val: bool) -> Self { Self(val) }
30726    pub fn value(&self) -> bool { self.0 }
30727
30728    pub fn tag() -> Tag { tag::REPORTED_PX_DIFF }
30729}
30730
30731impl FieldValueReader for ReportedPxDiffField {
30732    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30733        self.0.read(raw)
30734    }
30735}
30736
30737impl FieldValueWriter for ReportedPxDiffField {
30738    fn write_to(&self, buf: &mut Vec<u8>) {
30739        self.0.write_to(buf);
30740    }
30741}
30742
30743impl FieldValue for ReportedPxDiffField {}
30744
30745
30746/// `RepurchaseRateField` is a `PERCENTAGE` field, Tag 227.
30747pub struct RepurchaseRateField(pub FIXDecimal);
30748
30749impl RepurchaseRateField {
30750
30751    pub fn new(val: Decimal, scale: i32) -> Self {
30752        Self(FIXDecimal { decimal: val, scale })
30753    }
30754    pub fn value(&self) -> Decimal { self.0.decimal }
30755
30756    pub fn tag() -> Tag { tag::REPURCHASE_RATE }
30757}
30758
30759impl FieldValueReader for RepurchaseRateField {
30760    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30761        self.0.read(raw)
30762    }
30763}
30764
30765impl FieldValueWriter for RepurchaseRateField {
30766    fn write_to(&self, buf: &mut Vec<u8>) {
30767        self.0.write_to(buf);
30768    }
30769}
30770
30771impl FieldValue for RepurchaseRateField {}
30772
30773
30774/// `RepurchaseTermField` is a `INT` field, Tag 226.
30775pub struct RepurchaseTermField(pub FIXInt);
30776
30777impl RepurchaseTermField {
30778
30779    pub fn new(val: isize) -> Self { Self(val) }
30780    pub fn value(&self) -> isize { self.0 }
30781
30782    pub fn tag() -> Tag { tag::REPURCHASE_TERM }
30783}
30784
30785impl FieldValueReader for RepurchaseTermField {
30786    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30787        self.0.read(raw)
30788    }
30789}
30790
30791impl FieldValueWriter for RepurchaseTermField {
30792    fn write_to(&self, buf: &mut Vec<u8>) {
30793        self.0.write_to(buf);
30794    }
30795}
30796
30797impl FieldValue for RepurchaseTermField {}
30798
30799
30800/// `RequestedPartyRoleField` is a `INT` field, Tag 1509.
30801pub struct RequestedPartyRoleField(pub FIXInt);
30802
30803impl RequestedPartyRoleField {
30804
30805    pub fn new(val: isize) -> Self { Self(val) }
30806    pub fn value(&self) -> isize { self.0 }
30807
30808    pub fn tag() -> Tag { tag::REQUESTED_PARTY_ROLE }
30809}
30810
30811impl FieldValueReader for RequestedPartyRoleField {
30812    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30813        self.0.read(raw)
30814    }
30815}
30816
30817impl FieldValueWriter for RequestedPartyRoleField {
30818    fn write_to(&self, buf: &mut Vec<u8>) {
30819        self.0.write_to(buf);
30820    }
30821}
30822
30823impl FieldValue for RequestedPartyRoleField {}
30824
30825
30826/// `ResetSeqNumFlagField` is a `BOOLEAN` field, Tag 141.
30827pub struct ResetSeqNumFlagField(pub FIXBoolean);
30828
30829impl ResetSeqNumFlagField {
30830
30831    pub fn new(val: bool) -> Self { Self(val) }
30832    pub fn value(&self) -> bool { self.0 }
30833
30834    pub fn tag() -> Tag { tag::RESET_SEQ_NUM_FLAG }
30835}
30836
30837impl FieldValueReader for ResetSeqNumFlagField {
30838    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30839        self.0.read(raw)
30840    }
30841}
30842
30843impl FieldValueWriter for ResetSeqNumFlagField {
30844    fn write_to(&self, buf: &mut Vec<u8>) {
30845        self.0.write_to(buf);
30846    }
30847}
30848
30849impl FieldValue for ResetSeqNumFlagField {}
30850
30851
30852/// `RespondentTypeField` is a `INT` field, Tag 1172.
30853pub struct RespondentTypeField(pub FIXInt);
30854
30855impl RespondentTypeField {
30856
30857    pub fn new(val: isize) -> Self { Self(val) }
30858    pub fn value(&self) -> isize { self.0 }
30859
30860    pub fn tag() -> Tag { tag::RESPONDENT_TYPE }
30861}
30862
30863impl FieldValueReader for RespondentTypeField {
30864    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30865        self.0.read(raw)
30866    }
30867}
30868
30869impl FieldValueWriter for RespondentTypeField {
30870    fn write_to(&self, buf: &mut Vec<u8>) {
30871        self.0.write_to(buf);
30872    }
30873}
30874
30875impl FieldValue for RespondentTypeField {}
30876
30877
30878/// `ResponseDestinationField` is a `STRING` field, Tag 726.
30879pub struct ResponseDestinationField(pub FIXString);
30880
30881impl ResponseDestinationField {
30882
30883    pub fn new(val: String) -> Self { Self(val) }
30884    pub fn value(&self) -> &str { &self.0 }
30885
30886    pub fn tag() -> Tag { tag::RESPONSE_DESTINATION }
30887}
30888
30889impl FieldValueReader for ResponseDestinationField {
30890    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30891        self.0.read(raw)
30892    }
30893}
30894
30895impl FieldValueWriter for ResponseDestinationField {
30896    fn write_to(&self, buf: &mut Vec<u8>) {
30897        self.0.write_to(buf);
30898    }
30899}
30900
30901impl FieldValue for ResponseDestinationField {}
30902
30903
30904/// `ResponseTransportTypeField` is a `INT` field, Tag 725.
30905pub struct ResponseTransportTypeField(pub FIXInt);
30906
30907impl ResponseTransportTypeField {
30908
30909    pub fn new(val: isize) -> Self { Self(val) }
30910    pub fn value(&self) -> isize { self.0 }
30911
30912    pub fn tag() -> Tag { tag::RESPONSE_TRANSPORT_TYPE }
30913}
30914
30915impl FieldValueReader for ResponseTransportTypeField {
30916    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30917        self.0.read(raw)
30918    }
30919}
30920
30921impl FieldValueWriter for ResponseTransportTypeField {
30922    fn write_to(&self, buf: &mut Vec<u8>) {
30923        self.0.write_to(buf);
30924    }
30925}
30926
30927impl FieldValue for ResponseTransportTypeField {}
30928
30929
30930/// `RestructuringTypeField` is a `STRING` field, Tag 1449.
30931pub struct RestructuringTypeField(pub FIXString);
30932
30933impl RestructuringTypeField {
30934
30935    pub fn new(val: String) -> Self { Self(val) }
30936    pub fn value(&self) -> &str { &self.0 }
30937
30938    pub fn tag() -> Tag { tag::RESTRUCTURING_TYPE }
30939}
30940
30941impl FieldValueReader for RestructuringTypeField {
30942    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30943        self.0.read(raw)
30944    }
30945}
30946
30947impl FieldValueWriter for RestructuringTypeField {
30948    fn write_to(&self, buf: &mut Vec<u8>) {
30949        self.0.write_to(buf);
30950    }
30951}
30952
30953impl FieldValue for RestructuringTypeField {}
30954
30955
30956/// `ReversalIndicatorField` is a `BOOLEAN` field, Tag 700.
30957pub struct ReversalIndicatorField(pub FIXBoolean);
30958
30959impl ReversalIndicatorField {
30960
30961    pub fn new(val: bool) -> Self { Self(val) }
30962    pub fn value(&self) -> bool { self.0 }
30963
30964    pub fn tag() -> Tag { tag::REVERSAL_INDICATOR }
30965}
30966
30967impl FieldValueReader for ReversalIndicatorField {
30968    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30969        self.0.read(raw)
30970    }
30971}
30972
30973impl FieldValueWriter for ReversalIndicatorField {
30974    fn write_to(&self, buf: &mut Vec<u8>) {
30975        self.0.write_to(buf);
30976    }
30977}
30978
30979impl FieldValue for ReversalIndicatorField {}
30980
30981
30982/// `RiskCFICodeField` is a `STRING` field, Tag 1546.
30983pub struct RiskCFICodeField(pub FIXString);
30984
30985impl RiskCFICodeField {
30986
30987    pub fn new(val: String) -> Self { Self(val) }
30988    pub fn value(&self) -> &str { &self.0 }
30989
30990    pub fn tag() -> Tag { tag::RISK_CFI_CODE }
30991}
30992
30993impl FieldValueReader for RiskCFICodeField {
30994    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
30995        self.0.read(raw)
30996    }
30997}
30998
30999impl FieldValueWriter for RiskCFICodeField {
31000    fn write_to(&self, buf: &mut Vec<u8>) {
31001        self.0.write_to(buf);
31002    }
31003}
31004
31005impl FieldValue for RiskCFICodeField {}
31006
31007
31008/// `RiskCouponRateField` is a `PERCENTAGE` field, Tag 1555.
31009pub struct RiskCouponRateField(pub FIXDecimal);
31010
31011impl RiskCouponRateField {
31012
31013    pub fn new(val: Decimal, scale: i32) -> Self {
31014        Self(FIXDecimal { decimal: val, scale })
31015    }
31016    pub fn value(&self) -> Decimal { self.0.decimal }
31017
31018    pub fn tag() -> Tag { tag::RISK_COUPON_RATE }
31019}
31020
31021impl FieldValueReader for RiskCouponRateField {
31022    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31023        self.0.read(raw)
31024    }
31025}
31026
31027impl FieldValueWriter for RiskCouponRateField {
31028    fn write_to(&self, buf: &mut Vec<u8>) {
31029        self.0.write_to(buf);
31030    }
31031}
31032
31033impl FieldValue for RiskCouponRateField {}
31034
31035
31036/// `RiskEncodedSecurityDescField` is a `DATA` field, Tag 1621.
31037pub struct RiskEncodedSecurityDescField(pub FIXString);
31038
31039impl RiskEncodedSecurityDescField {
31040
31041    pub fn new(val: String) -> Self { Self(val) }
31042    pub fn value(&self) -> &str { &self.0 }
31043
31044    pub fn tag() -> Tag { tag::RISK_ENCODED_SECURITY_DESC }
31045}
31046
31047impl FieldValueReader for RiskEncodedSecurityDescField {
31048    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31049        self.0.read(raw)
31050    }
31051}
31052
31053impl FieldValueWriter for RiskEncodedSecurityDescField {
31054    fn write_to(&self, buf: &mut Vec<u8>) {
31055        self.0.write_to(buf);
31056    }
31057}
31058
31059impl FieldValue for RiskEncodedSecurityDescField {}
31060
31061
31062/// `RiskEncodedSecurityDescLenField` is a `LENGTH` field, Tag 1620.
31063pub struct RiskEncodedSecurityDescLenField(pub FIXInt);
31064
31065impl RiskEncodedSecurityDescLenField {
31066
31067    pub fn new(val: isize) -> Self { Self(val) }
31068    pub fn value(&self) -> isize { self.0 }
31069
31070    pub fn tag() -> Tag { tag::RISK_ENCODED_SECURITY_DESC_LEN }
31071}
31072
31073impl FieldValueReader for RiskEncodedSecurityDescLenField {
31074    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31075        self.0.read(raw)
31076    }
31077}
31078
31079impl FieldValueWriter for RiskEncodedSecurityDescLenField {
31080    fn write_to(&self, buf: &mut Vec<u8>) {
31081        self.0.write_to(buf);
31082    }
31083}
31084
31085impl FieldValue for RiskEncodedSecurityDescLenField {}
31086
31087
31088/// `RiskFlexibleIndicatorField` is a `BOOLEAN` field, Tag 1554.
31089pub struct RiskFlexibleIndicatorField(pub FIXBoolean);
31090
31091impl RiskFlexibleIndicatorField {
31092
31093    pub fn new(val: bool) -> Self { Self(val) }
31094    pub fn value(&self) -> bool { self.0 }
31095
31096    pub fn tag() -> Tag { tag::RISK_FLEXIBLE_INDICATOR }
31097}
31098
31099impl FieldValueReader for RiskFlexibleIndicatorField {
31100    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31101        self.0.read(raw)
31102    }
31103}
31104
31105impl FieldValueWriter for RiskFlexibleIndicatorField {
31106    fn write_to(&self, buf: &mut Vec<u8>) {
31107        self.0.write_to(buf);
31108    }
31109}
31110
31111impl FieldValue for RiskFlexibleIndicatorField {}
31112
31113
31114/// `RiskFreeRateField` is a `FLOAT` field, Tag 1190.
31115pub struct RiskFreeRateField(pub FIXDecimal);
31116
31117impl RiskFreeRateField {
31118
31119    pub fn new(val: Decimal, scale: i32) -> Self {
31120        Self(FIXDecimal { decimal: val, scale })
31121    }
31122    pub fn value(&self) -> Decimal { self.0.decimal }
31123
31124    pub fn tag() -> Tag { tag::RISK_FREE_RATE }
31125}
31126
31127impl FieldValueReader for RiskFreeRateField {
31128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31129        self.0.read(raw)
31130    }
31131}
31132
31133impl FieldValueWriter for RiskFreeRateField {
31134    fn write_to(&self, buf: &mut Vec<u8>) {
31135        self.0.write_to(buf);
31136    }
31137}
31138
31139impl FieldValue for RiskFreeRateField {}
31140
31141
31142/// `RiskInstrumentMultiplierField` is a `FLOAT` field, Tag 1558.
31143pub struct RiskInstrumentMultiplierField(pub FIXDecimal);
31144
31145impl RiskInstrumentMultiplierField {
31146
31147    pub fn new(val: Decimal, scale: i32) -> Self {
31148        Self(FIXDecimal { decimal: val, scale })
31149    }
31150    pub fn value(&self) -> Decimal { self.0.decimal }
31151
31152    pub fn tag() -> Tag { tag::RISK_INSTRUMENT_MULTIPLIER }
31153}
31154
31155impl FieldValueReader for RiskInstrumentMultiplierField {
31156    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31157        self.0.read(raw)
31158    }
31159}
31160
31161impl FieldValueWriter for RiskInstrumentMultiplierField {
31162    fn write_to(&self, buf: &mut Vec<u8>) {
31163        self.0.write_to(buf);
31164    }
31165}
31166
31167impl FieldValue for RiskInstrumentMultiplierField {}
31168
31169
31170/// `RiskInstrumentOperatorField` is a `INT` field, Tag 1535.
31171pub struct RiskInstrumentOperatorField(pub FIXInt);
31172
31173impl RiskInstrumentOperatorField {
31174
31175    pub fn new(val: isize) -> Self { Self(val) }
31176    pub fn value(&self) -> isize { self.0 }
31177
31178    pub fn tag() -> Tag { tag::RISK_INSTRUMENT_OPERATOR }
31179}
31180
31181impl FieldValueReader for RiskInstrumentOperatorField {
31182    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31183        self.0.read(raw)
31184    }
31185}
31186
31187impl FieldValueWriter for RiskInstrumentOperatorField {
31188    fn write_to(&self, buf: &mut Vec<u8>) {
31189        self.0.write_to(buf);
31190    }
31191}
31192
31193impl FieldValue for RiskInstrumentOperatorField {}
31194
31195
31196/// `RiskInstrumentSettlTypeField` is a `STRING` field, Tag 1557.
31197pub struct RiskInstrumentSettlTypeField(pub FIXString);
31198
31199impl RiskInstrumentSettlTypeField {
31200
31201    pub fn new(val: String) -> Self { Self(val) }
31202    pub fn value(&self) -> &str { &self.0 }
31203
31204    pub fn tag() -> Tag { tag::RISK_INSTRUMENT_SETTL_TYPE }
31205}
31206
31207impl FieldValueReader for RiskInstrumentSettlTypeField {
31208    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31209        self.0.read(raw)
31210    }
31211}
31212
31213impl FieldValueWriter for RiskInstrumentSettlTypeField {
31214    fn write_to(&self, buf: &mut Vec<u8>) {
31215        self.0.write_to(buf);
31216    }
31217}
31218
31219impl FieldValue for RiskInstrumentSettlTypeField {}
31220
31221
31222/// `RiskLimitAmountField` is a `AMT` field, Tag 1531.
31223pub struct RiskLimitAmountField(pub FIXDecimal);
31224
31225impl RiskLimitAmountField {
31226
31227    pub fn new(val: Decimal, scale: i32) -> Self {
31228        Self(FIXDecimal { decimal: val, scale })
31229    }
31230    pub fn value(&self) -> Decimal { self.0.decimal }
31231
31232    pub fn tag() -> Tag { tag::RISK_LIMIT_AMOUNT }
31233}
31234
31235impl FieldValueReader for RiskLimitAmountField {
31236    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31237        self.0.read(raw)
31238    }
31239}
31240
31241impl FieldValueWriter for RiskLimitAmountField {
31242    fn write_to(&self, buf: &mut Vec<u8>) {
31243        self.0.write_to(buf);
31244    }
31245}
31246
31247impl FieldValue for RiskLimitAmountField {}
31248
31249
31250/// `RiskLimitCurrencyField` is a `CURRENCY` field, Tag 1532.
31251pub struct RiskLimitCurrencyField(pub FIXString);
31252
31253impl RiskLimitCurrencyField {
31254
31255    pub fn new(val: String) -> Self { Self(val) }
31256    pub fn value(&self) -> &str { &self.0 }
31257
31258    pub fn tag() -> Tag { tag::RISK_LIMIT_CURRENCY }
31259}
31260
31261impl FieldValueReader for RiskLimitCurrencyField {
31262    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31263        self.0.read(raw)
31264    }
31265}
31266
31267impl FieldValueWriter for RiskLimitCurrencyField {
31268    fn write_to(&self, buf: &mut Vec<u8>) {
31269        self.0.write_to(buf);
31270    }
31271}
31272
31273impl FieldValue for RiskLimitCurrencyField {}
31274
31275
31276/// `RiskLimitPlatformField` is a `STRING` field, Tag 1533.
31277pub struct RiskLimitPlatformField(pub FIXString);
31278
31279impl RiskLimitPlatformField {
31280
31281    pub fn new(val: String) -> Self { Self(val) }
31282    pub fn value(&self) -> &str { &self.0 }
31283
31284    pub fn tag() -> Tag { tag::RISK_LIMIT_PLATFORM }
31285}
31286
31287impl FieldValueReader for RiskLimitPlatformField {
31288    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31289        self.0.read(raw)
31290    }
31291}
31292
31293impl FieldValueWriter for RiskLimitPlatformField {
31294    fn write_to(&self, buf: &mut Vec<u8>) {
31295        self.0.write_to(buf);
31296    }
31297}
31298
31299impl FieldValue for RiskLimitPlatformField {}
31300
31301
31302/// `RiskLimitTypeField` is a `INT` field, Tag 1530.
31303pub struct RiskLimitTypeField(pub FIXInt);
31304
31305impl RiskLimitTypeField {
31306
31307    pub fn new(val: isize) -> Self { Self(val) }
31308    pub fn value(&self) -> isize { self.0 }
31309
31310    pub fn tag() -> Tag { tag::RISK_LIMIT_TYPE }
31311}
31312
31313impl FieldValueReader for RiskLimitTypeField {
31314    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31315        self.0.read(raw)
31316    }
31317}
31318
31319impl FieldValueWriter for RiskLimitTypeField {
31320    fn write_to(&self, buf: &mut Vec<u8>) {
31321        self.0.write_to(buf);
31322    }
31323}
31324
31325impl FieldValue for RiskLimitTypeField {}
31326
31327
31328/// `RiskMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1549.
31329pub struct RiskMaturityMonthYearField(pub FIXString);
31330
31331impl RiskMaturityMonthYearField {
31332
31333    pub fn new(val: String) -> Self { Self(val) }
31334    pub fn value(&self) -> &str { &self.0 }
31335
31336    pub fn tag() -> Tag { tag::RISK_MATURITY_MONTH_YEAR }
31337}
31338
31339impl FieldValueReader for RiskMaturityMonthYearField {
31340    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31341        self.0.read(raw)
31342    }
31343}
31344
31345impl FieldValueWriter for RiskMaturityMonthYearField {
31346    fn write_to(&self, buf: &mut Vec<u8>) {
31347        self.0.write_to(buf);
31348    }
31349}
31350
31351impl FieldValue for RiskMaturityMonthYearField {}
31352
31353
31354/// `RiskMaturityTimeField` is a `TZTIMEONLY` field, Tag 1550.
31355pub struct RiskMaturityTimeField(pub FIXString);
31356
31357impl RiskMaturityTimeField {
31358
31359    pub fn new(val: String) -> Self { Self(val) }
31360    pub fn value(&self) -> &str { &self.0 }
31361
31362    pub fn tag() -> Tag { tag::RISK_MATURITY_TIME }
31363}
31364
31365impl FieldValueReader for RiskMaturityTimeField {
31366    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31367        self.0.read(raw)
31368    }
31369}
31370
31371impl FieldValueWriter for RiskMaturityTimeField {
31372    fn write_to(&self, buf: &mut Vec<u8>) {
31373        self.0.write_to(buf);
31374    }
31375}
31376
31377impl FieldValue for RiskMaturityTimeField {}
31378
31379
31380/// `RiskProductField` is a `INT` field, Tag 1543.
31381pub struct RiskProductField(pub FIXInt);
31382
31383impl RiskProductField {
31384
31385    pub fn new(val: isize) -> Self { Self(val) }
31386    pub fn value(&self) -> isize { self.0 }
31387
31388    pub fn tag() -> Tag { tag::RISK_PRODUCT }
31389}
31390
31391impl FieldValueReader for RiskProductField {
31392    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31393        self.0.read(raw)
31394    }
31395}
31396
31397impl FieldValueWriter for RiskProductField {
31398    fn write_to(&self, buf: &mut Vec<u8>) {
31399        self.0.write_to(buf);
31400    }
31401}
31402
31403impl FieldValue for RiskProductField {}
31404
31405
31406/// `RiskProductComplexField` is a `STRING` field, Tag 1544.
31407pub struct RiskProductComplexField(pub FIXString);
31408
31409impl RiskProductComplexField {
31410
31411    pub fn new(val: String) -> Self { Self(val) }
31412    pub fn value(&self) -> &str { &self.0 }
31413
31414    pub fn tag() -> Tag { tag::RISK_PRODUCT_COMPLEX }
31415}
31416
31417impl FieldValueReader for RiskProductComplexField {
31418    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31419        self.0.read(raw)
31420    }
31421}
31422
31423impl FieldValueWriter for RiskProductComplexField {
31424    fn write_to(&self, buf: &mut Vec<u8>) {
31425        self.0.write_to(buf);
31426    }
31427}
31428
31429impl FieldValue for RiskProductComplexField {}
31430
31431
31432/// `RiskPutOrCallField` is a `INT` field, Tag 1553.
31433pub struct RiskPutOrCallField(pub FIXInt);
31434
31435impl RiskPutOrCallField {
31436
31437    pub fn new(val: isize) -> Self { Self(val) }
31438    pub fn value(&self) -> isize { self.0 }
31439
31440    pub fn tag() -> Tag { tag::RISK_PUT_OR_CALL }
31441}
31442
31443impl FieldValueReader for RiskPutOrCallField {
31444    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31445        self.0.read(raw)
31446    }
31447}
31448
31449impl FieldValueWriter for RiskPutOrCallField {
31450    fn write_to(&self, buf: &mut Vec<u8>) {
31451        self.0.write_to(buf);
31452    }
31453}
31454
31455impl FieldValue for RiskPutOrCallField {}
31456
31457
31458/// `RiskRestructuringTypeField` is a `STRING` field, Tag 1551.
31459pub struct RiskRestructuringTypeField(pub FIXString);
31460
31461impl RiskRestructuringTypeField {
31462
31463    pub fn new(val: String) -> Self { Self(val) }
31464    pub fn value(&self) -> &str { &self.0 }
31465
31466    pub fn tag() -> Tag { tag::RISK_RESTRUCTURING_TYPE }
31467}
31468
31469impl FieldValueReader for RiskRestructuringTypeField {
31470    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31471        self.0.read(raw)
31472    }
31473}
31474
31475impl FieldValueWriter for RiskRestructuringTypeField {
31476    fn write_to(&self, buf: &mut Vec<u8>) {
31477        self.0.write_to(buf);
31478    }
31479}
31480
31481impl FieldValue for RiskRestructuringTypeField {}
31482
31483
31484/// `RiskSecurityAltIDField` is a `STRING` field, Tag 1541.
31485pub struct RiskSecurityAltIDField(pub FIXString);
31486
31487impl RiskSecurityAltIDField {
31488
31489    pub fn new(val: String) -> Self { Self(val) }
31490    pub fn value(&self) -> &str { &self.0 }
31491
31492    pub fn tag() -> Tag { tag::RISK_SECURITY_ALT_ID }
31493}
31494
31495impl FieldValueReader for RiskSecurityAltIDField {
31496    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31497        self.0.read(raw)
31498    }
31499}
31500
31501impl FieldValueWriter for RiskSecurityAltIDField {
31502    fn write_to(&self, buf: &mut Vec<u8>) {
31503        self.0.write_to(buf);
31504    }
31505}
31506
31507impl FieldValue for RiskSecurityAltIDField {}
31508
31509
31510/// `RiskSecurityAltIDSourceField` is a `STRING` field, Tag 1542.
31511pub struct RiskSecurityAltIDSourceField(pub FIXString);
31512
31513impl RiskSecurityAltIDSourceField {
31514
31515    pub fn new(val: String) -> Self { Self(val) }
31516    pub fn value(&self) -> &str { &self.0 }
31517
31518    pub fn tag() -> Tag { tag::RISK_SECURITY_ALT_ID_SOURCE }
31519}
31520
31521impl FieldValueReader for RiskSecurityAltIDSourceField {
31522    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31523        self.0.read(raw)
31524    }
31525}
31526
31527impl FieldValueWriter for RiskSecurityAltIDSourceField {
31528    fn write_to(&self, buf: &mut Vec<u8>) {
31529        self.0.write_to(buf);
31530    }
31531}
31532
31533impl FieldValue for RiskSecurityAltIDSourceField {}
31534
31535
31536/// `RiskSecurityDescField` is a `STRING` field, Tag 1556.
31537pub struct RiskSecurityDescField(pub FIXString);
31538
31539impl RiskSecurityDescField {
31540
31541    pub fn new(val: String) -> Self { Self(val) }
31542    pub fn value(&self) -> &str { &self.0 }
31543
31544    pub fn tag() -> Tag { tag::RISK_SECURITY_DESC }
31545}
31546
31547impl FieldValueReader for RiskSecurityDescField {
31548    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31549        self.0.read(raw)
31550    }
31551}
31552
31553impl FieldValueWriter for RiskSecurityDescField {
31554    fn write_to(&self, buf: &mut Vec<u8>) {
31555        self.0.write_to(buf);
31556    }
31557}
31558
31559impl FieldValue for RiskSecurityDescField {}
31560
31561
31562/// `RiskSecurityExchangeField` is a `EXCHANGE` field, Tag 1616.
31563pub struct RiskSecurityExchangeField(pub FIXString);
31564
31565impl RiskSecurityExchangeField {
31566
31567    pub fn new(val: String) -> Self { Self(val) }
31568    pub fn value(&self) -> &str { &self.0 }
31569
31570    pub fn tag() -> Tag { tag::RISK_SECURITY_EXCHANGE }
31571}
31572
31573impl FieldValueReader for RiskSecurityExchangeField {
31574    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31575        self.0.read(raw)
31576    }
31577}
31578
31579impl FieldValueWriter for RiskSecurityExchangeField {
31580    fn write_to(&self, buf: &mut Vec<u8>) {
31581        self.0.write_to(buf);
31582    }
31583}
31584
31585impl FieldValue for RiskSecurityExchangeField {}
31586
31587
31588/// `RiskSecurityGroupField` is a `STRING` field, Tag 1545.
31589pub struct RiskSecurityGroupField(pub FIXString);
31590
31591impl RiskSecurityGroupField {
31592
31593    pub fn new(val: String) -> Self { Self(val) }
31594    pub fn value(&self) -> &str { &self.0 }
31595
31596    pub fn tag() -> Tag { tag::RISK_SECURITY_GROUP }
31597}
31598
31599impl FieldValueReader for RiskSecurityGroupField {
31600    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31601        self.0.read(raw)
31602    }
31603}
31604
31605impl FieldValueWriter for RiskSecurityGroupField {
31606    fn write_to(&self, buf: &mut Vec<u8>) {
31607        self.0.write_to(buf);
31608    }
31609}
31610
31611impl FieldValue for RiskSecurityGroupField {}
31612
31613
31614/// `RiskSecurityIDField` is a `STRING` field, Tag 1538.
31615pub struct RiskSecurityIDField(pub FIXString);
31616
31617impl RiskSecurityIDField {
31618
31619    pub fn new(val: String) -> Self { Self(val) }
31620    pub fn value(&self) -> &str { &self.0 }
31621
31622    pub fn tag() -> Tag { tag::RISK_SECURITY_ID }
31623}
31624
31625impl FieldValueReader for RiskSecurityIDField {
31626    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31627        self.0.read(raw)
31628    }
31629}
31630
31631impl FieldValueWriter for RiskSecurityIDField {
31632    fn write_to(&self, buf: &mut Vec<u8>) {
31633        self.0.write_to(buf);
31634    }
31635}
31636
31637impl FieldValue for RiskSecurityIDField {}
31638
31639
31640/// `RiskSecurityIDSourceField` is a `STRING` field, Tag 1539.
31641pub struct RiskSecurityIDSourceField(pub FIXString);
31642
31643impl RiskSecurityIDSourceField {
31644
31645    pub fn new(val: String) -> Self { Self(val) }
31646    pub fn value(&self) -> &str { &self.0 }
31647
31648    pub fn tag() -> Tag { tag::RISK_SECURITY_ID_SOURCE }
31649}
31650
31651impl FieldValueReader for RiskSecurityIDSourceField {
31652    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31653        self.0.read(raw)
31654    }
31655}
31656
31657impl FieldValueWriter for RiskSecurityIDSourceField {
31658    fn write_to(&self, buf: &mut Vec<u8>) {
31659        self.0.write_to(buf);
31660    }
31661}
31662
31663impl FieldValue for RiskSecurityIDSourceField {}
31664
31665
31666/// `RiskSecuritySubTypeField` is a `STRING` field, Tag 1548.
31667pub struct RiskSecuritySubTypeField(pub FIXString);
31668
31669impl RiskSecuritySubTypeField {
31670
31671    pub fn new(val: String) -> Self { Self(val) }
31672    pub fn value(&self) -> &str { &self.0 }
31673
31674    pub fn tag() -> Tag { tag::RISK_SECURITY_SUB_TYPE }
31675}
31676
31677impl FieldValueReader for RiskSecuritySubTypeField {
31678    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31679        self.0.read(raw)
31680    }
31681}
31682
31683impl FieldValueWriter for RiskSecuritySubTypeField {
31684    fn write_to(&self, buf: &mut Vec<u8>) {
31685        self.0.write_to(buf);
31686    }
31687}
31688
31689impl FieldValue for RiskSecuritySubTypeField {}
31690
31691
31692/// `RiskSecurityTypeField` is a `STRING` field, Tag 1547.
31693pub struct RiskSecurityTypeField(pub FIXString);
31694
31695impl RiskSecurityTypeField {
31696
31697    pub fn new(val: String) -> Self { Self(val) }
31698    pub fn value(&self) -> &str { &self.0 }
31699
31700    pub fn tag() -> Tag { tag::RISK_SECURITY_TYPE }
31701}
31702
31703impl FieldValueReader for RiskSecurityTypeField {
31704    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31705        self.0.read(raw)
31706    }
31707}
31708
31709impl FieldValueWriter for RiskSecurityTypeField {
31710    fn write_to(&self, buf: &mut Vec<u8>) {
31711        self.0.write_to(buf);
31712    }
31713}
31714
31715impl FieldValue for RiskSecurityTypeField {}
31716
31717
31718/// `RiskSeniorityField` is a `STRING` field, Tag 1552.
31719pub struct RiskSeniorityField(pub FIXString);
31720
31721impl RiskSeniorityField {
31722
31723    pub fn new(val: String) -> Self { Self(val) }
31724    pub fn value(&self) -> &str { &self.0 }
31725
31726    pub fn tag() -> Tag { tag::RISK_SENIORITY }
31727}
31728
31729impl FieldValueReader for RiskSeniorityField {
31730    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31731        self.0.read(raw)
31732    }
31733}
31734
31735impl FieldValueWriter for RiskSeniorityField {
31736    fn write_to(&self, buf: &mut Vec<u8>) {
31737        self.0.write_to(buf);
31738    }
31739}
31740
31741impl FieldValue for RiskSeniorityField {}
31742
31743
31744/// `RiskSymbolField` is a `STRING` field, Tag 1536.
31745pub struct RiskSymbolField(pub FIXString);
31746
31747impl RiskSymbolField {
31748
31749    pub fn new(val: String) -> Self { Self(val) }
31750    pub fn value(&self) -> &str { &self.0 }
31751
31752    pub fn tag() -> Tag { tag::RISK_SYMBOL }
31753}
31754
31755impl FieldValueReader for RiskSymbolField {
31756    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31757        self.0.read(raw)
31758    }
31759}
31760
31761impl FieldValueWriter for RiskSymbolField {
31762    fn write_to(&self, buf: &mut Vec<u8>) {
31763        self.0.write_to(buf);
31764    }
31765}
31766
31767impl FieldValue for RiskSymbolField {}
31768
31769
31770/// `RiskSymbolSfxField` is a `STRING` field, Tag 1537.
31771pub struct RiskSymbolSfxField(pub FIXString);
31772
31773impl RiskSymbolSfxField {
31774
31775    pub fn new(val: String) -> Self { Self(val) }
31776    pub fn value(&self) -> &str { &self.0 }
31777
31778    pub fn tag() -> Tag { tag::RISK_SYMBOL_SFX }
31779}
31780
31781impl FieldValueReader for RiskSymbolSfxField {
31782    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31783        self.0.read(raw)
31784    }
31785}
31786
31787impl FieldValueWriter for RiskSymbolSfxField {
31788    fn write_to(&self, buf: &mut Vec<u8>) {
31789        self.0.write_to(buf);
31790    }
31791}
31792
31793impl FieldValue for RiskSymbolSfxField {}
31794
31795
31796/// `RiskWarningLevelNameField` is a `STRING` field, Tag 1561.
31797pub struct RiskWarningLevelNameField(pub FIXString);
31798
31799impl RiskWarningLevelNameField {
31800
31801    pub fn new(val: String) -> Self { Self(val) }
31802    pub fn value(&self) -> &str { &self.0 }
31803
31804    pub fn tag() -> Tag { tag::RISK_WARNING_LEVEL_NAME }
31805}
31806
31807impl FieldValueReader for RiskWarningLevelNameField {
31808    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31809        self.0.read(raw)
31810    }
31811}
31812
31813impl FieldValueWriter for RiskWarningLevelNameField {
31814    fn write_to(&self, buf: &mut Vec<u8>) {
31815        self.0.write_to(buf);
31816    }
31817}
31818
31819impl FieldValue for RiskWarningLevelNameField {}
31820
31821
31822/// `RiskWarningLevelPercentField` is a `PERCENTAGE` field, Tag 1560.
31823pub struct RiskWarningLevelPercentField(pub FIXDecimal);
31824
31825impl RiskWarningLevelPercentField {
31826
31827    pub fn new(val: Decimal, scale: i32) -> Self {
31828        Self(FIXDecimal { decimal: val, scale })
31829    }
31830    pub fn value(&self) -> Decimal { self.0.decimal }
31831
31832    pub fn tag() -> Tag { tag::RISK_WARNING_LEVEL_PERCENT }
31833}
31834
31835impl FieldValueReader for RiskWarningLevelPercentField {
31836    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31837        self.0.read(raw)
31838    }
31839}
31840
31841impl FieldValueWriter for RiskWarningLevelPercentField {
31842    fn write_to(&self, buf: &mut Vec<u8>) {
31843        self.0.write_to(buf);
31844    }
31845}
31846
31847impl FieldValue for RiskWarningLevelPercentField {}
31848
31849
31850/// `RndPxField` is a `PRICE` field, Tag 991.
31851pub struct RndPxField(pub FIXDecimal);
31852
31853impl RndPxField {
31854
31855    pub fn new(val: Decimal, scale: i32) -> Self {
31856        Self(FIXDecimal { decimal: val, scale })
31857    }
31858    pub fn value(&self) -> Decimal { self.0.decimal }
31859
31860    pub fn tag() -> Tag { tag::RND_PX }
31861}
31862
31863impl FieldValueReader for RndPxField {
31864    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31865        self.0.read(raw)
31866    }
31867}
31868
31869impl FieldValueWriter for RndPxField {
31870    fn write_to(&self, buf: &mut Vec<u8>) {
31871        self.0.write_to(buf);
31872    }
31873}
31874
31875impl FieldValue for RndPxField {}
31876
31877
31878/// `RootPartyIDField` is a `STRING` field, Tag 1117.
31879pub struct RootPartyIDField(pub FIXString);
31880
31881impl RootPartyIDField {
31882
31883    pub fn new(val: String) -> Self { Self(val) }
31884    pub fn value(&self) -> &str { &self.0 }
31885
31886    pub fn tag() -> Tag { tag::ROOT_PARTY_ID }
31887}
31888
31889impl FieldValueReader for RootPartyIDField {
31890    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31891        self.0.read(raw)
31892    }
31893}
31894
31895impl FieldValueWriter for RootPartyIDField {
31896    fn write_to(&self, buf: &mut Vec<u8>) {
31897        self.0.write_to(buf);
31898    }
31899}
31900
31901impl FieldValue for RootPartyIDField {}
31902
31903
31904/// `RootPartyIDSourceField` is a `CHAR` field, Tag 1118.
31905pub struct RootPartyIDSourceField(pub FIXString);
31906
31907impl RootPartyIDSourceField {
31908
31909    pub fn new(val: String) -> Self { Self(val) }
31910    pub fn value(&self) -> &str { &self.0 }
31911
31912    pub fn tag() -> Tag { tag::ROOT_PARTY_ID_SOURCE }
31913}
31914
31915impl FieldValueReader for RootPartyIDSourceField {
31916    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31917        self.0.read(raw)
31918    }
31919}
31920
31921impl FieldValueWriter for RootPartyIDSourceField {
31922    fn write_to(&self, buf: &mut Vec<u8>) {
31923        self.0.write_to(buf);
31924    }
31925}
31926
31927impl FieldValue for RootPartyIDSourceField {}
31928
31929
31930/// `RootPartyRoleField` is a `INT` field, Tag 1119.
31931pub struct RootPartyRoleField(pub FIXInt);
31932
31933impl RootPartyRoleField {
31934
31935    pub fn new(val: isize) -> Self { Self(val) }
31936    pub fn value(&self) -> isize { self.0 }
31937
31938    pub fn tag() -> Tag { tag::ROOT_PARTY_ROLE }
31939}
31940
31941impl FieldValueReader for RootPartyRoleField {
31942    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31943        self.0.read(raw)
31944    }
31945}
31946
31947impl FieldValueWriter for RootPartyRoleField {
31948    fn write_to(&self, buf: &mut Vec<u8>) {
31949        self.0.write_to(buf);
31950    }
31951}
31952
31953impl FieldValue for RootPartyRoleField {}
31954
31955
31956/// `RootPartySubIDField` is a `STRING` field, Tag 1121.
31957pub struct RootPartySubIDField(pub FIXString);
31958
31959impl RootPartySubIDField {
31960
31961    pub fn new(val: String) -> Self { Self(val) }
31962    pub fn value(&self) -> &str { &self.0 }
31963
31964    pub fn tag() -> Tag { tag::ROOT_PARTY_SUB_ID }
31965}
31966
31967impl FieldValueReader for RootPartySubIDField {
31968    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31969        self.0.read(raw)
31970    }
31971}
31972
31973impl FieldValueWriter for RootPartySubIDField {
31974    fn write_to(&self, buf: &mut Vec<u8>) {
31975        self.0.write_to(buf);
31976    }
31977}
31978
31979impl FieldValue for RootPartySubIDField {}
31980
31981
31982/// `RootPartySubIDTypeField` is a `INT` field, Tag 1122.
31983pub struct RootPartySubIDTypeField(pub FIXInt);
31984
31985impl RootPartySubIDTypeField {
31986
31987    pub fn new(val: isize) -> Self { Self(val) }
31988    pub fn value(&self) -> isize { self.0 }
31989
31990    pub fn tag() -> Tag { tag::ROOT_PARTY_SUB_ID_TYPE }
31991}
31992
31993impl FieldValueReader for RootPartySubIDTypeField {
31994    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
31995        self.0.read(raw)
31996    }
31997}
31998
31999impl FieldValueWriter for RootPartySubIDTypeField {
32000    fn write_to(&self, buf: &mut Vec<u8>) {
32001        self.0.write_to(buf);
32002    }
32003}
32004
32005impl FieldValue for RootPartySubIDTypeField {}
32006
32007
32008/// `RoundLotField` is a `QTY` field, Tag 561.
32009pub struct RoundLotField(pub FIXDecimal);
32010
32011impl RoundLotField {
32012
32013    pub fn new(val: Decimal, scale: i32) -> Self {
32014        Self(FIXDecimal { decimal: val, scale })
32015    }
32016    pub fn value(&self) -> Decimal { self.0.decimal }
32017
32018    pub fn tag() -> Tag { tag::ROUND_LOT }
32019}
32020
32021impl FieldValueReader for RoundLotField {
32022    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32023        self.0.read(raw)
32024    }
32025}
32026
32027impl FieldValueWriter for RoundLotField {
32028    fn write_to(&self, buf: &mut Vec<u8>) {
32029        self.0.write_to(buf);
32030    }
32031}
32032
32033impl FieldValue for RoundLotField {}
32034
32035
32036/// `RoundingDirectionField` is a `CHAR` field, Tag 468.
32037pub struct RoundingDirectionField(pub FIXString);
32038
32039impl RoundingDirectionField {
32040
32041    pub fn new(val: String) -> Self { Self(val) }
32042    pub fn value(&self) -> &str { &self.0 }
32043
32044    pub fn tag() -> Tag { tag::ROUNDING_DIRECTION }
32045}
32046
32047impl FieldValueReader for RoundingDirectionField {
32048    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32049        self.0.read(raw)
32050    }
32051}
32052
32053impl FieldValueWriter for RoundingDirectionField {
32054    fn write_to(&self, buf: &mut Vec<u8>) {
32055        self.0.write_to(buf);
32056    }
32057}
32058
32059impl FieldValue for RoundingDirectionField {}
32060
32061
32062/// `RoundingModulusField` is a `FLOAT` field, Tag 469.
32063pub struct RoundingModulusField(pub FIXDecimal);
32064
32065impl RoundingModulusField {
32066
32067    pub fn new(val: Decimal, scale: i32) -> Self {
32068        Self(FIXDecimal { decimal: val, scale })
32069    }
32070    pub fn value(&self) -> Decimal { self.0.decimal }
32071
32072    pub fn tag() -> Tag { tag::ROUNDING_MODULUS }
32073}
32074
32075impl FieldValueReader for RoundingModulusField {
32076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32077        self.0.read(raw)
32078    }
32079}
32080
32081impl FieldValueWriter for RoundingModulusField {
32082    fn write_to(&self, buf: &mut Vec<u8>) {
32083        self.0.write_to(buf);
32084    }
32085}
32086
32087impl FieldValue for RoundingModulusField {}
32088
32089
32090/// `RoutingIDField` is a `STRING` field, Tag 217.
32091pub struct RoutingIDField(pub FIXString);
32092
32093impl RoutingIDField {
32094
32095    pub fn new(val: String) -> Self { Self(val) }
32096    pub fn value(&self) -> &str { &self.0 }
32097
32098    pub fn tag() -> Tag { tag::ROUTING_ID }
32099}
32100
32101impl FieldValueReader for RoutingIDField {
32102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32103        self.0.read(raw)
32104    }
32105}
32106
32107impl FieldValueWriter for RoutingIDField {
32108    fn write_to(&self, buf: &mut Vec<u8>) {
32109        self.0.write_to(buf);
32110    }
32111}
32112
32113impl FieldValue for RoutingIDField {}
32114
32115
32116/// `RoutingTypeField` is a `INT` field, Tag 216.
32117pub struct RoutingTypeField(pub FIXInt);
32118
32119impl RoutingTypeField {
32120
32121    pub fn new(val: isize) -> Self { Self(val) }
32122    pub fn value(&self) -> isize { self.0 }
32123
32124    pub fn tag() -> Tag { tag::ROUTING_TYPE }
32125}
32126
32127impl FieldValueReader for RoutingTypeField {
32128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32129        self.0.read(raw)
32130    }
32131}
32132
32133impl FieldValueWriter for RoutingTypeField {
32134    fn write_to(&self, buf: &mut Vec<u8>) {
32135        self.0.write_to(buf);
32136    }
32137}
32138
32139impl FieldValue for RoutingTypeField {}
32140
32141
32142/// `RptSeqField` is a `INT` field, Tag 83.
32143pub struct RptSeqField(pub FIXInt);
32144
32145impl RptSeqField {
32146
32147    pub fn new(val: isize) -> Self { Self(val) }
32148    pub fn value(&self) -> isize { self.0 }
32149
32150    pub fn tag() -> Tag { tag::RPT_SEQ }
32151}
32152
32153impl FieldValueReader for RptSeqField {
32154    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32155        self.0.read(raw)
32156    }
32157}
32158
32159impl FieldValueWriter for RptSeqField {
32160    fn write_to(&self, buf: &mut Vec<u8>) {
32161        self.0.write_to(buf);
32162    }
32163}
32164
32165impl FieldValue for RptSeqField {}
32166
32167
32168/// `RptSysField` is a `STRING` field, Tag 1135.
32169pub struct RptSysField(pub FIXString);
32170
32171impl RptSysField {
32172
32173    pub fn new(val: String) -> Self { Self(val) }
32174    pub fn value(&self) -> &str { &self.0 }
32175
32176    pub fn tag() -> Tag { tag::RPT_SYS }
32177}
32178
32179impl FieldValueReader for RptSysField {
32180    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32181        self.0.read(raw)
32182    }
32183}
32184
32185impl FieldValueWriter for RptSysField {
32186    fn write_to(&self, buf: &mut Vec<u8>) {
32187        self.0.write_to(buf);
32188    }
32189}
32190
32191impl FieldValue for RptSysField {}
32192
32193
32194/// `Rule80AField` is a `CHAR` field, Tag 47.
32195pub struct Rule80AField(pub FIXString);
32196
32197impl Rule80AField {
32198
32199    pub fn new(val: String) -> Self { Self(val) }
32200    pub fn value(&self) -> &str { &self.0 }
32201
32202    pub fn tag() -> Tag { tag::RULE80_A }
32203}
32204
32205impl FieldValueReader for Rule80AField {
32206    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32207        self.0.read(raw)
32208    }
32209}
32210
32211impl FieldValueWriter for Rule80AField {
32212    fn write_to(&self, buf: &mut Vec<u8>) {
32213        self.0.write_to(buf);
32214    }
32215}
32216
32217impl FieldValue for Rule80AField {}
32218
32219
32220/// `ScopeField` is a `MULTIPLECHARVALUE` field, Tag 546.
32221pub struct ScopeField(pub FIXString);
32222
32223impl ScopeField {
32224
32225    pub fn new(val: String) -> Self { Self(val) }
32226    pub fn value(&self) -> &str { &self.0 }
32227
32228    pub fn tag() -> Tag { tag::SCOPE }
32229}
32230
32231impl FieldValueReader for ScopeField {
32232    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32233        self.0.read(raw)
32234    }
32235}
32236
32237impl FieldValueWriter for ScopeField {
32238    fn write_to(&self, buf: &mut Vec<u8>) {
32239        self.0.write_to(buf);
32240    }
32241}
32242
32243impl FieldValue for ScopeField {}
32244
32245
32246/// `SecDefStatusField` is a `INT` field, Tag 653.
32247pub struct SecDefStatusField(pub FIXInt);
32248
32249impl SecDefStatusField {
32250
32251    pub fn new(val: isize) -> Self { Self(val) }
32252    pub fn value(&self) -> isize { self.0 }
32253
32254    pub fn tag() -> Tag { tag::SEC_DEF_STATUS }
32255}
32256
32257impl FieldValueReader for SecDefStatusField {
32258    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32259        self.0.read(raw)
32260    }
32261}
32262
32263impl FieldValueWriter for SecDefStatusField {
32264    fn write_to(&self, buf: &mut Vec<u8>) {
32265        self.0.write_to(buf);
32266    }
32267}
32268
32269impl FieldValue for SecDefStatusField {}
32270
32271
32272/// `SecondaryAllocIDField` is a `STRING` field, Tag 793.
32273pub struct SecondaryAllocIDField(pub FIXString);
32274
32275impl SecondaryAllocIDField {
32276
32277    pub fn new(val: String) -> Self { Self(val) }
32278    pub fn value(&self) -> &str { &self.0 }
32279
32280    pub fn tag() -> Tag { tag::SECONDARY_ALLOC_ID }
32281}
32282
32283impl FieldValueReader for SecondaryAllocIDField {
32284    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32285        self.0.read(raw)
32286    }
32287}
32288
32289impl FieldValueWriter for SecondaryAllocIDField {
32290    fn write_to(&self, buf: &mut Vec<u8>) {
32291        self.0.write_to(buf);
32292    }
32293}
32294
32295impl FieldValue for SecondaryAllocIDField {}
32296
32297
32298/// `SecondaryClOrdIDField` is a `STRING` field, Tag 526.
32299pub struct SecondaryClOrdIDField(pub FIXString);
32300
32301impl SecondaryClOrdIDField {
32302
32303    pub fn new(val: String) -> Self { Self(val) }
32304    pub fn value(&self) -> &str { &self.0 }
32305
32306    pub fn tag() -> Tag { tag::SECONDARY_CL_ORD_ID }
32307}
32308
32309impl FieldValueReader for SecondaryClOrdIDField {
32310    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32311        self.0.read(raw)
32312    }
32313}
32314
32315impl FieldValueWriter for SecondaryClOrdIDField {
32316    fn write_to(&self, buf: &mut Vec<u8>) {
32317        self.0.write_to(buf);
32318    }
32319}
32320
32321impl FieldValue for SecondaryClOrdIDField {}
32322
32323
32324/// `SecondaryDisplayQtyField` is a `QTY` field, Tag 1082.
32325pub struct SecondaryDisplayQtyField(pub FIXDecimal);
32326
32327impl SecondaryDisplayQtyField {
32328
32329    pub fn new(val: Decimal, scale: i32) -> Self {
32330        Self(FIXDecimal { decimal: val, scale })
32331    }
32332    pub fn value(&self) -> Decimal { self.0.decimal }
32333
32334    pub fn tag() -> Tag { tag::SECONDARY_DISPLAY_QTY }
32335}
32336
32337impl FieldValueReader for SecondaryDisplayQtyField {
32338    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32339        self.0.read(raw)
32340    }
32341}
32342
32343impl FieldValueWriter for SecondaryDisplayQtyField {
32344    fn write_to(&self, buf: &mut Vec<u8>) {
32345        self.0.write_to(buf);
32346    }
32347}
32348
32349impl FieldValue for SecondaryDisplayQtyField {}
32350
32351
32352/// `SecondaryExecIDField` is a `STRING` field, Tag 527.
32353pub struct SecondaryExecIDField(pub FIXString);
32354
32355impl SecondaryExecIDField {
32356
32357    pub fn new(val: String) -> Self { Self(val) }
32358    pub fn value(&self) -> &str { &self.0 }
32359
32360    pub fn tag() -> Tag { tag::SECONDARY_EXEC_ID }
32361}
32362
32363impl FieldValueReader for SecondaryExecIDField {
32364    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32365        self.0.read(raw)
32366    }
32367}
32368
32369impl FieldValueWriter for SecondaryExecIDField {
32370    fn write_to(&self, buf: &mut Vec<u8>) {
32371        self.0.write_to(buf);
32372    }
32373}
32374
32375impl FieldValue for SecondaryExecIDField {}
32376
32377
32378/// `SecondaryFirmTradeIDField` is a `STRING` field, Tag 1042.
32379pub struct SecondaryFirmTradeIDField(pub FIXString);
32380
32381impl SecondaryFirmTradeIDField {
32382
32383    pub fn new(val: String) -> Self { Self(val) }
32384    pub fn value(&self) -> &str { &self.0 }
32385
32386    pub fn tag() -> Tag { tag::SECONDARY_FIRM_TRADE_ID }
32387}
32388
32389impl FieldValueReader for SecondaryFirmTradeIDField {
32390    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32391        self.0.read(raw)
32392    }
32393}
32394
32395impl FieldValueWriter for SecondaryFirmTradeIDField {
32396    fn write_to(&self, buf: &mut Vec<u8>) {
32397        self.0.write_to(buf);
32398    }
32399}
32400
32401impl FieldValue for SecondaryFirmTradeIDField {}
32402
32403
32404/// `SecondaryHighLimitPriceField` is a `PRICE` field, Tag 1230.
32405pub struct SecondaryHighLimitPriceField(pub FIXDecimal);
32406
32407impl SecondaryHighLimitPriceField {
32408
32409    pub fn new(val: Decimal, scale: i32) -> Self {
32410        Self(FIXDecimal { decimal: val, scale })
32411    }
32412    pub fn value(&self) -> Decimal { self.0.decimal }
32413
32414    pub fn tag() -> Tag { tag::SECONDARY_HIGH_LIMIT_PRICE }
32415}
32416
32417impl FieldValueReader for SecondaryHighLimitPriceField {
32418    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32419        self.0.read(raw)
32420    }
32421}
32422
32423impl FieldValueWriter for SecondaryHighLimitPriceField {
32424    fn write_to(&self, buf: &mut Vec<u8>) {
32425        self.0.write_to(buf);
32426    }
32427}
32428
32429impl FieldValue for SecondaryHighLimitPriceField {}
32430
32431
32432/// `SecondaryIndividualAllocIDField` is a `STRING` field, Tag 989.
32433pub struct SecondaryIndividualAllocIDField(pub FIXString);
32434
32435impl SecondaryIndividualAllocIDField {
32436
32437    pub fn new(val: String) -> Self { Self(val) }
32438    pub fn value(&self) -> &str { &self.0 }
32439
32440    pub fn tag() -> Tag { tag::SECONDARY_INDIVIDUAL_ALLOC_ID }
32441}
32442
32443impl FieldValueReader for SecondaryIndividualAllocIDField {
32444    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32445        self.0.read(raw)
32446    }
32447}
32448
32449impl FieldValueWriter for SecondaryIndividualAllocIDField {
32450    fn write_to(&self, buf: &mut Vec<u8>) {
32451        self.0.write_to(buf);
32452    }
32453}
32454
32455impl FieldValue for SecondaryIndividualAllocIDField {}
32456
32457
32458/// `SecondaryLowLimitPriceField` is a `PRICE` field, Tag 1221.
32459pub struct SecondaryLowLimitPriceField(pub FIXDecimal);
32460
32461impl SecondaryLowLimitPriceField {
32462
32463    pub fn new(val: Decimal, scale: i32) -> Self {
32464        Self(FIXDecimal { decimal: val, scale })
32465    }
32466    pub fn value(&self) -> Decimal { self.0.decimal }
32467
32468    pub fn tag() -> Tag { tag::SECONDARY_LOW_LIMIT_PRICE }
32469}
32470
32471impl FieldValueReader for SecondaryLowLimitPriceField {
32472    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32473        self.0.read(raw)
32474    }
32475}
32476
32477impl FieldValueWriter for SecondaryLowLimitPriceField {
32478    fn write_to(&self, buf: &mut Vec<u8>) {
32479        self.0.write_to(buf);
32480    }
32481}
32482
32483impl FieldValue for SecondaryLowLimitPriceField {}
32484
32485
32486/// `SecondaryOrderIDField` is a `STRING` field, Tag 198.
32487pub struct SecondaryOrderIDField(pub FIXString);
32488
32489impl SecondaryOrderIDField {
32490
32491    pub fn new(val: String) -> Self { Self(val) }
32492    pub fn value(&self) -> &str { &self.0 }
32493
32494    pub fn tag() -> Tag { tag::SECONDARY_ORDER_ID }
32495}
32496
32497impl FieldValueReader for SecondaryOrderIDField {
32498    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32499        self.0.read(raw)
32500    }
32501}
32502
32503impl FieldValueWriter for SecondaryOrderIDField {
32504    fn write_to(&self, buf: &mut Vec<u8>) {
32505        self.0.write_to(buf);
32506    }
32507}
32508
32509impl FieldValue for SecondaryOrderIDField {}
32510
32511
32512/// `SecondaryPriceLimitTypeField` is a `INT` field, Tag 1305.
32513pub struct SecondaryPriceLimitTypeField(pub FIXInt);
32514
32515impl SecondaryPriceLimitTypeField {
32516
32517    pub fn new(val: isize) -> Self { Self(val) }
32518    pub fn value(&self) -> isize { self.0 }
32519
32520    pub fn tag() -> Tag { tag::SECONDARY_PRICE_LIMIT_TYPE }
32521}
32522
32523impl FieldValueReader for SecondaryPriceLimitTypeField {
32524    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32525        self.0.read(raw)
32526    }
32527}
32528
32529impl FieldValueWriter for SecondaryPriceLimitTypeField {
32530    fn write_to(&self, buf: &mut Vec<u8>) {
32531        self.0.write_to(buf);
32532    }
32533}
32534
32535impl FieldValue for SecondaryPriceLimitTypeField {}
32536
32537
32538/// `SecondaryTradeIDField` is a `STRING` field, Tag 1040.
32539pub struct SecondaryTradeIDField(pub FIXString);
32540
32541impl SecondaryTradeIDField {
32542
32543    pub fn new(val: String) -> Self { Self(val) }
32544    pub fn value(&self) -> &str { &self.0 }
32545
32546    pub fn tag() -> Tag { tag::SECONDARY_TRADE_ID }
32547}
32548
32549impl FieldValueReader for SecondaryTradeIDField {
32550    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32551        self.0.read(raw)
32552    }
32553}
32554
32555impl FieldValueWriter for SecondaryTradeIDField {
32556    fn write_to(&self, buf: &mut Vec<u8>) {
32557        self.0.write_to(buf);
32558    }
32559}
32560
32561impl FieldValue for SecondaryTradeIDField {}
32562
32563
32564/// `SecondaryTradeReportIDField` is a `STRING` field, Tag 818.
32565pub struct SecondaryTradeReportIDField(pub FIXString);
32566
32567impl SecondaryTradeReportIDField {
32568
32569    pub fn new(val: String) -> Self { Self(val) }
32570    pub fn value(&self) -> &str { &self.0 }
32571
32572    pub fn tag() -> Tag { tag::SECONDARY_TRADE_REPORT_ID }
32573}
32574
32575impl FieldValueReader for SecondaryTradeReportIDField {
32576    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32577        self.0.read(raw)
32578    }
32579}
32580
32581impl FieldValueWriter for SecondaryTradeReportIDField {
32582    fn write_to(&self, buf: &mut Vec<u8>) {
32583        self.0.write_to(buf);
32584    }
32585}
32586
32587impl FieldValue for SecondaryTradeReportIDField {}
32588
32589
32590/// `SecondaryTradeReportRefIDField` is a `STRING` field, Tag 881.
32591pub struct SecondaryTradeReportRefIDField(pub FIXString);
32592
32593impl SecondaryTradeReportRefIDField {
32594
32595    pub fn new(val: String) -> Self { Self(val) }
32596    pub fn value(&self) -> &str { &self.0 }
32597
32598    pub fn tag() -> Tag { tag::SECONDARY_TRADE_REPORT_REF_ID }
32599}
32600
32601impl FieldValueReader for SecondaryTradeReportRefIDField {
32602    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32603        self.0.read(raw)
32604    }
32605}
32606
32607impl FieldValueWriter for SecondaryTradeReportRefIDField {
32608    fn write_to(&self, buf: &mut Vec<u8>) {
32609        self.0.write_to(buf);
32610    }
32611}
32612
32613impl FieldValue for SecondaryTradeReportRefIDField {}
32614
32615
32616/// `SecondaryTradingReferencePriceField` is a `PRICE` field, Tag 1240.
32617pub struct SecondaryTradingReferencePriceField(pub FIXDecimal);
32618
32619impl SecondaryTradingReferencePriceField {
32620
32621    pub fn new(val: Decimal, scale: i32) -> Self {
32622        Self(FIXDecimal { decimal: val, scale })
32623    }
32624    pub fn value(&self) -> Decimal { self.0.decimal }
32625
32626    pub fn tag() -> Tag { tag::SECONDARY_TRADING_REFERENCE_PRICE }
32627}
32628
32629impl FieldValueReader for SecondaryTradingReferencePriceField {
32630    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32631        self.0.read(raw)
32632    }
32633}
32634
32635impl FieldValueWriter for SecondaryTradingReferencePriceField {
32636    fn write_to(&self, buf: &mut Vec<u8>) {
32637        self.0.write_to(buf);
32638    }
32639}
32640
32641impl FieldValue for SecondaryTradingReferencePriceField {}
32642
32643
32644/// `SecondaryTrdTypeField` is a `INT` field, Tag 855.
32645pub struct SecondaryTrdTypeField(pub FIXInt);
32646
32647impl SecondaryTrdTypeField {
32648
32649    pub fn new(val: isize) -> Self { Self(val) }
32650    pub fn value(&self) -> isize { self.0 }
32651
32652    pub fn tag() -> Tag { tag::SECONDARY_TRD_TYPE }
32653}
32654
32655impl FieldValueReader for SecondaryTrdTypeField {
32656    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32657        self.0.read(raw)
32658    }
32659}
32660
32661impl FieldValueWriter for SecondaryTrdTypeField {
32662    fn write_to(&self, buf: &mut Vec<u8>) {
32663        self.0.write_to(buf);
32664    }
32665}
32666
32667impl FieldValue for SecondaryTrdTypeField {}
32668
32669
32670/// `SecureDataField` is a `DATA` field, Tag 91.
32671pub struct SecureDataField(pub FIXString);
32672
32673impl SecureDataField {
32674
32675    pub fn new(val: String) -> Self { Self(val) }
32676    pub fn value(&self) -> &str { &self.0 }
32677
32678    pub fn tag() -> Tag { tag::SECURE_DATA }
32679}
32680
32681impl FieldValueReader for SecureDataField {
32682    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32683        self.0.read(raw)
32684    }
32685}
32686
32687impl FieldValueWriter for SecureDataField {
32688    fn write_to(&self, buf: &mut Vec<u8>) {
32689        self.0.write_to(buf);
32690    }
32691}
32692
32693impl FieldValue for SecureDataField {}
32694
32695
32696/// `SecureDataLenField` is a `LENGTH` field, Tag 90.
32697pub struct SecureDataLenField(pub FIXInt);
32698
32699impl SecureDataLenField {
32700
32701    pub fn new(val: isize) -> Self { Self(val) }
32702    pub fn value(&self) -> isize { self.0 }
32703
32704    pub fn tag() -> Tag { tag::SECURE_DATA_LEN }
32705}
32706
32707impl FieldValueReader for SecureDataLenField {
32708    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32709        self.0.read(raw)
32710    }
32711}
32712
32713impl FieldValueWriter for SecureDataLenField {
32714    fn write_to(&self, buf: &mut Vec<u8>) {
32715        self.0.write_to(buf);
32716    }
32717}
32718
32719impl FieldValue for SecureDataLenField {}
32720
32721
32722/// `SecurityAltIDField` is a `STRING` field, Tag 455.
32723pub struct SecurityAltIDField(pub FIXString);
32724
32725impl SecurityAltIDField {
32726
32727    pub fn new(val: String) -> Self { Self(val) }
32728    pub fn value(&self) -> &str { &self.0 }
32729
32730    pub fn tag() -> Tag { tag::SECURITY_ALT_ID }
32731}
32732
32733impl FieldValueReader for SecurityAltIDField {
32734    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32735        self.0.read(raw)
32736    }
32737}
32738
32739impl FieldValueWriter for SecurityAltIDField {
32740    fn write_to(&self, buf: &mut Vec<u8>) {
32741        self.0.write_to(buf);
32742    }
32743}
32744
32745impl FieldValue for SecurityAltIDField {}
32746
32747
32748/// `SecurityAltIDSourceField` is a `STRING` field, Tag 456.
32749pub struct SecurityAltIDSourceField(pub FIXString);
32750
32751impl SecurityAltIDSourceField {
32752
32753    pub fn new(val: String) -> Self { Self(val) }
32754    pub fn value(&self) -> &str { &self.0 }
32755
32756    pub fn tag() -> Tag { tag::SECURITY_ALT_ID_SOURCE }
32757}
32758
32759impl FieldValueReader for SecurityAltIDSourceField {
32760    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32761        self.0.read(raw)
32762    }
32763}
32764
32765impl FieldValueWriter for SecurityAltIDSourceField {
32766    fn write_to(&self, buf: &mut Vec<u8>) {
32767        self.0.write_to(buf);
32768    }
32769}
32770
32771impl FieldValue for SecurityAltIDSourceField {}
32772
32773
32774/// `SecurityDescField` is a `STRING` field, Tag 107.
32775pub struct SecurityDescField(pub FIXString);
32776
32777impl SecurityDescField {
32778
32779    pub fn new(val: String) -> Self { Self(val) }
32780    pub fn value(&self) -> &str { &self.0 }
32781
32782    pub fn tag() -> Tag { tag::SECURITY_DESC }
32783}
32784
32785impl FieldValueReader for SecurityDescField {
32786    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32787        self.0.read(raw)
32788    }
32789}
32790
32791impl FieldValueWriter for SecurityDescField {
32792    fn write_to(&self, buf: &mut Vec<u8>) {
32793        self.0.write_to(buf);
32794    }
32795}
32796
32797impl FieldValue for SecurityDescField {}
32798
32799
32800/// `SecurityExchangeField` is a `EXCHANGE` field, Tag 207.
32801pub struct SecurityExchangeField(pub FIXString);
32802
32803impl SecurityExchangeField {
32804
32805    pub fn new(val: String) -> Self { Self(val) }
32806    pub fn value(&self) -> &str { &self.0 }
32807
32808    pub fn tag() -> Tag { tag::SECURITY_EXCHANGE }
32809}
32810
32811impl FieldValueReader for SecurityExchangeField {
32812    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32813        self.0.read(raw)
32814    }
32815}
32816
32817impl FieldValueWriter for SecurityExchangeField {
32818    fn write_to(&self, buf: &mut Vec<u8>) {
32819        self.0.write_to(buf);
32820    }
32821}
32822
32823impl FieldValue for SecurityExchangeField {}
32824
32825
32826/// `SecurityGroupField` is a `STRING` field, Tag 1151.
32827pub struct SecurityGroupField(pub FIXString);
32828
32829impl SecurityGroupField {
32830
32831    pub fn new(val: String) -> Self { Self(val) }
32832    pub fn value(&self) -> &str { &self.0 }
32833
32834    pub fn tag() -> Tag { tag::SECURITY_GROUP }
32835}
32836
32837impl FieldValueReader for SecurityGroupField {
32838    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32839        self.0.read(raw)
32840    }
32841}
32842
32843impl FieldValueWriter for SecurityGroupField {
32844    fn write_to(&self, buf: &mut Vec<u8>) {
32845        self.0.write_to(buf);
32846    }
32847}
32848
32849impl FieldValue for SecurityGroupField {}
32850
32851
32852/// `SecurityIDField` is a `STRING` field, Tag 48.
32853pub struct SecurityIDField(pub FIXString);
32854
32855impl SecurityIDField {
32856
32857    pub fn new(val: String) -> Self { Self(val) }
32858    pub fn value(&self) -> &str { &self.0 }
32859
32860    pub fn tag() -> Tag { tag::SECURITY_ID }
32861}
32862
32863impl FieldValueReader for SecurityIDField {
32864    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32865        self.0.read(raw)
32866    }
32867}
32868
32869impl FieldValueWriter for SecurityIDField {
32870    fn write_to(&self, buf: &mut Vec<u8>) {
32871        self.0.write_to(buf);
32872    }
32873}
32874
32875impl FieldValue for SecurityIDField {}
32876
32877
32878/// `SecurityIDSourceField` is a `STRING` field, Tag 22.
32879pub struct SecurityIDSourceField(pub FIXString);
32880
32881impl SecurityIDSourceField {
32882
32883    pub fn new(val: String) -> Self { Self(val) }
32884    pub fn value(&self) -> &str { &self.0 }
32885
32886    pub fn tag() -> Tag { tag::SECURITY_ID_SOURCE }
32887}
32888
32889impl FieldValueReader for SecurityIDSourceField {
32890    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32891        self.0.read(raw)
32892    }
32893}
32894
32895impl FieldValueWriter for SecurityIDSourceField {
32896    fn write_to(&self, buf: &mut Vec<u8>) {
32897        self.0.write_to(buf);
32898    }
32899}
32900
32901impl FieldValue for SecurityIDSourceField {}
32902
32903
32904/// `SecurityListDescField` is a `STRING` field, Tag 1467.
32905pub struct SecurityListDescField(pub FIXString);
32906
32907impl SecurityListDescField {
32908
32909    pub fn new(val: String) -> Self { Self(val) }
32910    pub fn value(&self) -> &str { &self.0 }
32911
32912    pub fn tag() -> Tag { tag::SECURITY_LIST_DESC }
32913}
32914
32915impl FieldValueReader for SecurityListDescField {
32916    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32917        self.0.read(raw)
32918    }
32919}
32920
32921impl FieldValueWriter for SecurityListDescField {
32922    fn write_to(&self, buf: &mut Vec<u8>) {
32923        self.0.write_to(buf);
32924    }
32925}
32926
32927impl FieldValue for SecurityListDescField {}
32928
32929
32930/// `SecurityListIDField` is a `STRING` field, Tag 1465.
32931pub struct SecurityListIDField(pub FIXString);
32932
32933impl SecurityListIDField {
32934
32935    pub fn new(val: String) -> Self { Self(val) }
32936    pub fn value(&self) -> &str { &self.0 }
32937
32938    pub fn tag() -> Tag { tag::SECURITY_LIST_ID }
32939}
32940
32941impl FieldValueReader for SecurityListIDField {
32942    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32943        self.0.read(raw)
32944    }
32945}
32946
32947impl FieldValueWriter for SecurityListIDField {
32948    fn write_to(&self, buf: &mut Vec<u8>) {
32949        self.0.write_to(buf);
32950    }
32951}
32952
32953impl FieldValue for SecurityListIDField {}
32954
32955
32956/// `SecurityListRefIDField` is a `STRING` field, Tag 1466.
32957pub struct SecurityListRefIDField(pub FIXString);
32958
32959impl SecurityListRefIDField {
32960
32961    pub fn new(val: String) -> Self { Self(val) }
32962    pub fn value(&self) -> &str { &self.0 }
32963
32964    pub fn tag() -> Tag { tag::SECURITY_LIST_REF_ID }
32965}
32966
32967impl FieldValueReader for SecurityListRefIDField {
32968    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32969        self.0.read(raw)
32970    }
32971}
32972
32973impl FieldValueWriter for SecurityListRefIDField {
32974    fn write_to(&self, buf: &mut Vec<u8>) {
32975        self.0.write_to(buf);
32976    }
32977}
32978
32979impl FieldValue for SecurityListRefIDField {}
32980
32981
32982/// `SecurityListRequestTypeField` is a `INT` field, Tag 559.
32983pub struct SecurityListRequestTypeField(pub FIXInt);
32984
32985impl SecurityListRequestTypeField {
32986
32987    pub fn new(val: isize) -> Self { Self(val) }
32988    pub fn value(&self) -> isize { self.0 }
32989
32990    pub fn tag() -> Tag { tag::SECURITY_LIST_REQUEST_TYPE }
32991}
32992
32993impl FieldValueReader for SecurityListRequestTypeField {
32994    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
32995        self.0.read(raw)
32996    }
32997}
32998
32999impl FieldValueWriter for SecurityListRequestTypeField {
33000    fn write_to(&self, buf: &mut Vec<u8>) {
33001        self.0.write_to(buf);
33002    }
33003}
33004
33005impl FieldValue for SecurityListRequestTypeField {}
33006
33007
33008/// `SecurityListTypeField` is a `INT` field, Tag 1470.
33009pub struct SecurityListTypeField(pub FIXInt);
33010
33011impl SecurityListTypeField {
33012
33013    pub fn new(val: isize) -> Self { Self(val) }
33014    pub fn value(&self) -> isize { self.0 }
33015
33016    pub fn tag() -> Tag { tag::SECURITY_LIST_TYPE }
33017}
33018
33019impl FieldValueReader for SecurityListTypeField {
33020    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33021        self.0.read(raw)
33022    }
33023}
33024
33025impl FieldValueWriter for SecurityListTypeField {
33026    fn write_to(&self, buf: &mut Vec<u8>) {
33027        self.0.write_to(buf);
33028    }
33029}
33030
33031impl FieldValue for SecurityListTypeField {}
33032
33033
33034/// `SecurityListTypeSourceField` is a `INT` field, Tag 1471.
33035pub struct SecurityListTypeSourceField(pub FIXInt);
33036
33037impl SecurityListTypeSourceField {
33038
33039    pub fn new(val: isize) -> Self { Self(val) }
33040    pub fn value(&self) -> isize { self.0 }
33041
33042    pub fn tag() -> Tag { tag::SECURITY_LIST_TYPE_SOURCE }
33043}
33044
33045impl FieldValueReader for SecurityListTypeSourceField {
33046    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33047        self.0.read(raw)
33048    }
33049}
33050
33051impl FieldValueWriter for SecurityListTypeSourceField {
33052    fn write_to(&self, buf: &mut Vec<u8>) {
33053        self.0.write_to(buf);
33054    }
33055}
33056
33057impl FieldValue for SecurityListTypeSourceField {}
33058
33059
33060/// `SecurityReportIDField` is a `INT` field, Tag 964.
33061pub struct SecurityReportIDField(pub FIXInt);
33062
33063impl SecurityReportIDField {
33064
33065    pub fn new(val: isize) -> Self { Self(val) }
33066    pub fn value(&self) -> isize { self.0 }
33067
33068    pub fn tag() -> Tag { tag::SECURITY_REPORT_ID }
33069}
33070
33071impl FieldValueReader for SecurityReportIDField {
33072    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33073        self.0.read(raw)
33074    }
33075}
33076
33077impl FieldValueWriter for SecurityReportIDField {
33078    fn write_to(&self, buf: &mut Vec<u8>) {
33079        self.0.write_to(buf);
33080    }
33081}
33082
33083impl FieldValue for SecurityReportIDField {}
33084
33085
33086/// `SecurityReqIDField` is a `STRING` field, Tag 320.
33087pub struct SecurityReqIDField(pub FIXString);
33088
33089impl SecurityReqIDField {
33090
33091    pub fn new(val: String) -> Self { Self(val) }
33092    pub fn value(&self) -> &str { &self.0 }
33093
33094    pub fn tag() -> Tag { tag::SECURITY_REQ_ID }
33095}
33096
33097impl FieldValueReader for SecurityReqIDField {
33098    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33099        self.0.read(raw)
33100    }
33101}
33102
33103impl FieldValueWriter for SecurityReqIDField {
33104    fn write_to(&self, buf: &mut Vec<u8>) {
33105        self.0.write_to(buf);
33106    }
33107}
33108
33109impl FieldValue for SecurityReqIDField {}
33110
33111
33112/// `SecurityRequestResultField` is a `INT` field, Tag 560.
33113pub struct SecurityRequestResultField(pub FIXInt);
33114
33115impl SecurityRequestResultField {
33116
33117    pub fn new(val: isize) -> Self { Self(val) }
33118    pub fn value(&self) -> isize { self.0 }
33119
33120    pub fn tag() -> Tag { tag::SECURITY_REQUEST_RESULT }
33121}
33122
33123impl FieldValueReader for SecurityRequestResultField {
33124    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33125        self.0.read(raw)
33126    }
33127}
33128
33129impl FieldValueWriter for SecurityRequestResultField {
33130    fn write_to(&self, buf: &mut Vec<u8>) {
33131        self.0.write_to(buf);
33132    }
33133}
33134
33135impl FieldValue for SecurityRequestResultField {}
33136
33137
33138/// `SecurityRequestTypeField` is a `INT` field, Tag 321.
33139pub struct SecurityRequestTypeField(pub FIXInt);
33140
33141impl SecurityRequestTypeField {
33142
33143    pub fn new(val: isize) -> Self { Self(val) }
33144    pub fn value(&self) -> isize { self.0 }
33145
33146    pub fn tag() -> Tag { tag::SECURITY_REQUEST_TYPE }
33147}
33148
33149impl FieldValueReader for SecurityRequestTypeField {
33150    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33151        self.0.read(raw)
33152    }
33153}
33154
33155impl FieldValueWriter for SecurityRequestTypeField {
33156    fn write_to(&self, buf: &mut Vec<u8>) {
33157        self.0.write_to(buf);
33158    }
33159}
33160
33161impl FieldValue for SecurityRequestTypeField {}
33162
33163
33164/// `SecurityResponseIDField` is a `STRING` field, Tag 322.
33165pub struct SecurityResponseIDField(pub FIXString);
33166
33167impl SecurityResponseIDField {
33168
33169    pub fn new(val: String) -> Self { Self(val) }
33170    pub fn value(&self) -> &str { &self.0 }
33171
33172    pub fn tag() -> Tag { tag::SECURITY_RESPONSE_ID }
33173}
33174
33175impl FieldValueReader for SecurityResponseIDField {
33176    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33177        self.0.read(raw)
33178    }
33179}
33180
33181impl FieldValueWriter for SecurityResponseIDField {
33182    fn write_to(&self, buf: &mut Vec<u8>) {
33183        self.0.write_to(buf);
33184    }
33185}
33186
33187impl FieldValue for SecurityResponseIDField {}
33188
33189
33190/// `SecurityResponseTypeField` is a `INT` field, Tag 323.
33191pub struct SecurityResponseTypeField(pub FIXInt);
33192
33193impl SecurityResponseTypeField {
33194
33195    pub fn new(val: isize) -> Self { Self(val) }
33196    pub fn value(&self) -> isize { self.0 }
33197
33198    pub fn tag() -> Tag { tag::SECURITY_RESPONSE_TYPE }
33199}
33200
33201impl FieldValueReader for SecurityResponseTypeField {
33202    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33203        self.0.read(raw)
33204    }
33205}
33206
33207impl FieldValueWriter for SecurityResponseTypeField {
33208    fn write_to(&self, buf: &mut Vec<u8>) {
33209        self.0.write_to(buf);
33210    }
33211}
33212
33213impl FieldValue for SecurityResponseTypeField {}
33214
33215
33216/// `SecuritySettlAgentAcctNameField` is a `STRING` field, Tag 179.
33217pub struct SecuritySettlAgentAcctNameField(pub FIXString);
33218
33219impl SecuritySettlAgentAcctNameField {
33220
33221    pub fn new(val: String) -> Self { Self(val) }
33222    pub fn value(&self) -> &str { &self.0 }
33223
33224    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_ACCT_NAME }
33225}
33226
33227impl FieldValueReader for SecuritySettlAgentAcctNameField {
33228    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33229        self.0.read(raw)
33230    }
33231}
33232
33233impl FieldValueWriter for SecuritySettlAgentAcctNameField {
33234    fn write_to(&self, buf: &mut Vec<u8>) {
33235        self.0.write_to(buf);
33236    }
33237}
33238
33239impl FieldValue for SecuritySettlAgentAcctNameField {}
33240
33241
33242/// `SecuritySettlAgentAcctNumField` is a `STRING` field, Tag 178.
33243pub struct SecuritySettlAgentAcctNumField(pub FIXString);
33244
33245impl SecuritySettlAgentAcctNumField {
33246
33247    pub fn new(val: String) -> Self { Self(val) }
33248    pub fn value(&self) -> &str { &self.0 }
33249
33250    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_ACCT_NUM }
33251}
33252
33253impl FieldValueReader for SecuritySettlAgentAcctNumField {
33254    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33255        self.0.read(raw)
33256    }
33257}
33258
33259impl FieldValueWriter for SecuritySettlAgentAcctNumField {
33260    fn write_to(&self, buf: &mut Vec<u8>) {
33261        self.0.write_to(buf);
33262    }
33263}
33264
33265impl FieldValue for SecuritySettlAgentAcctNumField {}
33266
33267
33268/// `SecuritySettlAgentCodeField` is a `STRING` field, Tag 177.
33269pub struct SecuritySettlAgentCodeField(pub FIXString);
33270
33271impl SecuritySettlAgentCodeField {
33272
33273    pub fn new(val: String) -> Self { Self(val) }
33274    pub fn value(&self) -> &str { &self.0 }
33275
33276    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_CODE }
33277}
33278
33279impl FieldValueReader for SecuritySettlAgentCodeField {
33280    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33281        self.0.read(raw)
33282    }
33283}
33284
33285impl FieldValueWriter for SecuritySettlAgentCodeField {
33286    fn write_to(&self, buf: &mut Vec<u8>) {
33287        self.0.write_to(buf);
33288    }
33289}
33290
33291impl FieldValue for SecuritySettlAgentCodeField {}
33292
33293
33294/// `SecuritySettlAgentContactNameField` is a `STRING` field, Tag 180.
33295pub struct SecuritySettlAgentContactNameField(pub FIXString);
33296
33297impl SecuritySettlAgentContactNameField {
33298
33299    pub fn new(val: String) -> Self { Self(val) }
33300    pub fn value(&self) -> &str { &self.0 }
33301
33302    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_CONTACT_NAME }
33303}
33304
33305impl FieldValueReader for SecuritySettlAgentContactNameField {
33306    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33307        self.0.read(raw)
33308    }
33309}
33310
33311impl FieldValueWriter for SecuritySettlAgentContactNameField {
33312    fn write_to(&self, buf: &mut Vec<u8>) {
33313        self.0.write_to(buf);
33314    }
33315}
33316
33317impl FieldValue for SecuritySettlAgentContactNameField {}
33318
33319
33320/// `SecuritySettlAgentContactPhoneField` is a `STRING` field, Tag 181.
33321pub struct SecuritySettlAgentContactPhoneField(pub FIXString);
33322
33323impl SecuritySettlAgentContactPhoneField {
33324
33325    pub fn new(val: String) -> Self { Self(val) }
33326    pub fn value(&self) -> &str { &self.0 }
33327
33328    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_CONTACT_PHONE }
33329}
33330
33331impl FieldValueReader for SecuritySettlAgentContactPhoneField {
33332    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33333        self.0.read(raw)
33334    }
33335}
33336
33337impl FieldValueWriter for SecuritySettlAgentContactPhoneField {
33338    fn write_to(&self, buf: &mut Vec<u8>) {
33339        self.0.write_to(buf);
33340    }
33341}
33342
33343impl FieldValue for SecuritySettlAgentContactPhoneField {}
33344
33345
33346/// `SecuritySettlAgentNameField` is a `STRING` field, Tag 176.
33347pub struct SecuritySettlAgentNameField(pub FIXString);
33348
33349impl SecuritySettlAgentNameField {
33350
33351    pub fn new(val: String) -> Self { Self(val) }
33352    pub fn value(&self) -> &str { &self.0 }
33353
33354    pub fn tag() -> Tag { tag::SECURITY_SETTL_AGENT_NAME }
33355}
33356
33357impl FieldValueReader for SecuritySettlAgentNameField {
33358    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33359        self.0.read(raw)
33360    }
33361}
33362
33363impl FieldValueWriter for SecuritySettlAgentNameField {
33364    fn write_to(&self, buf: &mut Vec<u8>) {
33365        self.0.write_to(buf);
33366    }
33367}
33368
33369impl FieldValue for SecuritySettlAgentNameField {}
33370
33371
33372/// `SecurityStatusField` is a `STRING` field, Tag 965.
33373pub struct SecurityStatusField(pub FIXString);
33374
33375impl SecurityStatusField {
33376
33377    pub fn new(val: String) -> Self { Self(val) }
33378    pub fn value(&self) -> &str { &self.0 }
33379
33380    pub fn tag() -> Tag { tag::SECURITY_STATUS }
33381}
33382
33383impl FieldValueReader for SecurityStatusField {
33384    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33385        self.0.read(raw)
33386    }
33387}
33388
33389impl FieldValueWriter for SecurityStatusField {
33390    fn write_to(&self, buf: &mut Vec<u8>) {
33391        self.0.write_to(buf);
33392    }
33393}
33394
33395impl FieldValue for SecurityStatusField {}
33396
33397
33398/// `SecurityStatusReqIDField` is a `STRING` field, Tag 324.
33399pub struct SecurityStatusReqIDField(pub FIXString);
33400
33401impl SecurityStatusReqIDField {
33402
33403    pub fn new(val: String) -> Self { Self(val) }
33404    pub fn value(&self) -> &str { &self.0 }
33405
33406    pub fn tag() -> Tag { tag::SECURITY_STATUS_REQ_ID }
33407}
33408
33409impl FieldValueReader for SecurityStatusReqIDField {
33410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33411        self.0.read(raw)
33412    }
33413}
33414
33415impl FieldValueWriter for SecurityStatusReqIDField {
33416    fn write_to(&self, buf: &mut Vec<u8>) {
33417        self.0.write_to(buf);
33418    }
33419}
33420
33421impl FieldValue for SecurityStatusReqIDField {}
33422
33423
33424/// `SecuritySubTypeField` is a `STRING` field, Tag 762.
33425pub struct SecuritySubTypeField(pub FIXString);
33426
33427impl SecuritySubTypeField {
33428
33429    pub fn new(val: String) -> Self { Self(val) }
33430    pub fn value(&self) -> &str { &self.0 }
33431
33432    pub fn tag() -> Tag { tag::SECURITY_SUB_TYPE }
33433}
33434
33435impl FieldValueReader for SecuritySubTypeField {
33436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33437        self.0.read(raw)
33438    }
33439}
33440
33441impl FieldValueWriter for SecuritySubTypeField {
33442    fn write_to(&self, buf: &mut Vec<u8>) {
33443        self.0.write_to(buf);
33444    }
33445}
33446
33447impl FieldValue for SecuritySubTypeField {}
33448
33449
33450/// `SecurityTradingEventField` is a `INT` field, Tag 1174.
33451pub struct SecurityTradingEventField(pub FIXInt);
33452
33453impl SecurityTradingEventField {
33454
33455    pub fn new(val: isize) -> Self { Self(val) }
33456    pub fn value(&self) -> isize { self.0 }
33457
33458    pub fn tag() -> Tag { tag::SECURITY_TRADING_EVENT }
33459}
33460
33461impl FieldValueReader for SecurityTradingEventField {
33462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33463        self.0.read(raw)
33464    }
33465}
33466
33467impl FieldValueWriter for SecurityTradingEventField {
33468    fn write_to(&self, buf: &mut Vec<u8>) {
33469        self.0.write_to(buf);
33470    }
33471}
33472
33473impl FieldValue for SecurityTradingEventField {}
33474
33475
33476/// `SecurityTradingStatusField` is a `INT` field, Tag 326.
33477pub struct SecurityTradingStatusField(pub FIXInt);
33478
33479impl SecurityTradingStatusField {
33480
33481    pub fn new(val: isize) -> Self { Self(val) }
33482    pub fn value(&self) -> isize { self.0 }
33483
33484    pub fn tag() -> Tag { tag::SECURITY_TRADING_STATUS }
33485}
33486
33487impl FieldValueReader for SecurityTradingStatusField {
33488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33489        self.0.read(raw)
33490    }
33491}
33492
33493impl FieldValueWriter for SecurityTradingStatusField {
33494    fn write_to(&self, buf: &mut Vec<u8>) {
33495        self.0.write_to(buf);
33496    }
33497}
33498
33499impl FieldValue for SecurityTradingStatusField {}
33500
33501
33502/// `SecurityTypeField` is a `STRING` field, Tag 167.
33503pub struct SecurityTypeField(pub FIXString);
33504
33505impl SecurityTypeField {
33506
33507    pub fn new(val: String) -> Self { Self(val) }
33508    pub fn value(&self) -> &str { &self.0 }
33509
33510    pub fn tag() -> Tag { tag::SECURITY_TYPE }
33511}
33512
33513impl FieldValueReader for SecurityTypeField {
33514    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33515        self.0.read(raw)
33516    }
33517}
33518
33519impl FieldValueWriter for SecurityTypeField {
33520    fn write_to(&self, buf: &mut Vec<u8>) {
33521        self.0.write_to(buf);
33522    }
33523}
33524
33525impl FieldValue for SecurityTypeField {}
33526
33527
33528/// `SecurityUpdateActionField` is a `CHAR` field, Tag 980.
33529pub struct SecurityUpdateActionField(pub FIXString);
33530
33531impl SecurityUpdateActionField {
33532
33533    pub fn new(val: String) -> Self { Self(val) }
33534    pub fn value(&self) -> &str { &self.0 }
33535
33536    pub fn tag() -> Tag { tag::SECURITY_UPDATE_ACTION }
33537}
33538
33539impl FieldValueReader for SecurityUpdateActionField {
33540    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33541        self.0.read(raw)
33542    }
33543}
33544
33545impl FieldValueWriter for SecurityUpdateActionField {
33546    fn write_to(&self, buf: &mut Vec<u8>) {
33547        self.0.write_to(buf);
33548    }
33549}
33550
33551impl FieldValue for SecurityUpdateActionField {}
33552
33553
33554/// `SecurityXMLField` is a `XMLDATA` field, Tag 1185.
33555pub struct SecurityXMLField(pub FIXString);
33556
33557impl SecurityXMLField {
33558
33559    pub fn new(val: String) -> Self { Self(val) }
33560    pub fn value(&self) -> &str { &self.0 }
33561
33562    pub fn tag() -> Tag { tag::SECURITY_XML }
33563}
33564
33565impl FieldValueReader for SecurityXMLField {
33566    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33567        self.0.read(raw)
33568    }
33569}
33570
33571impl FieldValueWriter for SecurityXMLField {
33572    fn write_to(&self, buf: &mut Vec<u8>) {
33573        self.0.write_to(buf);
33574    }
33575}
33576
33577impl FieldValue for SecurityXMLField {}
33578
33579
33580/// `SecurityXMLLenField` is a `LENGTH` field, Tag 1184.
33581pub struct SecurityXMLLenField(pub FIXInt);
33582
33583impl SecurityXMLLenField {
33584
33585    pub fn new(val: isize) -> Self { Self(val) }
33586    pub fn value(&self) -> isize { self.0 }
33587
33588    pub fn tag() -> Tag { tag::SECURITY_XML_LEN }
33589}
33590
33591impl FieldValueReader for SecurityXMLLenField {
33592    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33593        self.0.read(raw)
33594    }
33595}
33596
33597impl FieldValueWriter for SecurityXMLLenField {
33598    fn write_to(&self, buf: &mut Vec<u8>) {
33599        self.0.write_to(buf);
33600    }
33601}
33602
33603impl FieldValue for SecurityXMLLenField {}
33604
33605
33606/// `SecurityXMLSchemaField` is a `STRING` field, Tag 1186.
33607pub struct SecurityXMLSchemaField(pub FIXString);
33608
33609impl SecurityXMLSchemaField {
33610
33611    pub fn new(val: String) -> Self { Self(val) }
33612    pub fn value(&self) -> &str { &self.0 }
33613
33614    pub fn tag() -> Tag { tag::SECURITY_XML_SCHEMA }
33615}
33616
33617impl FieldValueReader for SecurityXMLSchemaField {
33618    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33619        self.0.read(raw)
33620    }
33621}
33622
33623impl FieldValueWriter for SecurityXMLSchemaField {
33624    fn write_to(&self, buf: &mut Vec<u8>) {
33625        self.0.write_to(buf);
33626    }
33627}
33628
33629impl FieldValue for SecurityXMLSchemaField {}
33630
33631
33632/// `SellVolumeField` is a `QTY` field, Tag 331.
33633pub struct SellVolumeField(pub FIXDecimal);
33634
33635impl SellVolumeField {
33636
33637    pub fn new(val: Decimal, scale: i32) -> Self {
33638        Self(FIXDecimal { decimal: val, scale })
33639    }
33640    pub fn value(&self) -> Decimal { self.0.decimal }
33641
33642    pub fn tag() -> Tag { tag::SELL_VOLUME }
33643}
33644
33645impl FieldValueReader for SellVolumeField {
33646    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33647        self.0.read(raw)
33648    }
33649}
33650
33651impl FieldValueWriter for SellVolumeField {
33652    fn write_to(&self, buf: &mut Vec<u8>) {
33653        self.0.write_to(buf);
33654    }
33655}
33656
33657impl FieldValue for SellVolumeField {}
33658
33659
33660/// `SellerDaysField` is a `INT` field, Tag 287.
33661pub struct SellerDaysField(pub FIXInt);
33662
33663impl SellerDaysField {
33664
33665    pub fn new(val: isize) -> Self { Self(val) }
33666    pub fn value(&self) -> isize { self.0 }
33667
33668    pub fn tag() -> Tag { tag::SELLER_DAYS }
33669}
33670
33671impl FieldValueReader for SellerDaysField {
33672    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33673        self.0.read(raw)
33674    }
33675}
33676
33677impl FieldValueWriter for SellerDaysField {
33678    fn write_to(&self, buf: &mut Vec<u8>) {
33679        self.0.write_to(buf);
33680    }
33681}
33682
33683impl FieldValue for SellerDaysField {}
33684
33685
33686/// `SenderCompIDField` is a `STRING` field, Tag 49.
33687pub struct SenderCompIDField(pub FIXString);
33688
33689impl SenderCompIDField {
33690
33691    pub fn new(val: String) -> Self { Self(val) }
33692    pub fn value(&self) -> &str { &self.0 }
33693
33694    pub fn tag() -> Tag { tag::SENDER_COMP_ID }
33695}
33696
33697impl FieldValueReader for SenderCompIDField {
33698    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33699        self.0.read(raw)
33700    }
33701}
33702
33703impl FieldValueWriter for SenderCompIDField {
33704    fn write_to(&self, buf: &mut Vec<u8>) {
33705        self.0.write_to(buf);
33706    }
33707}
33708
33709impl FieldValue for SenderCompIDField {}
33710
33711
33712/// `SenderLocationIDField` is a `STRING` field, Tag 142.
33713pub struct SenderLocationIDField(pub FIXString);
33714
33715impl SenderLocationIDField {
33716
33717    pub fn new(val: String) -> Self { Self(val) }
33718    pub fn value(&self) -> &str { &self.0 }
33719
33720    pub fn tag() -> Tag { tag::SENDER_LOCATION_ID }
33721}
33722
33723impl FieldValueReader for SenderLocationIDField {
33724    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33725        self.0.read(raw)
33726    }
33727}
33728
33729impl FieldValueWriter for SenderLocationIDField {
33730    fn write_to(&self, buf: &mut Vec<u8>) {
33731        self.0.write_to(buf);
33732    }
33733}
33734
33735impl FieldValue for SenderLocationIDField {}
33736
33737
33738/// `SenderSubIDField` is a `STRING` field, Tag 50.
33739pub struct SenderSubIDField(pub FIXString);
33740
33741impl SenderSubIDField {
33742
33743    pub fn new(val: String) -> Self { Self(val) }
33744    pub fn value(&self) -> &str { &self.0 }
33745
33746    pub fn tag() -> Tag { tag::SENDER_SUB_ID }
33747}
33748
33749impl FieldValueReader for SenderSubIDField {
33750    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33751        self.0.read(raw)
33752    }
33753}
33754
33755impl FieldValueWriter for SenderSubIDField {
33756    fn write_to(&self, buf: &mut Vec<u8>) {
33757        self.0.write_to(buf);
33758    }
33759}
33760
33761impl FieldValue for SenderSubIDField {}
33762
33763
33764/// `SendingDateField` is a `LOCALMKTDATE` field, Tag 51.
33765pub struct SendingDateField(pub FIXString);
33766
33767impl SendingDateField {
33768
33769    pub fn new(val: String) -> Self { Self(val) }
33770    pub fn value(&self) -> &str { &self.0 }
33771
33772    pub fn tag() -> Tag { tag::SENDING_DATE }
33773}
33774
33775impl FieldValueReader for SendingDateField {
33776    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33777        self.0.read(raw)
33778    }
33779}
33780
33781impl FieldValueWriter for SendingDateField {
33782    fn write_to(&self, buf: &mut Vec<u8>) {
33783        self.0.write_to(buf);
33784    }
33785}
33786
33787impl FieldValue for SendingDateField {}
33788
33789
33790/// `SendingTimeField` is a `UTCTIMESTAMP` field, Tag 52.
33791pub struct SendingTimeField(pub FIXUTCTimestamp);
33792
33793impl SendingTimeField {
33794
33795    pub fn new(val: Timestamp) -> Self {
33796        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
33797    }
33798    pub fn value(&self) -> Timestamp { self.0.time }
33799
33800    pub fn tag() -> Tag { tag::SENDING_TIME }
33801}
33802
33803impl FieldValueReader for SendingTimeField {
33804    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33805        self.0.read(raw)
33806    }
33807}
33808
33809impl FieldValueWriter for SendingTimeField {
33810    fn write_to(&self, buf: &mut Vec<u8>) {
33811        self.0.write_to(buf);
33812    }
33813}
33814
33815impl FieldValue for SendingTimeField {}
33816
33817
33818/// `SeniorityField` is a `STRING` field, Tag 1450.
33819pub struct SeniorityField(pub FIXString);
33820
33821impl SeniorityField {
33822
33823    pub fn new(val: String) -> Self { Self(val) }
33824    pub fn value(&self) -> &str { &self.0 }
33825
33826    pub fn tag() -> Tag { tag::SENIORITY }
33827}
33828
33829impl FieldValueReader for SeniorityField {
33830    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33831        self.0.read(raw)
33832    }
33833}
33834
33835impl FieldValueWriter for SeniorityField {
33836    fn write_to(&self, buf: &mut Vec<u8>) {
33837        self.0.write_to(buf);
33838    }
33839}
33840
33841impl FieldValue for SeniorityField {}
33842
33843
33844/// `SessionRejectReasonField` is a `INT` field, Tag 373.
33845pub struct SessionRejectReasonField(pub FIXInt);
33846
33847impl SessionRejectReasonField {
33848
33849    pub fn new(val: isize) -> Self { Self(val) }
33850    pub fn value(&self) -> isize { self.0 }
33851
33852    pub fn tag() -> Tag { tag::SESSION_REJECT_REASON }
33853}
33854
33855impl FieldValueReader for SessionRejectReasonField {
33856    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33857        self.0.read(raw)
33858    }
33859}
33860
33861impl FieldValueWriter for SessionRejectReasonField {
33862    fn write_to(&self, buf: &mut Vec<u8>) {
33863        self.0.write_to(buf);
33864    }
33865}
33866
33867impl FieldValue for SessionRejectReasonField {}
33868
33869
33870/// `SessionStatusField` is a `INT` field, Tag 1409.
33871pub struct SessionStatusField(pub FIXInt);
33872
33873impl SessionStatusField {
33874
33875    pub fn new(val: isize) -> Self { Self(val) }
33876    pub fn value(&self) -> isize { self.0 }
33877
33878    pub fn tag() -> Tag { tag::SESSION_STATUS }
33879}
33880
33881impl FieldValueReader for SessionStatusField {
33882    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33883        self.0.read(raw)
33884    }
33885}
33886
33887impl FieldValueWriter for SessionStatusField {
33888    fn write_to(&self, buf: &mut Vec<u8>) {
33889        self.0.write_to(buf);
33890    }
33891}
33892
33893impl FieldValue for SessionStatusField {}
33894
33895
33896/// `SettlBrkrCodeField` is a `STRING` field, Tag 174.
33897pub struct SettlBrkrCodeField(pub FIXString);
33898
33899impl SettlBrkrCodeField {
33900
33901    pub fn new(val: String) -> Self { Self(val) }
33902    pub fn value(&self) -> &str { &self.0 }
33903
33904    pub fn tag() -> Tag { tag::SETTL_BRKR_CODE }
33905}
33906
33907impl FieldValueReader for SettlBrkrCodeField {
33908    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33909        self.0.read(raw)
33910    }
33911}
33912
33913impl FieldValueWriter for SettlBrkrCodeField {
33914    fn write_to(&self, buf: &mut Vec<u8>) {
33915        self.0.write_to(buf);
33916    }
33917}
33918
33919impl FieldValue for SettlBrkrCodeField {}
33920
33921
33922/// `SettlCurrAmtField` is a `AMT` field, Tag 119.
33923pub struct SettlCurrAmtField(pub FIXDecimal);
33924
33925impl SettlCurrAmtField {
33926
33927    pub fn new(val: Decimal, scale: i32) -> Self {
33928        Self(FIXDecimal { decimal: val, scale })
33929    }
33930    pub fn value(&self) -> Decimal { self.0.decimal }
33931
33932    pub fn tag() -> Tag { tag::SETTL_CURR_AMT }
33933}
33934
33935impl FieldValueReader for SettlCurrAmtField {
33936    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33937        self.0.read(raw)
33938    }
33939}
33940
33941impl FieldValueWriter for SettlCurrAmtField {
33942    fn write_to(&self, buf: &mut Vec<u8>) {
33943        self.0.write_to(buf);
33944    }
33945}
33946
33947impl FieldValue for SettlCurrAmtField {}
33948
33949
33950/// `SettlCurrBidFxRateField` is a `FLOAT` field, Tag 656.
33951pub struct SettlCurrBidFxRateField(pub FIXDecimal);
33952
33953impl SettlCurrBidFxRateField {
33954
33955    pub fn new(val: Decimal, scale: i32) -> Self {
33956        Self(FIXDecimal { decimal: val, scale })
33957    }
33958    pub fn value(&self) -> Decimal { self.0.decimal }
33959
33960    pub fn tag() -> Tag { tag::SETTL_CURR_BID_FX_RATE }
33961}
33962
33963impl FieldValueReader for SettlCurrBidFxRateField {
33964    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33965        self.0.read(raw)
33966    }
33967}
33968
33969impl FieldValueWriter for SettlCurrBidFxRateField {
33970    fn write_to(&self, buf: &mut Vec<u8>) {
33971        self.0.write_to(buf);
33972    }
33973}
33974
33975impl FieldValue for SettlCurrBidFxRateField {}
33976
33977
33978/// `SettlCurrFxRateField` is a `FLOAT` field, Tag 155.
33979pub struct SettlCurrFxRateField(pub FIXDecimal);
33980
33981impl SettlCurrFxRateField {
33982
33983    pub fn new(val: Decimal, scale: i32) -> Self {
33984        Self(FIXDecimal { decimal: val, scale })
33985    }
33986    pub fn value(&self) -> Decimal { self.0.decimal }
33987
33988    pub fn tag() -> Tag { tag::SETTL_CURR_FX_RATE }
33989}
33990
33991impl FieldValueReader for SettlCurrFxRateField {
33992    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
33993        self.0.read(raw)
33994    }
33995}
33996
33997impl FieldValueWriter for SettlCurrFxRateField {
33998    fn write_to(&self, buf: &mut Vec<u8>) {
33999        self.0.write_to(buf);
34000    }
34001}
34002
34003impl FieldValue for SettlCurrFxRateField {}
34004
34005
34006/// `SettlCurrFxRateCalcField` is a `CHAR` field, Tag 156.
34007pub struct SettlCurrFxRateCalcField(pub FIXString);
34008
34009impl SettlCurrFxRateCalcField {
34010
34011    pub fn new(val: String) -> Self { Self(val) }
34012    pub fn value(&self) -> &str { &self.0 }
34013
34014    pub fn tag() -> Tag { tag::SETTL_CURR_FX_RATE_CALC }
34015}
34016
34017impl FieldValueReader for SettlCurrFxRateCalcField {
34018    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34019        self.0.read(raw)
34020    }
34021}
34022
34023impl FieldValueWriter for SettlCurrFxRateCalcField {
34024    fn write_to(&self, buf: &mut Vec<u8>) {
34025        self.0.write_to(buf);
34026    }
34027}
34028
34029impl FieldValue for SettlCurrFxRateCalcField {}
34030
34031
34032/// `SettlCurrOfferFxRateField` is a `FLOAT` field, Tag 657.
34033pub struct SettlCurrOfferFxRateField(pub FIXDecimal);
34034
34035impl SettlCurrOfferFxRateField {
34036
34037    pub fn new(val: Decimal, scale: i32) -> Self {
34038        Self(FIXDecimal { decimal: val, scale })
34039    }
34040    pub fn value(&self) -> Decimal { self.0.decimal }
34041
34042    pub fn tag() -> Tag { tag::SETTL_CURR_OFFER_FX_RATE }
34043}
34044
34045impl FieldValueReader for SettlCurrOfferFxRateField {
34046    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34047        self.0.read(raw)
34048    }
34049}
34050
34051impl FieldValueWriter for SettlCurrOfferFxRateField {
34052    fn write_to(&self, buf: &mut Vec<u8>) {
34053        self.0.write_to(buf);
34054    }
34055}
34056
34057impl FieldValue for SettlCurrOfferFxRateField {}
34058
34059
34060/// `SettlCurrencyField` is a `CURRENCY` field, Tag 120.
34061pub struct SettlCurrencyField(pub FIXString);
34062
34063impl SettlCurrencyField {
34064
34065    pub fn new(val: String) -> Self { Self(val) }
34066    pub fn value(&self) -> &str { &self.0 }
34067
34068    pub fn tag() -> Tag { tag::SETTL_CURRENCY }
34069}
34070
34071impl FieldValueReader for SettlCurrencyField {
34072    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34073        self.0.read(raw)
34074    }
34075}
34076
34077impl FieldValueWriter for SettlCurrencyField {
34078    fn write_to(&self, buf: &mut Vec<u8>) {
34079        self.0.write_to(buf);
34080    }
34081}
34082
34083impl FieldValue for SettlCurrencyField {}
34084
34085
34086/// `SettlDateField` is a `LOCALMKTDATE` field, Tag 64.
34087pub struct SettlDateField(pub FIXString);
34088
34089impl SettlDateField {
34090
34091    pub fn new(val: String) -> Self { Self(val) }
34092    pub fn value(&self) -> &str { &self.0 }
34093
34094    pub fn tag() -> Tag { tag::SETTL_DATE }
34095}
34096
34097impl FieldValueReader for SettlDateField {
34098    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34099        self.0.read(raw)
34100    }
34101}
34102
34103impl FieldValueWriter for SettlDateField {
34104    fn write_to(&self, buf: &mut Vec<u8>) {
34105        self.0.write_to(buf);
34106    }
34107}
34108
34109impl FieldValue for SettlDateField {}
34110
34111
34112/// `SettlDate2Field` is a `LOCALMKTDATE` field, Tag 193.
34113pub struct SettlDate2Field(pub FIXString);
34114
34115impl SettlDate2Field {
34116
34117    pub fn new(val: String) -> Self { Self(val) }
34118    pub fn value(&self) -> &str { &self.0 }
34119
34120    pub fn tag() -> Tag { tag::SETTL_DATE2 }
34121}
34122
34123impl FieldValueReader for SettlDate2Field {
34124    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34125        self.0.read(raw)
34126    }
34127}
34128
34129impl FieldValueWriter for SettlDate2Field {
34130    fn write_to(&self, buf: &mut Vec<u8>) {
34131        self.0.write_to(buf);
34132    }
34133}
34134
34135impl FieldValue for SettlDate2Field {}
34136
34137
34138/// `SettlDeliveryTypeField` is a `INT` field, Tag 172.
34139pub struct SettlDeliveryTypeField(pub FIXInt);
34140
34141impl SettlDeliveryTypeField {
34142
34143    pub fn new(val: isize) -> Self { Self(val) }
34144    pub fn value(&self) -> isize { self.0 }
34145
34146    pub fn tag() -> Tag { tag::SETTL_DELIVERY_TYPE }
34147}
34148
34149impl FieldValueReader for SettlDeliveryTypeField {
34150    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34151        self.0.read(raw)
34152    }
34153}
34154
34155impl FieldValueWriter for SettlDeliveryTypeField {
34156    fn write_to(&self, buf: &mut Vec<u8>) {
34157        self.0.write_to(buf);
34158    }
34159}
34160
34161impl FieldValue for SettlDeliveryTypeField {}
34162
34163
34164/// `SettlDepositoryCodeField` is a `STRING` field, Tag 173.
34165pub struct SettlDepositoryCodeField(pub FIXString);
34166
34167impl SettlDepositoryCodeField {
34168
34169    pub fn new(val: String) -> Self { Self(val) }
34170    pub fn value(&self) -> &str { &self.0 }
34171
34172    pub fn tag() -> Tag { tag::SETTL_DEPOSITORY_CODE }
34173}
34174
34175impl FieldValueReader for SettlDepositoryCodeField {
34176    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34177        self.0.read(raw)
34178    }
34179}
34180
34181impl FieldValueWriter for SettlDepositoryCodeField {
34182    fn write_to(&self, buf: &mut Vec<u8>) {
34183        self.0.write_to(buf);
34184    }
34185}
34186
34187impl FieldValue for SettlDepositoryCodeField {}
34188
34189
34190/// `SettlInstCodeField` is a `STRING` field, Tag 175.
34191pub struct SettlInstCodeField(pub FIXString);
34192
34193impl SettlInstCodeField {
34194
34195    pub fn new(val: String) -> Self { Self(val) }
34196    pub fn value(&self) -> &str { &self.0 }
34197
34198    pub fn tag() -> Tag { tag::SETTL_INST_CODE }
34199}
34200
34201impl FieldValueReader for SettlInstCodeField {
34202    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34203        self.0.read(raw)
34204    }
34205}
34206
34207impl FieldValueWriter for SettlInstCodeField {
34208    fn write_to(&self, buf: &mut Vec<u8>) {
34209        self.0.write_to(buf);
34210    }
34211}
34212
34213impl FieldValue for SettlInstCodeField {}
34214
34215
34216/// `SettlInstIDField` is a `STRING` field, Tag 162.
34217pub struct SettlInstIDField(pub FIXString);
34218
34219impl SettlInstIDField {
34220
34221    pub fn new(val: String) -> Self { Self(val) }
34222    pub fn value(&self) -> &str { &self.0 }
34223
34224    pub fn tag() -> Tag { tag::SETTL_INST_ID }
34225}
34226
34227impl FieldValueReader for SettlInstIDField {
34228    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34229        self.0.read(raw)
34230    }
34231}
34232
34233impl FieldValueWriter for SettlInstIDField {
34234    fn write_to(&self, buf: &mut Vec<u8>) {
34235        self.0.write_to(buf);
34236    }
34237}
34238
34239impl FieldValue for SettlInstIDField {}
34240
34241
34242/// `SettlInstModeField` is a `CHAR` field, Tag 160.
34243pub struct SettlInstModeField(pub FIXString);
34244
34245impl SettlInstModeField {
34246
34247    pub fn new(val: String) -> Self { Self(val) }
34248    pub fn value(&self) -> &str { &self.0 }
34249
34250    pub fn tag() -> Tag { tag::SETTL_INST_MODE }
34251}
34252
34253impl FieldValueReader for SettlInstModeField {
34254    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34255        self.0.read(raw)
34256    }
34257}
34258
34259impl FieldValueWriter for SettlInstModeField {
34260    fn write_to(&self, buf: &mut Vec<u8>) {
34261        self.0.write_to(buf);
34262    }
34263}
34264
34265impl FieldValue for SettlInstModeField {}
34266
34267
34268/// `SettlInstMsgIDField` is a `STRING` field, Tag 777.
34269pub struct SettlInstMsgIDField(pub FIXString);
34270
34271impl SettlInstMsgIDField {
34272
34273    pub fn new(val: String) -> Self { Self(val) }
34274    pub fn value(&self) -> &str { &self.0 }
34275
34276    pub fn tag() -> Tag { tag::SETTL_INST_MSG_ID }
34277}
34278
34279impl FieldValueReader for SettlInstMsgIDField {
34280    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34281        self.0.read(raw)
34282    }
34283}
34284
34285impl FieldValueWriter for SettlInstMsgIDField {
34286    fn write_to(&self, buf: &mut Vec<u8>) {
34287        self.0.write_to(buf);
34288    }
34289}
34290
34291impl FieldValue for SettlInstMsgIDField {}
34292
34293
34294/// `SettlInstRefIDField` is a `STRING` field, Tag 214.
34295pub struct SettlInstRefIDField(pub FIXString);
34296
34297impl SettlInstRefIDField {
34298
34299    pub fn new(val: String) -> Self { Self(val) }
34300    pub fn value(&self) -> &str { &self.0 }
34301
34302    pub fn tag() -> Tag { tag::SETTL_INST_REF_ID }
34303}
34304
34305impl FieldValueReader for SettlInstRefIDField {
34306    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34307        self.0.read(raw)
34308    }
34309}
34310
34311impl FieldValueWriter for SettlInstRefIDField {
34312    fn write_to(&self, buf: &mut Vec<u8>) {
34313        self.0.write_to(buf);
34314    }
34315}
34316
34317impl FieldValue for SettlInstRefIDField {}
34318
34319
34320/// `SettlInstReqIDField` is a `STRING` field, Tag 791.
34321pub struct SettlInstReqIDField(pub FIXString);
34322
34323impl SettlInstReqIDField {
34324
34325    pub fn new(val: String) -> Self { Self(val) }
34326    pub fn value(&self) -> &str { &self.0 }
34327
34328    pub fn tag() -> Tag { tag::SETTL_INST_REQ_ID }
34329}
34330
34331impl FieldValueReader for SettlInstReqIDField {
34332    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34333        self.0.read(raw)
34334    }
34335}
34336
34337impl FieldValueWriter for SettlInstReqIDField {
34338    fn write_to(&self, buf: &mut Vec<u8>) {
34339        self.0.write_to(buf);
34340    }
34341}
34342
34343impl FieldValue for SettlInstReqIDField {}
34344
34345
34346/// `SettlInstReqRejCodeField` is a `INT` field, Tag 792.
34347pub struct SettlInstReqRejCodeField(pub FIXInt);
34348
34349impl SettlInstReqRejCodeField {
34350
34351    pub fn new(val: isize) -> Self { Self(val) }
34352    pub fn value(&self) -> isize { self.0 }
34353
34354    pub fn tag() -> Tag { tag::SETTL_INST_REQ_REJ_CODE }
34355}
34356
34357impl FieldValueReader for SettlInstReqRejCodeField {
34358    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34359        self.0.read(raw)
34360    }
34361}
34362
34363impl FieldValueWriter for SettlInstReqRejCodeField {
34364    fn write_to(&self, buf: &mut Vec<u8>) {
34365        self.0.write_to(buf);
34366    }
34367}
34368
34369impl FieldValue for SettlInstReqRejCodeField {}
34370
34371
34372/// `SettlInstSourceField` is a `CHAR` field, Tag 165.
34373pub struct SettlInstSourceField(pub FIXString);
34374
34375impl SettlInstSourceField {
34376
34377    pub fn new(val: String) -> Self { Self(val) }
34378    pub fn value(&self) -> &str { &self.0 }
34379
34380    pub fn tag() -> Tag { tag::SETTL_INST_SOURCE }
34381}
34382
34383impl FieldValueReader for SettlInstSourceField {
34384    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34385        self.0.read(raw)
34386    }
34387}
34388
34389impl FieldValueWriter for SettlInstSourceField {
34390    fn write_to(&self, buf: &mut Vec<u8>) {
34391        self.0.write_to(buf);
34392    }
34393}
34394
34395impl FieldValue for SettlInstSourceField {}
34396
34397
34398/// `SettlInstTransTypeField` is a `CHAR` field, Tag 163.
34399pub struct SettlInstTransTypeField(pub FIXString);
34400
34401impl SettlInstTransTypeField {
34402
34403    pub fn new(val: String) -> Self { Self(val) }
34404    pub fn value(&self) -> &str { &self.0 }
34405
34406    pub fn tag() -> Tag { tag::SETTL_INST_TRANS_TYPE }
34407}
34408
34409impl FieldValueReader for SettlInstTransTypeField {
34410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34411        self.0.read(raw)
34412    }
34413}
34414
34415impl FieldValueWriter for SettlInstTransTypeField {
34416    fn write_to(&self, buf: &mut Vec<u8>) {
34417        self.0.write_to(buf);
34418    }
34419}
34420
34421impl FieldValue for SettlInstTransTypeField {}
34422
34423
34424/// `SettlLocationField` is a `STRING` field, Tag 166.
34425pub struct SettlLocationField(pub FIXString);
34426
34427impl SettlLocationField {
34428
34429    pub fn new(val: String) -> Self { Self(val) }
34430    pub fn value(&self) -> &str { &self.0 }
34431
34432    pub fn tag() -> Tag { tag::SETTL_LOCATION }
34433}
34434
34435impl FieldValueReader for SettlLocationField {
34436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34437        self.0.read(raw)
34438    }
34439}
34440
34441impl FieldValueWriter for SettlLocationField {
34442    fn write_to(&self, buf: &mut Vec<u8>) {
34443        self.0.write_to(buf);
34444    }
34445}
34446
34447impl FieldValue for SettlLocationField {}
34448
34449
34450/// `SettlMethodField` is a `CHAR` field, Tag 1193.
34451pub struct SettlMethodField(pub FIXString);
34452
34453impl SettlMethodField {
34454
34455    pub fn new(val: String) -> Self { Self(val) }
34456    pub fn value(&self) -> &str { &self.0 }
34457
34458    pub fn tag() -> Tag { tag::SETTL_METHOD }
34459}
34460
34461impl FieldValueReader for SettlMethodField {
34462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34463        self.0.read(raw)
34464    }
34465}
34466
34467impl FieldValueWriter for SettlMethodField {
34468    fn write_to(&self, buf: &mut Vec<u8>) {
34469        self.0.write_to(buf);
34470    }
34471}
34472
34473impl FieldValue for SettlMethodField {}
34474
34475
34476/// `SettlObligIDField` is a `STRING` field, Tag 1161.
34477pub struct SettlObligIDField(pub FIXString);
34478
34479impl SettlObligIDField {
34480
34481    pub fn new(val: String) -> Self { Self(val) }
34482    pub fn value(&self) -> &str { &self.0 }
34483
34484    pub fn tag() -> Tag { tag::SETTL_OBLIG_ID }
34485}
34486
34487impl FieldValueReader for SettlObligIDField {
34488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34489        self.0.read(raw)
34490    }
34491}
34492
34493impl FieldValueWriter for SettlObligIDField {
34494    fn write_to(&self, buf: &mut Vec<u8>) {
34495        self.0.write_to(buf);
34496    }
34497}
34498
34499impl FieldValue for SettlObligIDField {}
34500
34501
34502/// `SettlObligModeField` is a `INT` field, Tag 1159.
34503pub struct SettlObligModeField(pub FIXInt);
34504
34505impl SettlObligModeField {
34506
34507    pub fn new(val: isize) -> Self { Self(val) }
34508    pub fn value(&self) -> isize { self.0 }
34509
34510    pub fn tag() -> Tag { tag::SETTL_OBLIG_MODE }
34511}
34512
34513impl FieldValueReader for SettlObligModeField {
34514    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34515        self.0.read(raw)
34516    }
34517}
34518
34519impl FieldValueWriter for SettlObligModeField {
34520    fn write_to(&self, buf: &mut Vec<u8>) {
34521        self.0.write_to(buf);
34522    }
34523}
34524
34525impl FieldValue for SettlObligModeField {}
34526
34527
34528/// `SettlObligMsgIDField` is a `STRING` field, Tag 1160.
34529pub struct SettlObligMsgIDField(pub FIXString);
34530
34531impl SettlObligMsgIDField {
34532
34533    pub fn new(val: String) -> Self { Self(val) }
34534    pub fn value(&self) -> &str { &self.0 }
34535
34536    pub fn tag() -> Tag { tag::SETTL_OBLIG_MSG_ID }
34537}
34538
34539impl FieldValueReader for SettlObligMsgIDField {
34540    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34541        self.0.read(raw)
34542    }
34543}
34544
34545impl FieldValueWriter for SettlObligMsgIDField {
34546    fn write_to(&self, buf: &mut Vec<u8>) {
34547        self.0.write_to(buf);
34548    }
34549}
34550
34551impl FieldValue for SettlObligMsgIDField {}
34552
34553
34554/// `SettlObligRefIDField` is a `STRING` field, Tag 1163.
34555pub struct SettlObligRefIDField(pub FIXString);
34556
34557impl SettlObligRefIDField {
34558
34559    pub fn new(val: String) -> Self { Self(val) }
34560    pub fn value(&self) -> &str { &self.0 }
34561
34562    pub fn tag() -> Tag { tag::SETTL_OBLIG_REF_ID }
34563}
34564
34565impl FieldValueReader for SettlObligRefIDField {
34566    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34567        self.0.read(raw)
34568    }
34569}
34570
34571impl FieldValueWriter for SettlObligRefIDField {
34572    fn write_to(&self, buf: &mut Vec<u8>) {
34573        self.0.write_to(buf);
34574    }
34575}
34576
34577impl FieldValue for SettlObligRefIDField {}
34578
34579
34580/// `SettlObligSourceField` is a `CHAR` field, Tag 1164.
34581pub struct SettlObligSourceField(pub FIXString);
34582
34583impl SettlObligSourceField {
34584
34585    pub fn new(val: String) -> Self { Self(val) }
34586    pub fn value(&self) -> &str { &self.0 }
34587
34588    pub fn tag() -> Tag { tag::SETTL_OBLIG_SOURCE }
34589}
34590
34591impl FieldValueReader for SettlObligSourceField {
34592    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34593        self.0.read(raw)
34594    }
34595}
34596
34597impl FieldValueWriter for SettlObligSourceField {
34598    fn write_to(&self, buf: &mut Vec<u8>) {
34599        self.0.write_to(buf);
34600    }
34601}
34602
34603impl FieldValue for SettlObligSourceField {}
34604
34605
34606/// `SettlObligTransTypeField` is a `CHAR` field, Tag 1162.
34607pub struct SettlObligTransTypeField(pub FIXString);
34608
34609impl SettlObligTransTypeField {
34610
34611    pub fn new(val: String) -> Self { Self(val) }
34612    pub fn value(&self) -> &str { &self.0 }
34613
34614    pub fn tag() -> Tag { tag::SETTL_OBLIG_TRANS_TYPE }
34615}
34616
34617impl FieldValueReader for SettlObligTransTypeField {
34618    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34619        self.0.read(raw)
34620    }
34621}
34622
34623impl FieldValueWriter for SettlObligTransTypeField {
34624    fn write_to(&self, buf: &mut Vec<u8>) {
34625        self.0.write_to(buf);
34626    }
34627}
34628
34629impl FieldValue for SettlObligTransTypeField {}
34630
34631
34632/// `SettlPartyIDField` is a `STRING` field, Tag 782.
34633pub struct SettlPartyIDField(pub FIXString);
34634
34635impl SettlPartyIDField {
34636
34637    pub fn new(val: String) -> Self { Self(val) }
34638    pub fn value(&self) -> &str { &self.0 }
34639
34640    pub fn tag() -> Tag { tag::SETTL_PARTY_ID }
34641}
34642
34643impl FieldValueReader for SettlPartyIDField {
34644    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34645        self.0.read(raw)
34646    }
34647}
34648
34649impl FieldValueWriter for SettlPartyIDField {
34650    fn write_to(&self, buf: &mut Vec<u8>) {
34651        self.0.write_to(buf);
34652    }
34653}
34654
34655impl FieldValue for SettlPartyIDField {}
34656
34657
34658/// `SettlPartyIDSourceField` is a `CHAR` field, Tag 783.
34659pub struct SettlPartyIDSourceField(pub FIXString);
34660
34661impl SettlPartyIDSourceField {
34662
34663    pub fn new(val: String) -> Self { Self(val) }
34664    pub fn value(&self) -> &str { &self.0 }
34665
34666    pub fn tag() -> Tag { tag::SETTL_PARTY_ID_SOURCE }
34667}
34668
34669impl FieldValueReader for SettlPartyIDSourceField {
34670    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34671        self.0.read(raw)
34672    }
34673}
34674
34675impl FieldValueWriter for SettlPartyIDSourceField {
34676    fn write_to(&self, buf: &mut Vec<u8>) {
34677        self.0.write_to(buf);
34678    }
34679}
34680
34681impl FieldValue for SettlPartyIDSourceField {}
34682
34683
34684/// `SettlPartyRoleField` is a `INT` field, Tag 784.
34685pub struct SettlPartyRoleField(pub FIXInt);
34686
34687impl SettlPartyRoleField {
34688
34689    pub fn new(val: isize) -> Self { Self(val) }
34690    pub fn value(&self) -> isize { self.0 }
34691
34692    pub fn tag() -> Tag { tag::SETTL_PARTY_ROLE }
34693}
34694
34695impl FieldValueReader for SettlPartyRoleField {
34696    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34697        self.0.read(raw)
34698    }
34699}
34700
34701impl FieldValueWriter for SettlPartyRoleField {
34702    fn write_to(&self, buf: &mut Vec<u8>) {
34703        self.0.write_to(buf);
34704    }
34705}
34706
34707impl FieldValue for SettlPartyRoleField {}
34708
34709
34710/// `SettlPartySubIDField` is a `STRING` field, Tag 785.
34711pub struct SettlPartySubIDField(pub FIXString);
34712
34713impl SettlPartySubIDField {
34714
34715    pub fn new(val: String) -> Self { Self(val) }
34716    pub fn value(&self) -> &str { &self.0 }
34717
34718    pub fn tag() -> Tag { tag::SETTL_PARTY_SUB_ID }
34719}
34720
34721impl FieldValueReader for SettlPartySubIDField {
34722    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34723        self.0.read(raw)
34724    }
34725}
34726
34727impl FieldValueWriter for SettlPartySubIDField {
34728    fn write_to(&self, buf: &mut Vec<u8>) {
34729        self.0.write_to(buf);
34730    }
34731}
34732
34733impl FieldValue for SettlPartySubIDField {}
34734
34735
34736/// `SettlPartySubIDTypeField` is a `INT` field, Tag 786.
34737pub struct SettlPartySubIDTypeField(pub FIXInt);
34738
34739impl SettlPartySubIDTypeField {
34740
34741    pub fn new(val: isize) -> Self { Self(val) }
34742    pub fn value(&self) -> isize { self.0 }
34743
34744    pub fn tag() -> Tag { tag::SETTL_PARTY_SUB_ID_TYPE }
34745}
34746
34747impl FieldValueReader for SettlPartySubIDTypeField {
34748    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34749        self.0.read(raw)
34750    }
34751}
34752
34753impl FieldValueWriter for SettlPartySubIDTypeField {
34754    fn write_to(&self, buf: &mut Vec<u8>) {
34755        self.0.write_to(buf);
34756    }
34757}
34758
34759impl FieldValue for SettlPartySubIDTypeField {}
34760
34761
34762/// `SettlPriceField` is a `PRICE` field, Tag 730.
34763pub struct SettlPriceField(pub FIXDecimal);
34764
34765impl SettlPriceField {
34766
34767    pub fn new(val: Decimal, scale: i32) -> Self {
34768        Self(FIXDecimal { decimal: val, scale })
34769    }
34770    pub fn value(&self) -> Decimal { self.0.decimal }
34771
34772    pub fn tag() -> Tag { tag::SETTL_PRICE }
34773}
34774
34775impl FieldValueReader for SettlPriceField {
34776    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34777        self.0.read(raw)
34778    }
34779}
34780
34781impl FieldValueWriter for SettlPriceField {
34782    fn write_to(&self, buf: &mut Vec<u8>) {
34783        self.0.write_to(buf);
34784    }
34785}
34786
34787impl FieldValue for SettlPriceField {}
34788
34789
34790/// `SettlPriceTypeField` is a `INT` field, Tag 731.
34791pub struct SettlPriceTypeField(pub FIXInt);
34792
34793impl SettlPriceTypeField {
34794
34795    pub fn new(val: isize) -> Self { Self(val) }
34796    pub fn value(&self) -> isize { self.0 }
34797
34798    pub fn tag() -> Tag { tag::SETTL_PRICE_TYPE }
34799}
34800
34801impl FieldValueReader for SettlPriceTypeField {
34802    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34803        self.0.read(raw)
34804    }
34805}
34806
34807impl FieldValueWriter for SettlPriceTypeField {
34808    fn write_to(&self, buf: &mut Vec<u8>) {
34809        self.0.write_to(buf);
34810    }
34811}
34812
34813impl FieldValue for SettlPriceTypeField {}
34814
34815
34816/// `SettlSessIDField` is a `STRING` field, Tag 716.
34817pub struct SettlSessIDField(pub FIXString);
34818
34819impl SettlSessIDField {
34820
34821    pub fn new(val: String) -> Self { Self(val) }
34822    pub fn value(&self) -> &str { &self.0 }
34823
34824    pub fn tag() -> Tag { tag::SETTL_SESS_ID }
34825}
34826
34827impl FieldValueReader for SettlSessIDField {
34828    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34829        self.0.read(raw)
34830    }
34831}
34832
34833impl FieldValueWriter for SettlSessIDField {
34834    fn write_to(&self, buf: &mut Vec<u8>) {
34835        self.0.write_to(buf);
34836    }
34837}
34838
34839impl FieldValue for SettlSessIDField {}
34840
34841
34842/// `SettlSessSubIDField` is a `STRING` field, Tag 717.
34843pub struct SettlSessSubIDField(pub FIXString);
34844
34845impl SettlSessSubIDField {
34846
34847    pub fn new(val: String) -> Self { Self(val) }
34848    pub fn value(&self) -> &str { &self.0 }
34849
34850    pub fn tag() -> Tag { tag::SETTL_SESS_SUB_ID }
34851}
34852
34853impl FieldValueReader for SettlSessSubIDField {
34854    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34855        self.0.read(raw)
34856    }
34857}
34858
34859impl FieldValueWriter for SettlSessSubIDField {
34860    fn write_to(&self, buf: &mut Vec<u8>) {
34861        self.0.write_to(buf);
34862    }
34863}
34864
34865impl FieldValue for SettlSessSubIDField {}
34866
34867
34868/// `SettlTypeField` is a `STRING` field, Tag 63.
34869pub struct SettlTypeField(pub FIXString);
34870
34871impl SettlTypeField {
34872
34873    pub fn new(val: String) -> Self { Self(val) }
34874    pub fn value(&self) -> &str { &self.0 }
34875
34876    pub fn tag() -> Tag { tag::SETTL_TYPE }
34877}
34878
34879impl FieldValueReader for SettlTypeField {
34880    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34881        self.0.read(raw)
34882    }
34883}
34884
34885impl FieldValueWriter for SettlTypeField {
34886    fn write_to(&self, buf: &mut Vec<u8>) {
34887        self.0.write_to(buf);
34888    }
34889}
34890
34891impl FieldValue for SettlTypeField {}
34892
34893
34894/// `SettleOnOpenFlagField` is a `STRING` field, Tag 966.
34895pub struct SettleOnOpenFlagField(pub FIXString);
34896
34897impl SettleOnOpenFlagField {
34898
34899    pub fn new(val: String) -> Self { Self(val) }
34900    pub fn value(&self) -> &str { &self.0 }
34901
34902    pub fn tag() -> Tag { tag::SETTLE_ON_OPEN_FLAG }
34903}
34904
34905impl FieldValueReader for SettleOnOpenFlagField {
34906    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34907        self.0.read(raw)
34908    }
34909}
34910
34911impl FieldValueWriter for SettleOnOpenFlagField {
34912    fn write_to(&self, buf: &mut Vec<u8>) {
34913        self.0.write_to(buf);
34914    }
34915}
34916
34917impl FieldValue for SettleOnOpenFlagField {}
34918
34919
34920/// `SettlementCycleNoField` is a `INT` field, Tag 1153.
34921pub struct SettlementCycleNoField(pub FIXInt);
34922
34923impl SettlementCycleNoField {
34924
34925    pub fn new(val: isize) -> Self { Self(val) }
34926    pub fn value(&self) -> isize { self.0 }
34927
34928    pub fn tag() -> Tag { tag::SETTLEMENT_CYCLE_NO }
34929}
34930
34931impl FieldValueReader for SettlementCycleNoField {
34932    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34933        self.0.read(raw)
34934    }
34935}
34936
34937impl FieldValueWriter for SettlementCycleNoField {
34938    fn write_to(&self, buf: &mut Vec<u8>) {
34939        self.0.write_to(buf);
34940    }
34941}
34942
34943impl FieldValue for SettlementCycleNoField {}
34944
34945
34946/// `SettlmntTypField` is a `CHAR` field, Tag 63.
34947pub struct SettlmntTypField(pub FIXString);
34948
34949impl SettlmntTypField {
34950
34951    pub fn new(val: String) -> Self { Self(val) }
34952    pub fn value(&self) -> &str { &self.0 }
34953
34954    pub fn tag() -> Tag { tag::SETTLMNT_TYP }
34955}
34956
34957impl FieldValueReader for SettlmntTypField {
34958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34959        self.0.read(raw)
34960    }
34961}
34962
34963impl FieldValueWriter for SettlmntTypField {
34964    fn write_to(&self, buf: &mut Vec<u8>) {
34965        self.0.write_to(buf);
34966    }
34967}
34968
34969impl FieldValue for SettlmntTypField {}
34970
34971
34972/// `SharedCommissionField` is a `AMT` field, Tag 858.
34973pub struct SharedCommissionField(pub FIXDecimal);
34974
34975impl SharedCommissionField {
34976
34977    pub fn new(val: Decimal, scale: i32) -> Self {
34978        Self(FIXDecimal { decimal: val, scale })
34979    }
34980    pub fn value(&self) -> Decimal { self.0.decimal }
34981
34982    pub fn tag() -> Tag { tag::SHARED_COMMISSION }
34983}
34984
34985impl FieldValueReader for SharedCommissionField {
34986    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
34987        self.0.read(raw)
34988    }
34989}
34990
34991impl FieldValueWriter for SharedCommissionField {
34992    fn write_to(&self, buf: &mut Vec<u8>) {
34993        self.0.write_to(buf);
34994    }
34995}
34996
34997impl FieldValue for SharedCommissionField {}
34998
34999
35000/// `SharesField` is a `QTY` field, Tag 53.
35001pub struct SharesField(pub FIXDecimal);
35002
35003impl SharesField {
35004
35005    pub fn new(val: Decimal, scale: i32) -> Self {
35006        Self(FIXDecimal { decimal: val, scale })
35007    }
35008    pub fn value(&self) -> Decimal { self.0.decimal }
35009
35010    pub fn tag() -> Tag { tag::SHARES }
35011}
35012
35013impl FieldValueReader for SharesField {
35014    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35015        self.0.read(raw)
35016    }
35017}
35018
35019impl FieldValueWriter for SharesField {
35020    fn write_to(&self, buf: &mut Vec<u8>) {
35021        self.0.write_to(buf);
35022    }
35023}
35024
35025impl FieldValue for SharesField {}
35026
35027
35028/// `ShortQtyField` is a `QTY` field, Tag 705.
35029pub struct ShortQtyField(pub FIXDecimal);
35030
35031impl ShortQtyField {
35032
35033    pub fn new(val: Decimal, scale: i32) -> Self {
35034        Self(FIXDecimal { decimal: val, scale })
35035    }
35036    pub fn value(&self) -> Decimal { self.0.decimal }
35037
35038    pub fn tag() -> Tag { tag::SHORT_QTY }
35039}
35040
35041impl FieldValueReader for ShortQtyField {
35042    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35043        self.0.read(raw)
35044    }
35045}
35046
35047impl FieldValueWriter for ShortQtyField {
35048    fn write_to(&self, buf: &mut Vec<u8>) {
35049        self.0.write_to(buf);
35050    }
35051}
35052
35053impl FieldValue for ShortQtyField {}
35054
35055
35056/// `ShortSaleReasonField` is a `INT` field, Tag 853.
35057pub struct ShortSaleReasonField(pub FIXInt);
35058
35059impl ShortSaleReasonField {
35060
35061    pub fn new(val: isize) -> Self { Self(val) }
35062    pub fn value(&self) -> isize { self.0 }
35063
35064    pub fn tag() -> Tag { tag::SHORT_SALE_REASON }
35065}
35066
35067impl FieldValueReader for ShortSaleReasonField {
35068    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35069        self.0.read(raw)
35070    }
35071}
35072
35073impl FieldValueWriter for ShortSaleReasonField {
35074    fn write_to(&self, buf: &mut Vec<u8>) {
35075        self.0.write_to(buf);
35076    }
35077}
35078
35079impl FieldValue for ShortSaleReasonField {}
35080
35081
35082/// `SideField` is a `CHAR` field, Tag 54.
35083pub struct SideField(pub FIXString);
35084
35085impl SideField {
35086
35087    pub fn new(val: String) -> Self { Self(val) }
35088    pub fn value(&self) -> &str { &self.0 }
35089
35090    pub fn tag() -> Tag { tag::SIDE }
35091}
35092
35093impl FieldValueReader for SideField {
35094    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35095        self.0.read(raw)
35096    }
35097}
35098
35099impl FieldValueWriter for SideField {
35100    fn write_to(&self, buf: &mut Vec<u8>) {
35101        self.0.write_to(buf);
35102    }
35103}
35104
35105impl FieldValue for SideField {}
35106
35107
35108/// `SideComplianceIDField` is a `STRING` field, Tag 659.
35109pub struct SideComplianceIDField(pub FIXString);
35110
35111impl SideComplianceIDField {
35112
35113    pub fn new(val: String) -> Self { Self(val) }
35114    pub fn value(&self) -> &str { &self.0 }
35115
35116    pub fn tag() -> Tag { tag::SIDE_COMPLIANCE_ID }
35117}
35118
35119impl FieldValueReader for SideComplianceIDField {
35120    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35121        self.0.read(raw)
35122    }
35123}
35124
35125impl FieldValueWriter for SideComplianceIDField {
35126    fn write_to(&self, buf: &mut Vec<u8>) {
35127        self.0.write_to(buf);
35128    }
35129}
35130
35131impl FieldValue for SideComplianceIDField {}
35132
35133
35134/// `SideCurrencyField` is a `CURRENCY` field, Tag 1154.
35135pub struct SideCurrencyField(pub FIXString);
35136
35137impl SideCurrencyField {
35138
35139    pub fn new(val: String) -> Self { Self(val) }
35140    pub fn value(&self) -> &str { &self.0 }
35141
35142    pub fn tag() -> Tag { tag::SIDE_CURRENCY }
35143}
35144
35145impl FieldValueReader for SideCurrencyField {
35146    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35147        self.0.read(raw)
35148    }
35149}
35150
35151impl FieldValueWriter for SideCurrencyField {
35152    fn write_to(&self, buf: &mut Vec<u8>) {
35153        self.0.write_to(buf);
35154    }
35155}
35156
35157impl FieldValue for SideCurrencyField {}
35158
35159
35160/// `SideExecIDField` is a `STRING` field, Tag 1427.
35161pub struct SideExecIDField(pub FIXString);
35162
35163impl SideExecIDField {
35164
35165    pub fn new(val: String) -> Self { Self(val) }
35166    pub fn value(&self) -> &str { &self.0 }
35167
35168    pub fn tag() -> Tag { tag::SIDE_EXEC_ID }
35169}
35170
35171impl FieldValueReader for SideExecIDField {
35172    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35173        self.0.read(raw)
35174    }
35175}
35176
35177impl FieldValueWriter for SideExecIDField {
35178    fn write_to(&self, buf: &mut Vec<u8>) {
35179        self.0.write_to(buf);
35180    }
35181}
35182
35183impl FieldValue for SideExecIDField {}
35184
35185
35186/// `SideFillStationCdField` is a `STRING` field, Tag 1006.
35187pub struct SideFillStationCdField(pub FIXString);
35188
35189impl SideFillStationCdField {
35190
35191    pub fn new(val: String) -> Self { Self(val) }
35192    pub fn value(&self) -> &str { &self.0 }
35193
35194    pub fn tag() -> Tag { tag::SIDE_FILL_STATION_CD }
35195}
35196
35197impl FieldValueReader for SideFillStationCdField {
35198    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35199        self.0.read(raw)
35200    }
35201}
35202
35203impl FieldValueWriter for SideFillStationCdField {
35204    fn write_to(&self, buf: &mut Vec<u8>) {
35205        self.0.write_to(buf);
35206    }
35207}
35208
35209impl FieldValue for SideFillStationCdField {}
35210
35211
35212/// `SideGrossTradeAmtField` is a `AMT` field, Tag 1072.
35213pub struct SideGrossTradeAmtField(pub FIXDecimal);
35214
35215impl SideGrossTradeAmtField {
35216
35217    pub fn new(val: Decimal, scale: i32) -> Self {
35218        Self(FIXDecimal { decimal: val, scale })
35219    }
35220    pub fn value(&self) -> Decimal { self.0.decimal }
35221
35222    pub fn tag() -> Tag { tag::SIDE_GROSS_TRADE_AMT }
35223}
35224
35225impl FieldValueReader for SideGrossTradeAmtField {
35226    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35227        self.0.read(raw)
35228    }
35229}
35230
35231impl FieldValueWriter for SideGrossTradeAmtField {
35232    fn write_to(&self, buf: &mut Vec<u8>) {
35233        self.0.write_to(buf);
35234    }
35235}
35236
35237impl FieldValue for SideGrossTradeAmtField {}
35238
35239
35240/// `SideLastQtyField` is a `INT` field, Tag 1009.
35241pub struct SideLastQtyField(pub FIXInt);
35242
35243impl SideLastQtyField {
35244
35245    pub fn new(val: isize) -> Self { Self(val) }
35246    pub fn value(&self) -> isize { self.0 }
35247
35248    pub fn tag() -> Tag { tag::SIDE_LAST_QTY }
35249}
35250
35251impl FieldValueReader for SideLastQtyField {
35252    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35253        self.0.read(raw)
35254    }
35255}
35256
35257impl FieldValueWriter for SideLastQtyField {
35258    fn write_to(&self, buf: &mut Vec<u8>) {
35259        self.0.write_to(buf);
35260    }
35261}
35262
35263impl FieldValue for SideLastQtyField {}
35264
35265
35266/// `SideLiquidityIndField` is a `INT` field, Tag 1444.
35267pub struct SideLiquidityIndField(pub FIXInt);
35268
35269impl SideLiquidityIndField {
35270
35271    pub fn new(val: isize) -> Self { Self(val) }
35272    pub fn value(&self) -> isize { self.0 }
35273
35274    pub fn tag() -> Tag { tag::SIDE_LIQUIDITY_IND }
35275}
35276
35277impl FieldValueReader for SideLiquidityIndField {
35278    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35279        self.0.read(raw)
35280    }
35281}
35282
35283impl FieldValueWriter for SideLiquidityIndField {
35284    fn write_to(&self, buf: &mut Vec<u8>) {
35285        self.0.write_to(buf);
35286    }
35287}
35288
35289impl FieldValue for SideLiquidityIndField {}
35290
35291
35292/// `SideMultiLegReportingTypeField` is a `INT` field, Tag 752.
35293pub struct SideMultiLegReportingTypeField(pub FIXInt);
35294
35295impl SideMultiLegReportingTypeField {
35296
35297    pub fn new(val: isize) -> Self { Self(val) }
35298    pub fn value(&self) -> isize { self.0 }
35299
35300    pub fn tag() -> Tag { tag::SIDE_MULTI_LEG_REPORTING_TYPE }
35301}
35302
35303impl FieldValueReader for SideMultiLegReportingTypeField {
35304    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35305        self.0.read(raw)
35306    }
35307}
35308
35309impl FieldValueWriter for SideMultiLegReportingTypeField {
35310    fn write_to(&self, buf: &mut Vec<u8>) {
35311        self.0.write_to(buf);
35312    }
35313}
35314
35315impl FieldValue for SideMultiLegReportingTypeField {}
35316
35317
35318/// `SideQtyField` is a `INT` field, Tag 1009.
35319pub struct SideQtyField(pub FIXInt);
35320
35321impl SideQtyField {
35322
35323    pub fn new(val: isize) -> Self { Self(val) }
35324    pub fn value(&self) -> isize { self.0 }
35325
35326    pub fn tag() -> Tag { tag::SIDE_QTY }
35327}
35328
35329impl FieldValueReader for SideQtyField {
35330    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35331        self.0.read(raw)
35332    }
35333}
35334
35335impl FieldValueWriter for SideQtyField {
35336    fn write_to(&self, buf: &mut Vec<u8>) {
35337        self.0.write_to(buf);
35338    }
35339}
35340
35341impl FieldValue for SideQtyField {}
35342
35343
35344/// `SideReasonCdField` is a `STRING` field, Tag 1007.
35345pub struct SideReasonCdField(pub FIXString);
35346
35347impl SideReasonCdField {
35348
35349    pub fn new(val: String) -> Self { Self(val) }
35350    pub fn value(&self) -> &str { &self.0 }
35351
35352    pub fn tag() -> Tag { tag::SIDE_REASON_CD }
35353}
35354
35355impl FieldValueReader for SideReasonCdField {
35356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35357        self.0.read(raw)
35358    }
35359}
35360
35361impl FieldValueWriter for SideReasonCdField {
35362    fn write_to(&self, buf: &mut Vec<u8>) {
35363        self.0.write_to(buf);
35364    }
35365}
35366
35367impl FieldValue for SideReasonCdField {}
35368
35369
35370/// `SideSettlCurrencyField` is a `CURRENCY` field, Tag 1155.
35371pub struct SideSettlCurrencyField(pub FIXString);
35372
35373impl SideSettlCurrencyField {
35374
35375    pub fn new(val: String) -> Self { Self(val) }
35376    pub fn value(&self) -> &str { &self.0 }
35377
35378    pub fn tag() -> Tag { tag::SIDE_SETTL_CURRENCY }
35379}
35380
35381impl FieldValueReader for SideSettlCurrencyField {
35382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35383        self.0.read(raw)
35384    }
35385}
35386
35387impl FieldValueWriter for SideSettlCurrencyField {
35388    fn write_to(&self, buf: &mut Vec<u8>) {
35389        self.0.write_to(buf);
35390    }
35391}
35392
35393impl FieldValue for SideSettlCurrencyField {}
35394
35395
35396/// `SideTimeInForceField` is a `UTCTIMESTAMP` field, Tag 962.
35397pub struct SideTimeInForceField(pub FIXUTCTimestamp);
35398
35399impl SideTimeInForceField {
35400
35401    pub fn new(val: Timestamp) -> Self {
35402        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
35403    }
35404    pub fn value(&self) -> Timestamp { self.0.time }
35405
35406    pub fn tag() -> Tag { tag::SIDE_TIME_IN_FORCE }
35407}
35408
35409impl FieldValueReader for SideTimeInForceField {
35410    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35411        self.0.read(raw)
35412    }
35413}
35414
35415impl FieldValueWriter for SideTimeInForceField {
35416    fn write_to(&self, buf: &mut Vec<u8>) {
35417        self.0.write_to(buf);
35418    }
35419}
35420
35421impl FieldValue for SideTimeInForceField {}
35422
35423
35424/// `SideTradeReportIDField` is a `STRING` field, Tag 1005.
35425pub struct SideTradeReportIDField(pub FIXString);
35426
35427impl SideTradeReportIDField {
35428
35429    pub fn new(val: String) -> Self { Self(val) }
35430    pub fn value(&self) -> &str { &self.0 }
35431
35432    pub fn tag() -> Tag { tag::SIDE_TRADE_REPORT_ID }
35433}
35434
35435impl FieldValueReader for SideTradeReportIDField {
35436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35437        self.0.read(raw)
35438    }
35439}
35440
35441impl FieldValueWriter for SideTradeReportIDField {
35442    fn write_to(&self, buf: &mut Vec<u8>) {
35443        self.0.write_to(buf);
35444    }
35445}
35446
35447impl FieldValue for SideTradeReportIDField {}
35448
35449
35450/// `SideTrdRegTimestampField` is a `UTCTIMESTAMP` field, Tag 1012.
35451pub struct SideTrdRegTimestampField(pub FIXUTCTimestamp);
35452
35453impl SideTrdRegTimestampField {
35454
35455    pub fn new(val: Timestamp) -> Self {
35456        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
35457    }
35458    pub fn value(&self) -> Timestamp { self.0.time }
35459
35460    pub fn tag() -> Tag { tag::SIDE_TRD_REG_TIMESTAMP }
35461}
35462
35463impl FieldValueReader for SideTrdRegTimestampField {
35464    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35465        self.0.read(raw)
35466    }
35467}
35468
35469impl FieldValueWriter for SideTrdRegTimestampField {
35470    fn write_to(&self, buf: &mut Vec<u8>) {
35471        self.0.write_to(buf);
35472    }
35473}
35474
35475impl FieldValue for SideTrdRegTimestampField {}
35476
35477
35478/// `SideTrdRegTimestampSrcField` is a `STRING` field, Tag 1014.
35479pub struct SideTrdRegTimestampSrcField(pub FIXString);
35480
35481impl SideTrdRegTimestampSrcField {
35482
35483    pub fn new(val: String) -> Self { Self(val) }
35484    pub fn value(&self) -> &str { &self.0 }
35485
35486    pub fn tag() -> Tag { tag::SIDE_TRD_REG_TIMESTAMP_SRC }
35487}
35488
35489impl FieldValueReader for SideTrdRegTimestampSrcField {
35490    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35491        self.0.read(raw)
35492    }
35493}
35494
35495impl FieldValueWriter for SideTrdRegTimestampSrcField {
35496    fn write_to(&self, buf: &mut Vec<u8>) {
35497        self.0.write_to(buf);
35498    }
35499}
35500
35501impl FieldValue for SideTrdRegTimestampSrcField {}
35502
35503
35504/// `SideTrdRegTimestampTypeField` is a `INT` field, Tag 1013.
35505pub struct SideTrdRegTimestampTypeField(pub FIXInt);
35506
35507impl SideTrdRegTimestampTypeField {
35508
35509    pub fn new(val: isize) -> Self { Self(val) }
35510    pub fn value(&self) -> isize { self.0 }
35511
35512    pub fn tag() -> Tag { tag::SIDE_TRD_REG_TIMESTAMP_TYPE }
35513}
35514
35515impl FieldValueReader for SideTrdRegTimestampTypeField {
35516    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35517        self.0.read(raw)
35518    }
35519}
35520
35521impl FieldValueWriter for SideTrdRegTimestampTypeField {
35522    fn write_to(&self, buf: &mut Vec<u8>) {
35523        self.0.write_to(buf);
35524    }
35525}
35526
35527impl FieldValue for SideTrdRegTimestampTypeField {}
35528
35529
35530/// `SideTrdSubTypField` is a `INT` field, Tag 1008.
35531pub struct SideTrdSubTypField(pub FIXInt);
35532
35533impl SideTrdSubTypField {
35534
35535    pub fn new(val: isize) -> Self { Self(val) }
35536    pub fn value(&self) -> isize { self.0 }
35537
35538    pub fn tag() -> Tag { tag::SIDE_TRD_SUB_TYP }
35539}
35540
35541impl FieldValueReader for SideTrdSubTypField {
35542    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35543        self.0.read(raw)
35544    }
35545}
35546
35547impl FieldValueWriter for SideTrdSubTypField {
35548    fn write_to(&self, buf: &mut Vec<u8>) {
35549        self.0.write_to(buf);
35550    }
35551}
35552
35553impl FieldValue for SideTrdSubTypField {}
35554
35555
35556/// `SideValue1Field` is a `AMT` field, Tag 396.
35557pub struct SideValue1Field(pub FIXDecimal);
35558
35559impl SideValue1Field {
35560
35561    pub fn new(val: Decimal, scale: i32) -> Self {
35562        Self(FIXDecimal { decimal: val, scale })
35563    }
35564    pub fn value(&self) -> Decimal { self.0.decimal }
35565
35566    pub fn tag() -> Tag { tag::SIDE_VALUE1 }
35567}
35568
35569impl FieldValueReader for SideValue1Field {
35570    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35571        self.0.read(raw)
35572    }
35573}
35574
35575impl FieldValueWriter for SideValue1Field {
35576    fn write_to(&self, buf: &mut Vec<u8>) {
35577        self.0.write_to(buf);
35578    }
35579}
35580
35581impl FieldValue for SideValue1Field {}
35582
35583
35584/// `SideValue2Field` is a `AMT` field, Tag 397.
35585pub struct SideValue2Field(pub FIXDecimal);
35586
35587impl SideValue2Field {
35588
35589    pub fn new(val: Decimal, scale: i32) -> Self {
35590        Self(FIXDecimal { decimal: val, scale })
35591    }
35592    pub fn value(&self) -> Decimal { self.0.decimal }
35593
35594    pub fn tag() -> Tag { tag::SIDE_VALUE2 }
35595}
35596
35597impl FieldValueReader for SideValue2Field {
35598    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35599        self.0.read(raw)
35600    }
35601}
35602
35603impl FieldValueWriter for SideValue2Field {
35604    fn write_to(&self, buf: &mut Vec<u8>) {
35605        self.0.write_to(buf);
35606    }
35607}
35608
35609impl FieldValue for SideValue2Field {}
35610
35611
35612/// `SideValueIndField` is a `INT` field, Tag 401.
35613pub struct SideValueIndField(pub FIXInt);
35614
35615impl SideValueIndField {
35616
35617    pub fn new(val: isize) -> Self { Self(val) }
35618    pub fn value(&self) -> isize { self.0 }
35619
35620    pub fn tag() -> Tag { tag::SIDE_VALUE_IND }
35621}
35622
35623impl FieldValueReader for SideValueIndField {
35624    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35625        self.0.read(raw)
35626    }
35627}
35628
35629impl FieldValueWriter for SideValueIndField {
35630    fn write_to(&self, buf: &mut Vec<u8>) {
35631        self.0.write_to(buf);
35632    }
35633}
35634
35635impl FieldValue for SideValueIndField {}
35636
35637
35638/// `SignatureField` is a `DATA` field, Tag 89.
35639pub struct SignatureField(pub FIXString);
35640
35641impl SignatureField {
35642
35643    pub fn new(val: String) -> Self { Self(val) }
35644    pub fn value(&self) -> &str { &self.0 }
35645
35646    pub fn tag() -> Tag { tag::SIGNATURE }
35647}
35648
35649impl FieldValueReader for SignatureField {
35650    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35651        self.0.read(raw)
35652    }
35653}
35654
35655impl FieldValueWriter for SignatureField {
35656    fn write_to(&self, buf: &mut Vec<u8>) {
35657        self.0.write_to(buf);
35658    }
35659}
35660
35661impl FieldValue for SignatureField {}
35662
35663
35664/// `SignatureLengthField` is a `LENGTH` field, Tag 93.
35665pub struct SignatureLengthField(pub FIXInt);
35666
35667impl SignatureLengthField {
35668
35669    pub fn new(val: isize) -> Self { Self(val) }
35670    pub fn value(&self) -> isize { self.0 }
35671
35672    pub fn tag() -> Tag { tag::SIGNATURE_LENGTH }
35673}
35674
35675impl FieldValueReader for SignatureLengthField {
35676    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35677        self.0.read(raw)
35678    }
35679}
35680
35681impl FieldValueWriter for SignatureLengthField {
35682    fn write_to(&self, buf: &mut Vec<u8>) {
35683        self.0.write_to(buf);
35684    }
35685}
35686
35687impl FieldValue for SignatureLengthField {}
35688
35689
35690/// `SolicitedFlagField` is a `BOOLEAN` field, Tag 377.
35691pub struct SolicitedFlagField(pub FIXBoolean);
35692
35693impl SolicitedFlagField {
35694
35695    pub fn new(val: bool) -> Self { Self(val) }
35696    pub fn value(&self) -> bool { self.0 }
35697
35698    pub fn tag() -> Tag { tag::SOLICITED_FLAG }
35699}
35700
35701impl FieldValueReader for SolicitedFlagField {
35702    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35703        self.0.read(raw)
35704    }
35705}
35706
35707impl FieldValueWriter for SolicitedFlagField {
35708    fn write_to(&self, buf: &mut Vec<u8>) {
35709        self.0.write_to(buf);
35710    }
35711}
35712
35713impl FieldValue for SolicitedFlagField {}
35714
35715
35716/// `SpreadField` is a `PRICEOFFSET` field, Tag 218.
35717pub struct SpreadField(pub FIXDecimal);
35718
35719impl SpreadField {
35720
35721    pub fn new(val: Decimal, scale: i32) -> Self {
35722        Self(FIXDecimal { decimal: val, scale })
35723    }
35724    pub fn value(&self) -> Decimal { self.0.decimal }
35725
35726    pub fn tag() -> Tag { tag::SPREAD }
35727}
35728
35729impl FieldValueReader for SpreadField {
35730    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35731        self.0.read(raw)
35732    }
35733}
35734
35735impl FieldValueWriter for SpreadField {
35736    fn write_to(&self, buf: &mut Vec<u8>) {
35737        self.0.write_to(buf);
35738    }
35739}
35740
35741impl FieldValue for SpreadField {}
35742
35743
35744/// `SpreadToBenchmarkField` is a `PRICEOFFSET` field, Tag 218.
35745pub struct SpreadToBenchmarkField(pub FIXDecimal);
35746
35747impl SpreadToBenchmarkField {
35748
35749    pub fn new(val: Decimal, scale: i32) -> Self {
35750        Self(FIXDecimal { decimal: val, scale })
35751    }
35752    pub fn value(&self) -> Decimal { self.0.decimal }
35753
35754    pub fn tag() -> Tag { tag::SPREAD_TO_BENCHMARK }
35755}
35756
35757impl FieldValueReader for SpreadToBenchmarkField {
35758    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35759        self.0.read(raw)
35760    }
35761}
35762
35763impl FieldValueWriter for SpreadToBenchmarkField {
35764    fn write_to(&self, buf: &mut Vec<u8>) {
35765        self.0.write_to(buf);
35766    }
35767}
35768
35769impl FieldValue for SpreadToBenchmarkField {}
35770
35771
35772/// `StandInstDbIDField` is a `STRING` field, Tag 171.
35773pub struct StandInstDbIDField(pub FIXString);
35774
35775impl StandInstDbIDField {
35776
35777    pub fn new(val: String) -> Self { Self(val) }
35778    pub fn value(&self) -> &str { &self.0 }
35779
35780    pub fn tag() -> Tag { tag::STAND_INST_DB_ID }
35781}
35782
35783impl FieldValueReader for StandInstDbIDField {
35784    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35785        self.0.read(raw)
35786    }
35787}
35788
35789impl FieldValueWriter for StandInstDbIDField {
35790    fn write_to(&self, buf: &mut Vec<u8>) {
35791        self.0.write_to(buf);
35792    }
35793}
35794
35795impl FieldValue for StandInstDbIDField {}
35796
35797
35798/// `StandInstDbNameField` is a `STRING` field, Tag 170.
35799pub struct StandInstDbNameField(pub FIXString);
35800
35801impl StandInstDbNameField {
35802
35803    pub fn new(val: String) -> Self { Self(val) }
35804    pub fn value(&self) -> &str { &self.0 }
35805
35806    pub fn tag() -> Tag { tag::STAND_INST_DB_NAME }
35807}
35808
35809impl FieldValueReader for StandInstDbNameField {
35810    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35811        self.0.read(raw)
35812    }
35813}
35814
35815impl FieldValueWriter for StandInstDbNameField {
35816    fn write_to(&self, buf: &mut Vec<u8>) {
35817        self.0.write_to(buf);
35818    }
35819}
35820
35821impl FieldValue for StandInstDbNameField {}
35822
35823
35824/// `StandInstDbTypeField` is a `INT` field, Tag 169.
35825pub struct StandInstDbTypeField(pub FIXInt);
35826
35827impl StandInstDbTypeField {
35828
35829    pub fn new(val: isize) -> Self { Self(val) }
35830    pub fn value(&self) -> isize { self.0 }
35831
35832    pub fn tag() -> Tag { tag::STAND_INST_DB_TYPE }
35833}
35834
35835impl FieldValueReader for StandInstDbTypeField {
35836    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35837        self.0.read(raw)
35838    }
35839}
35840
35841impl FieldValueWriter for StandInstDbTypeField {
35842    fn write_to(&self, buf: &mut Vec<u8>) {
35843        self.0.write_to(buf);
35844    }
35845}
35846
35847impl FieldValue for StandInstDbTypeField {}
35848
35849
35850/// `StartCashField` is a `AMT` field, Tag 921.
35851pub struct StartCashField(pub FIXDecimal);
35852
35853impl StartCashField {
35854
35855    pub fn new(val: Decimal, scale: i32) -> Self {
35856        Self(FIXDecimal { decimal: val, scale })
35857    }
35858    pub fn value(&self) -> Decimal { self.0.decimal }
35859
35860    pub fn tag() -> Tag { tag::START_CASH }
35861}
35862
35863impl FieldValueReader for StartCashField {
35864    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35865        self.0.read(raw)
35866    }
35867}
35868
35869impl FieldValueWriter for StartCashField {
35870    fn write_to(&self, buf: &mut Vec<u8>) {
35871        self.0.write_to(buf);
35872    }
35873}
35874
35875impl FieldValue for StartCashField {}
35876
35877
35878/// `StartDateField` is a `LOCALMKTDATE` field, Tag 916.
35879pub struct StartDateField(pub FIXString);
35880
35881impl StartDateField {
35882
35883    pub fn new(val: String) -> Self { Self(val) }
35884    pub fn value(&self) -> &str { &self.0 }
35885
35886    pub fn tag() -> Tag { tag::START_DATE }
35887}
35888
35889impl FieldValueReader for StartDateField {
35890    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35891        self.0.read(raw)
35892    }
35893}
35894
35895impl FieldValueWriter for StartDateField {
35896    fn write_to(&self, buf: &mut Vec<u8>) {
35897        self.0.write_to(buf);
35898    }
35899}
35900
35901impl FieldValue for StartDateField {}
35902
35903
35904/// `StartMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1241.
35905pub struct StartMaturityMonthYearField(pub FIXString);
35906
35907impl StartMaturityMonthYearField {
35908
35909    pub fn new(val: String) -> Self { Self(val) }
35910    pub fn value(&self) -> &str { &self.0 }
35911
35912    pub fn tag() -> Tag { tag::START_MATURITY_MONTH_YEAR }
35913}
35914
35915impl FieldValueReader for StartMaturityMonthYearField {
35916    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35917        self.0.read(raw)
35918    }
35919}
35920
35921impl FieldValueWriter for StartMaturityMonthYearField {
35922    fn write_to(&self, buf: &mut Vec<u8>) {
35923        self.0.write_to(buf);
35924    }
35925}
35926
35927impl FieldValue for StartMaturityMonthYearField {}
35928
35929
35930/// `StartStrikePxRangeField` is a `PRICE` field, Tag 1202.
35931pub struct StartStrikePxRangeField(pub FIXDecimal);
35932
35933impl StartStrikePxRangeField {
35934
35935    pub fn new(val: Decimal, scale: i32) -> Self {
35936        Self(FIXDecimal { decimal: val, scale })
35937    }
35938    pub fn value(&self) -> Decimal { self.0.decimal }
35939
35940    pub fn tag() -> Tag { tag::START_STRIKE_PX_RANGE }
35941}
35942
35943impl FieldValueReader for StartStrikePxRangeField {
35944    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35945        self.0.read(raw)
35946    }
35947}
35948
35949impl FieldValueWriter for StartStrikePxRangeField {
35950    fn write_to(&self, buf: &mut Vec<u8>) {
35951        self.0.write_to(buf);
35952    }
35953}
35954
35955impl FieldValue for StartStrikePxRangeField {}
35956
35957
35958/// `StartTickPriceRangeField` is a `PRICE` field, Tag 1206.
35959pub struct StartTickPriceRangeField(pub FIXDecimal);
35960
35961impl StartTickPriceRangeField {
35962
35963    pub fn new(val: Decimal, scale: i32) -> Self {
35964        Self(FIXDecimal { decimal: val, scale })
35965    }
35966    pub fn value(&self) -> Decimal { self.0.decimal }
35967
35968    pub fn tag() -> Tag { tag::START_TICK_PRICE_RANGE }
35969}
35970
35971impl FieldValueReader for StartTickPriceRangeField {
35972    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35973        self.0.read(raw)
35974    }
35975}
35976
35977impl FieldValueWriter for StartTickPriceRangeField {
35978    fn write_to(&self, buf: &mut Vec<u8>) {
35979        self.0.write_to(buf);
35980    }
35981}
35982
35983impl FieldValue for StartTickPriceRangeField {}
35984
35985
35986/// `StateOrProvinceOfIssueField` is a `STRING` field, Tag 471.
35987pub struct StateOrProvinceOfIssueField(pub FIXString);
35988
35989impl StateOrProvinceOfIssueField {
35990
35991    pub fn new(val: String) -> Self { Self(val) }
35992    pub fn value(&self) -> &str { &self.0 }
35993
35994    pub fn tag() -> Tag { tag::STATE_OR_PROVINCE_OF_ISSUE }
35995}
35996
35997impl FieldValueReader for StateOrProvinceOfIssueField {
35998    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
35999        self.0.read(raw)
36000    }
36001}
36002
36003impl FieldValueWriter for StateOrProvinceOfIssueField {
36004    fn write_to(&self, buf: &mut Vec<u8>) {
36005        self.0.write_to(buf);
36006    }
36007}
36008
36009impl FieldValue for StateOrProvinceOfIssueField {}
36010
36011
36012/// `StatsTypeField` is a `INT` field, Tag 1176.
36013pub struct StatsTypeField(pub FIXInt);
36014
36015impl StatsTypeField {
36016
36017    pub fn new(val: isize) -> Self { Self(val) }
36018    pub fn value(&self) -> isize { self.0 }
36019
36020    pub fn tag() -> Tag { tag::STATS_TYPE }
36021}
36022
36023impl FieldValueReader for StatsTypeField {
36024    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36025        self.0.read(raw)
36026    }
36027}
36028
36029impl FieldValueWriter for StatsTypeField {
36030    fn write_to(&self, buf: &mut Vec<u8>) {
36031        self.0.write_to(buf);
36032    }
36033}
36034
36035impl FieldValue for StatsTypeField {}
36036
36037
36038/// `StatusTextField` is a `STRING` field, Tag 929.
36039pub struct StatusTextField(pub FIXString);
36040
36041impl StatusTextField {
36042
36043    pub fn new(val: String) -> Self { Self(val) }
36044    pub fn value(&self) -> &str { &self.0 }
36045
36046    pub fn tag() -> Tag { tag::STATUS_TEXT }
36047}
36048
36049impl FieldValueReader for StatusTextField {
36050    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36051        self.0.read(raw)
36052    }
36053}
36054
36055impl FieldValueWriter for StatusTextField {
36056    fn write_to(&self, buf: &mut Vec<u8>) {
36057        self.0.write_to(buf);
36058    }
36059}
36060
36061impl FieldValue for StatusTextField {}
36062
36063
36064/// `StatusValueField` is a `INT` field, Tag 928.
36065pub struct StatusValueField(pub FIXInt);
36066
36067impl StatusValueField {
36068
36069    pub fn new(val: isize) -> Self { Self(val) }
36070    pub fn value(&self) -> isize { self.0 }
36071
36072    pub fn tag() -> Tag { tag::STATUS_VALUE }
36073}
36074
36075impl FieldValueReader for StatusValueField {
36076    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36077        self.0.read(raw)
36078    }
36079}
36080
36081impl FieldValueWriter for StatusValueField {
36082    fn write_to(&self, buf: &mut Vec<u8>) {
36083        self.0.write_to(buf);
36084    }
36085}
36086
36087impl FieldValue for StatusValueField {}
36088
36089
36090/// `StipulationTypeField` is a `STRING` field, Tag 233.
36091pub struct StipulationTypeField(pub FIXString);
36092
36093impl StipulationTypeField {
36094
36095    pub fn new(val: String) -> Self { Self(val) }
36096    pub fn value(&self) -> &str { &self.0 }
36097
36098    pub fn tag() -> Tag { tag::STIPULATION_TYPE }
36099}
36100
36101impl FieldValueReader for StipulationTypeField {
36102    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36103        self.0.read(raw)
36104    }
36105}
36106
36107impl FieldValueWriter for StipulationTypeField {
36108    fn write_to(&self, buf: &mut Vec<u8>) {
36109        self.0.write_to(buf);
36110    }
36111}
36112
36113impl FieldValue for StipulationTypeField {}
36114
36115
36116/// `StipulationValueField` is a `STRING` field, Tag 234.
36117pub struct StipulationValueField(pub FIXString);
36118
36119impl StipulationValueField {
36120
36121    pub fn new(val: String) -> Self { Self(val) }
36122    pub fn value(&self) -> &str { &self.0 }
36123
36124    pub fn tag() -> Tag { tag::STIPULATION_VALUE }
36125}
36126
36127impl FieldValueReader for StipulationValueField {
36128    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36129        self.0.read(raw)
36130    }
36131}
36132
36133impl FieldValueWriter for StipulationValueField {
36134    fn write_to(&self, buf: &mut Vec<u8>) {
36135        self.0.write_to(buf);
36136    }
36137}
36138
36139impl FieldValue for StipulationValueField {}
36140
36141
36142/// `StopPxField` is a `PRICE` field, Tag 99.
36143pub struct StopPxField(pub FIXDecimal);
36144
36145impl StopPxField {
36146
36147    pub fn new(val: Decimal, scale: i32) -> Self {
36148        Self(FIXDecimal { decimal: val, scale })
36149    }
36150    pub fn value(&self) -> Decimal { self.0.decimal }
36151
36152    pub fn tag() -> Tag { tag::STOP_PX }
36153}
36154
36155impl FieldValueReader for StopPxField {
36156    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36157        self.0.read(raw)
36158    }
36159}
36160
36161impl FieldValueWriter for StopPxField {
36162    fn write_to(&self, buf: &mut Vec<u8>) {
36163        self.0.write_to(buf);
36164    }
36165}
36166
36167impl FieldValue for StopPxField {}
36168
36169
36170/// `StrategyParameterNameField` is a `STRING` field, Tag 958.
36171pub struct StrategyParameterNameField(pub FIXString);
36172
36173impl StrategyParameterNameField {
36174
36175    pub fn new(val: String) -> Self { Self(val) }
36176    pub fn value(&self) -> &str { &self.0 }
36177
36178    pub fn tag() -> Tag { tag::STRATEGY_PARAMETER_NAME }
36179}
36180
36181impl FieldValueReader for StrategyParameterNameField {
36182    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36183        self.0.read(raw)
36184    }
36185}
36186
36187impl FieldValueWriter for StrategyParameterNameField {
36188    fn write_to(&self, buf: &mut Vec<u8>) {
36189        self.0.write_to(buf);
36190    }
36191}
36192
36193impl FieldValue for StrategyParameterNameField {}
36194
36195
36196/// `StrategyParameterTypeField` is a `INT` field, Tag 959.
36197pub struct StrategyParameterTypeField(pub FIXInt);
36198
36199impl StrategyParameterTypeField {
36200
36201    pub fn new(val: isize) -> Self { Self(val) }
36202    pub fn value(&self) -> isize { self.0 }
36203
36204    pub fn tag() -> Tag { tag::STRATEGY_PARAMETER_TYPE }
36205}
36206
36207impl FieldValueReader for StrategyParameterTypeField {
36208    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36209        self.0.read(raw)
36210    }
36211}
36212
36213impl FieldValueWriter for StrategyParameterTypeField {
36214    fn write_to(&self, buf: &mut Vec<u8>) {
36215        self.0.write_to(buf);
36216    }
36217}
36218
36219impl FieldValue for StrategyParameterTypeField {}
36220
36221
36222/// `StrategyParameterValueField` is a `STRING` field, Tag 960.
36223pub struct StrategyParameterValueField(pub FIXString);
36224
36225impl StrategyParameterValueField {
36226
36227    pub fn new(val: String) -> Self { Self(val) }
36228    pub fn value(&self) -> &str { &self.0 }
36229
36230    pub fn tag() -> Tag { tag::STRATEGY_PARAMETER_VALUE }
36231}
36232
36233impl FieldValueReader for StrategyParameterValueField {
36234    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36235        self.0.read(raw)
36236    }
36237}
36238
36239impl FieldValueWriter for StrategyParameterValueField {
36240    fn write_to(&self, buf: &mut Vec<u8>) {
36241        self.0.write_to(buf);
36242    }
36243}
36244
36245impl FieldValue for StrategyParameterValueField {}
36246
36247
36248/// `StreamAsgnAckTypeField` is a `INT` field, Tag 1503.
36249pub struct StreamAsgnAckTypeField(pub FIXInt);
36250
36251impl StreamAsgnAckTypeField {
36252
36253    pub fn new(val: isize) -> Self { Self(val) }
36254    pub fn value(&self) -> isize { self.0 }
36255
36256    pub fn tag() -> Tag { tag::STREAM_ASGN_ACK_TYPE }
36257}
36258
36259impl FieldValueReader for StreamAsgnAckTypeField {
36260    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36261        self.0.read(raw)
36262    }
36263}
36264
36265impl FieldValueWriter for StreamAsgnAckTypeField {
36266    fn write_to(&self, buf: &mut Vec<u8>) {
36267        self.0.write_to(buf);
36268    }
36269}
36270
36271impl FieldValue for StreamAsgnAckTypeField {}
36272
36273
36274/// `StreamAsgnRejReasonField` is a `INT` field, Tag 1502.
36275pub struct StreamAsgnRejReasonField(pub FIXInt);
36276
36277impl StreamAsgnRejReasonField {
36278
36279    pub fn new(val: isize) -> Self { Self(val) }
36280    pub fn value(&self) -> isize { self.0 }
36281
36282    pub fn tag() -> Tag { tag::STREAM_ASGN_REJ_REASON }
36283}
36284
36285impl FieldValueReader for StreamAsgnRejReasonField {
36286    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36287        self.0.read(raw)
36288    }
36289}
36290
36291impl FieldValueWriter for StreamAsgnRejReasonField {
36292    fn write_to(&self, buf: &mut Vec<u8>) {
36293        self.0.write_to(buf);
36294    }
36295}
36296
36297impl FieldValue for StreamAsgnRejReasonField {}
36298
36299
36300/// `StreamAsgnReqIDField` is a `STRING` field, Tag 1497.
36301pub struct StreamAsgnReqIDField(pub FIXString);
36302
36303impl StreamAsgnReqIDField {
36304
36305    pub fn new(val: String) -> Self { Self(val) }
36306    pub fn value(&self) -> &str { &self.0 }
36307
36308    pub fn tag() -> Tag { tag::STREAM_ASGN_REQ_ID }
36309}
36310
36311impl FieldValueReader for StreamAsgnReqIDField {
36312    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36313        self.0.read(raw)
36314    }
36315}
36316
36317impl FieldValueWriter for StreamAsgnReqIDField {
36318    fn write_to(&self, buf: &mut Vec<u8>) {
36319        self.0.write_to(buf);
36320    }
36321}
36322
36323impl FieldValue for StreamAsgnReqIDField {}
36324
36325
36326/// `StreamAsgnReqTypeField` is a `INT` field, Tag 1498.
36327pub struct StreamAsgnReqTypeField(pub FIXInt);
36328
36329impl StreamAsgnReqTypeField {
36330
36331    pub fn new(val: isize) -> Self { Self(val) }
36332    pub fn value(&self) -> isize { self.0 }
36333
36334    pub fn tag() -> Tag { tag::STREAM_ASGN_REQ_TYPE }
36335}
36336
36337impl FieldValueReader for StreamAsgnReqTypeField {
36338    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36339        self.0.read(raw)
36340    }
36341}
36342
36343impl FieldValueWriter for StreamAsgnReqTypeField {
36344    fn write_to(&self, buf: &mut Vec<u8>) {
36345        self.0.write_to(buf);
36346    }
36347}
36348
36349impl FieldValue for StreamAsgnReqTypeField {}
36350
36351
36352/// `StreamAsgnRptIDField` is a `STRING` field, Tag 1501.
36353pub struct StreamAsgnRptIDField(pub FIXString);
36354
36355impl StreamAsgnRptIDField {
36356
36357    pub fn new(val: String) -> Self { Self(val) }
36358    pub fn value(&self) -> &str { &self.0 }
36359
36360    pub fn tag() -> Tag { tag::STREAM_ASGN_RPT_ID }
36361}
36362
36363impl FieldValueReader for StreamAsgnRptIDField {
36364    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36365        self.0.read(raw)
36366    }
36367}
36368
36369impl FieldValueWriter for StreamAsgnRptIDField {
36370    fn write_to(&self, buf: &mut Vec<u8>) {
36371        self.0.write_to(buf);
36372    }
36373}
36374
36375impl FieldValue for StreamAsgnRptIDField {}
36376
36377
36378/// `StreamAsgnTypeField` is a `INT` field, Tag 1617.
36379pub struct StreamAsgnTypeField(pub FIXInt);
36380
36381impl StreamAsgnTypeField {
36382
36383    pub fn new(val: isize) -> Self { Self(val) }
36384    pub fn value(&self) -> isize { self.0 }
36385
36386    pub fn tag() -> Tag { tag::STREAM_ASGN_TYPE }
36387}
36388
36389impl FieldValueReader for StreamAsgnTypeField {
36390    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36391        self.0.read(raw)
36392    }
36393}
36394
36395impl FieldValueWriter for StreamAsgnTypeField {
36396    fn write_to(&self, buf: &mut Vec<u8>) {
36397        self.0.write_to(buf);
36398    }
36399}
36400
36401impl FieldValue for StreamAsgnTypeField {}
36402
36403
36404/// `StrikeCurrencyField` is a `CURRENCY` field, Tag 947.
36405pub struct StrikeCurrencyField(pub FIXString);
36406
36407impl StrikeCurrencyField {
36408
36409    pub fn new(val: String) -> Self { Self(val) }
36410    pub fn value(&self) -> &str { &self.0 }
36411
36412    pub fn tag() -> Tag { tag::STRIKE_CURRENCY }
36413}
36414
36415impl FieldValueReader for StrikeCurrencyField {
36416    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36417        self.0.read(raw)
36418    }
36419}
36420
36421impl FieldValueWriter for StrikeCurrencyField {
36422    fn write_to(&self, buf: &mut Vec<u8>) {
36423        self.0.write_to(buf);
36424    }
36425}
36426
36427impl FieldValue for StrikeCurrencyField {}
36428
36429
36430/// `StrikeExerciseStyleField` is a `INT` field, Tag 1304.
36431pub struct StrikeExerciseStyleField(pub FIXInt);
36432
36433impl StrikeExerciseStyleField {
36434
36435    pub fn new(val: isize) -> Self { Self(val) }
36436    pub fn value(&self) -> isize { self.0 }
36437
36438    pub fn tag() -> Tag { tag::STRIKE_EXERCISE_STYLE }
36439}
36440
36441impl FieldValueReader for StrikeExerciseStyleField {
36442    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36443        self.0.read(raw)
36444    }
36445}
36446
36447impl FieldValueWriter for StrikeExerciseStyleField {
36448    fn write_to(&self, buf: &mut Vec<u8>) {
36449        self.0.write_to(buf);
36450    }
36451}
36452
36453impl FieldValue for StrikeExerciseStyleField {}
36454
36455
36456/// `StrikeIncrementField` is a `FLOAT` field, Tag 1204.
36457pub struct StrikeIncrementField(pub FIXDecimal);
36458
36459impl StrikeIncrementField {
36460
36461    pub fn new(val: Decimal, scale: i32) -> Self {
36462        Self(FIXDecimal { decimal: val, scale })
36463    }
36464    pub fn value(&self) -> Decimal { self.0.decimal }
36465
36466    pub fn tag() -> Tag { tag::STRIKE_INCREMENT }
36467}
36468
36469impl FieldValueReader for StrikeIncrementField {
36470    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36471        self.0.read(raw)
36472    }
36473}
36474
36475impl FieldValueWriter for StrikeIncrementField {
36476    fn write_to(&self, buf: &mut Vec<u8>) {
36477        self.0.write_to(buf);
36478    }
36479}
36480
36481impl FieldValue for StrikeIncrementField {}
36482
36483
36484/// `StrikeMultiplierField` is a `FLOAT` field, Tag 967.
36485pub struct StrikeMultiplierField(pub FIXDecimal);
36486
36487impl StrikeMultiplierField {
36488
36489    pub fn new(val: Decimal, scale: i32) -> Self {
36490        Self(FIXDecimal { decimal: val, scale })
36491    }
36492    pub fn value(&self) -> Decimal { self.0.decimal }
36493
36494    pub fn tag() -> Tag { tag::STRIKE_MULTIPLIER }
36495}
36496
36497impl FieldValueReader for StrikeMultiplierField {
36498    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36499        self.0.read(raw)
36500    }
36501}
36502
36503impl FieldValueWriter for StrikeMultiplierField {
36504    fn write_to(&self, buf: &mut Vec<u8>) {
36505        self.0.write_to(buf);
36506    }
36507}
36508
36509impl FieldValue for StrikeMultiplierField {}
36510
36511
36512/// `StrikePriceField` is a `PRICE` field, Tag 202.
36513pub struct StrikePriceField(pub FIXDecimal);
36514
36515impl StrikePriceField {
36516
36517    pub fn new(val: Decimal, scale: i32) -> Self {
36518        Self(FIXDecimal { decimal: val, scale })
36519    }
36520    pub fn value(&self) -> Decimal { self.0.decimal }
36521
36522    pub fn tag() -> Tag { tag::STRIKE_PRICE }
36523}
36524
36525impl FieldValueReader for StrikePriceField {
36526    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36527        self.0.read(raw)
36528    }
36529}
36530
36531impl FieldValueWriter for StrikePriceField {
36532    fn write_to(&self, buf: &mut Vec<u8>) {
36533        self.0.write_to(buf);
36534    }
36535}
36536
36537impl FieldValue for StrikePriceField {}
36538
36539
36540/// `StrikePriceBoundaryMethodField` is a `INT` field, Tag 1479.
36541pub struct StrikePriceBoundaryMethodField(pub FIXInt);
36542
36543impl StrikePriceBoundaryMethodField {
36544
36545    pub fn new(val: isize) -> Self { Self(val) }
36546    pub fn value(&self) -> isize { self.0 }
36547
36548    pub fn tag() -> Tag { tag::STRIKE_PRICE_BOUNDARY_METHOD }
36549}
36550
36551impl FieldValueReader for StrikePriceBoundaryMethodField {
36552    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36553        self.0.read(raw)
36554    }
36555}
36556
36557impl FieldValueWriter for StrikePriceBoundaryMethodField {
36558    fn write_to(&self, buf: &mut Vec<u8>) {
36559        self.0.write_to(buf);
36560    }
36561}
36562
36563impl FieldValue for StrikePriceBoundaryMethodField {}
36564
36565
36566/// `StrikePriceBoundaryPrecisionField` is a `PERCENTAGE` field, Tag 1480.
36567pub struct StrikePriceBoundaryPrecisionField(pub FIXDecimal);
36568
36569impl StrikePriceBoundaryPrecisionField {
36570
36571    pub fn new(val: Decimal, scale: i32) -> Self {
36572        Self(FIXDecimal { decimal: val, scale })
36573    }
36574    pub fn value(&self) -> Decimal { self.0.decimal }
36575
36576    pub fn tag() -> Tag { tag::STRIKE_PRICE_BOUNDARY_PRECISION }
36577}
36578
36579impl FieldValueReader for StrikePriceBoundaryPrecisionField {
36580    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36581        self.0.read(raw)
36582    }
36583}
36584
36585impl FieldValueWriter for StrikePriceBoundaryPrecisionField {
36586    fn write_to(&self, buf: &mut Vec<u8>) {
36587        self.0.write_to(buf);
36588    }
36589}
36590
36591impl FieldValue for StrikePriceBoundaryPrecisionField {}
36592
36593
36594/// `StrikePriceDeterminationMethodField` is a `INT` field, Tag 1478.
36595pub struct StrikePriceDeterminationMethodField(pub FIXInt);
36596
36597impl StrikePriceDeterminationMethodField {
36598
36599    pub fn new(val: isize) -> Self { Self(val) }
36600    pub fn value(&self) -> isize { self.0 }
36601
36602    pub fn tag() -> Tag { tag::STRIKE_PRICE_DETERMINATION_METHOD }
36603}
36604
36605impl FieldValueReader for StrikePriceDeterminationMethodField {
36606    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36607        self.0.read(raw)
36608    }
36609}
36610
36611impl FieldValueWriter for StrikePriceDeterminationMethodField {
36612    fn write_to(&self, buf: &mut Vec<u8>) {
36613        self.0.write_to(buf);
36614    }
36615}
36616
36617impl FieldValue for StrikePriceDeterminationMethodField {}
36618
36619
36620/// `StrikeRuleIDField` is a `STRING` field, Tag 1223.
36621pub struct StrikeRuleIDField(pub FIXString);
36622
36623impl StrikeRuleIDField {
36624
36625    pub fn new(val: String) -> Self { Self(val) }
36626    pub fn value(&self) -> &str { &self.0 }
36627
36628    pub fn tag() -> Tag { tag::STRIKE_RULE_ID }
36629}
36630
36631impl FieldValueReader for StrikeRuleIDField {
36632    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36633        self.0.read(raw)
36634    }
36635}
36636
36637impl FieldValueWriter for StrikeRuleIDField {
36638    fn write_to(&self, buf: &mut Vec<u8>) {
36639        self.0.write_to(buf);
36640    }
36641}
36642
36643impl FieldValue for StrikeRuleIDField {}
36644
36645
36646/// `StrikeTimeField` is a `UTCTIMESTAMP` field, Tag 443.
36647pub struct StrikeTimeField(pub FIXUTCTimestamp);
36648
36649impl StrikeTimeField {
36650
36651    pub fn new(val: Timestamp) -> Self {
36652        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
36653    }
36654    pub fn value(&self) -> Timestamp { self.0.time }
36655
36656    pub fn tag() -> Tag { tag::STRIKE_TIME }
36657}
36658
36659impl FieldValueReader for StrikeTimeField {
36660    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36661        self.0.read(raw)
36662    }
36663}
36664
36665impl FieldValueWriter for StrikeTimeField {
36666    fn write_to(&self, buf: &mut Vec<u8>) {
36667        self.0.write_to(buf);
36668    }
36669}
36670
36671impl FieldValue for StrikeTimeField {}
36672
36673
36674/// `StrikeValueField` is a `FLOAT` field, Tag 968.
36675pub struct StrikeValueField(pub FIXDecimal);
36676
36677impl StrikeValueField {
36678
36679    pub fn new(val: Decimal, scale: i32) -> Self {
36680        Self(FIXDecimal { decimal: val, scale })
36681    }
36682    pub fn value(&self) -> Decimal { self.0.decimal }
36683
36684    pub fn tag() -> Tag { tag::STRIKE_VALUE }
36685}
36686
36687impl FieldValueReader for StrikeValueField {
36688    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36689        self.0.read(raw)
36690    }
36691}
36692
36693impl FieldValueWriter for StrikeValueField {
36694    fn write_to(&self, buf: &mut Vec<u8>) {
36695        self.0.write_to(buf);
36696    }
36697}
36698
36699impl FieldValue for StrikeValueField {}
36700
36701
36702/// `SubjectField` is a `STRING` field, Tag 147.
36703pub struct SubjectField(pub FIXString);
36704
36705impl SubjectField {
36706
36707    pub fn new(val: String) -> Self { Self(val) }
36708    pub fn value(&self) -> &str { &self.0 }
36709
36710    pub fn tag() -> Tag { tag::SUBJECT }
36711}
36712
36713impl FieldValueReader for SubjectField {
36714    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36715        self.0.read(raw)
36716    }
36717}
36718
36719impl FieldValueWriter for SubjectField {
36720    fn write_to(&self, buf: &mut Vec<u8>) {
36721        self.0.write_to(buf);
36722    }
36723}
36724
36725impl FieldValue for SubjectField {}
36726
36727
36728/// `SubscriptionRequestTypeField` is a `CHAR` field, Tag 263.
36729pub struct SubscriptionRequestTypeField(pub FIXString);
36730
36731impl SubscriptionRequestTypeField {
36732
36733    pub fn new(val: String) -> Self { Self(val) }
36734    pub fn value(&self) -> &str { &self.0 }
36735
36736    pub fn tag() -> Tag { tag::SUBSCRIPTION_REQUEST_TYPE }
36737}
36738
36739impl FieldValueReader for SubscriptionRequestTypeField {
36740    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36741        self.0.read(raw)
36742    }
36743}
36744
36745impl FieldValueWriter for SubscriptionRequestTypeField {
36746    fn write_to(&self, buf: &mut Vec<u8>) {
36747        self.0.write_to(buf);
36748    }
36749}
36750
36751impl FieldValue for SubscriptionRequestTypeField {}
36752
36753
36754/// `SwapPointsField` is a `PRICEOFFSET` field, Tag 1069.
36755pub struct SwapPointsField(pub FIXDecimal);
36756
36757impl SwapPointsField {
36758
36759    pub fn new(val: Decimal, scale: i32) -> Self {
36760        Self(FIXDecimal { decimal: val, scale })
36761    }
36762    pub fn value(&self) -> Decimal { self.0.decimal }
36763
36764    pub fn tag() -> Tag { tag::SWAP_POINTS }
36765}
36766
36767impl FieldValueReader for SwapPointsField {
36768    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36769        self.0.read(raw)
36770    }
36771}
36772
36773impl FieldValueWriter for SwapPointsField {
36774    fn write_to(&self, buf: &mut Vec<u8>) {
36775        self.0.write_to(buf);
36776    }
36777}
36778
36779impl FieldValue for SwapPointsField {}
36780
36781
36782/// `SymbolField` is a `STRING` field, Tag 55.
36783pub struct SymbolField(pub FIXString);
36784
36785impl SymbolField {
36786
36787    pub fn new(val: String) -> Self { Self(val) }
36788    pub fn value(&self) -> &str { &self.0 }
36789
36790    pub fn tag() -> Tag { tag::SYMBOL }
36791}
36792
36793impl FieldValueReader for SymbolField {
36794    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36795        self.0.read(raw)
36796    }
36797}
36798
36799impl FieldValueWriter for SymbolField {
36800    fn write_to(&self, buf: &mut Vec<u8>) {
36801        self.0.write_to(buf);
36802    }
36803}
36804
36805impl FieldValue for SymbolField {}
36806
36807
36808/// `SymbolSfxField` is a `STRING` field, Tag 65.
36809pub struct SymbolSfxField(pub FIXString);
36810
36811impl SymbolSfxField {
36812
36813    pub fn new(val: String) -> Self { Self(val) }
36814    pub fn value(&self) -> &str { &self.0 }
36815
36816    pub fn tag() -> Tag { tag::SYMBOL_SFX }
36817}
36818
36819impl FieldValueReader for SymbolSfxField {
36820    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36821        self.0.read(raw)
36822    }
36823}
36824
36825impl FieldValueWriter for SymbolSfxField {
36826    fn write_to(&self, buf: &mut Vec<u8>) {
36827        self.0.write_to(buf);
36828    }
36829}
36830
36831impl FieldValue for SymbolSfxField {}
36832
36833
36834/// `TZTransactTimeField` is a `TZTIMESTAMP` field, Tag 1132.
36835pub struct TZTransactTimeField(pub FIXString);
36836
36837impl TZTransactTimeField {
36838
36839    pub fn new(val: String) -> Self { Self(val) }
36840    pub fn value(&self) -> &str { &self.0 }
36841
36842    pub fn tag() -> Tag { tag::TZ_TRANSACT_TIME }
36843}
36844
36845impl FieldValueReader for TZTransactTimeField {
36846    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36847        self.0.read(raw)
36848    }
36849}
36850
36851impl FieldValueWriter for TZTransactTimeField {
36852    fn write_to(&self, buf: &mut Vec<u8>) {
36853        self.0.write_to(buf);
36854    }
36855}
36856
36857impl FieldValue for TZTransactTimeField {}
36858
36859
36860/// `TargetCompIDField` is a `STRING` field, Tag 56.
36861pub struct TargetCompIDField(pub FIXString);
36862
36863impl TargetCompIDField {
36864
36865    pub fn new(val: String) -> Self { Self(val) }
36866    pub fn value(&self) -> &str { &self.0 }
36867
36868    pub fn tag() -> Tag { tag::TARGET_COMP_ID }
36869}
36870
36871impl FieldValueReader for TargetCompIDField {
36872    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36873        self.0.read(raw)
36874    }
36875}
36876
36877impl FieldValueWriter for TargetCompIDField {
36878    fn write_to(&self, buf: &mut Vec<u8>) {
36879        self.0.write_to(buf);
36880    }
36881}
36882
36883impl FieldValue for TargetCompIDField {}
36884
36885
36886/// `TargetLocationIDField` is a `STRING` field, Tag 143.
36887pub struct TargetLocationIDField(pub FIXString);
36888
36889impl TargetLocationIDField {
36890
36891    pub fn new(val: String) -> Self { Self(val) }
36892    pub fn value(&self) -> &str { &self.0 }
36893
36894    pub fn tag() -> Tag { tag::TARGET_LOCATION_ID }
36895}
36896
36897impl FieldValueReader for TargetLocationIDField {
36898    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36899        self.0.read(raw)
36900    }
36901}
36902
36903impl FieldValueWriter for TargetLocationIDField {
36904    fn write_to(&self, buf: &mut Vec<u8>) {
36905        self.0.write_to(buf);
36906    }
36907}
36908
36909impl FieldValue for TargetLocationIDField {}
36910
36911
36912/// `TargetPartyIDField` is a `STRING` field, Tag 1462.
36913pub struct TargetPartyIDField(pub FIXString);
36914
36915impl TargetPartyIDField {
36916
36917    pub fn new(val: String) -> Self { Self(val) }
36918    pub fn value(&self) -> &str { &self.0 }
36919
36920    pub fn tag() -> Tag { tag::TARGET_PARTY_ID }
36921}
36922
36923impl FieldValueReader for TargetPartyIDField {
36924    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36925        self.0.read(raw)
36926    }
36927}
36928
36929impl FieldValueWriter for TargetPartyIDField {
36930    fn write_to(&self, buf: &mut Vec<u8>) {
36931        self.0.write_to(buf);
36932    }
36933}
36934
36935impl FieldValue for TargetPartyIDField {}
36936
36937
36938/// `TargetPartyIDSourceField` is a `CHAR` field, Tag 1463.
36939pub struct TargetPartyIDSourceField(pub FIXString);
36940
36941impl TargetPartyIDSourceField {
36942
36943    pub fn new(val: String) -> Self { Self(val) }
36944    pub fn value(&self) -> &str { &self.0 }
36945
36946    pub fn tag() -> Tag { tag::TARGET_PARTY_ID_SOURCE }
36947}
36948
36949impl FieldValueReader for TargetPartyIDSourceField {
36950    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36951        self.0.read(raw)
36952    }
36953}
36954
36955impl FieldValueWriter for TargetPartyIDSourceField {
36956    fn write_to(&self, buf: &mut Vec<u8>) {
36957        self.0.write_to(buf);
36958    }
36959}
36960
36961impl FieldValue for TargetPartyIDSourceField {}
36962
36963
36964/// `TargetPartyRoleField` is a `INT` field, Tag 1464.
36965pub struct TargetPartyRoleField(pub FIXInt);
36966
36967impl TargetPartyRoleField {
36968
36969    pub fn new(val: isize) -> Self { Self(val) }
36970    pub fn value(&self) -> isize { self.0 }
36971
36972    pub fn tag() -> Tag { tag::TARGET_PARTY_ROLE }
36973}
36974
36975impl FieldValueReader for TargetPartyRoleField {
36976    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
36977        self.0.read(raw)
36978    }
36979}
36980
36981impl FieldValueWriter for TargetPartyRoleField {
36982    fn write_to(&self, buf: &mut Vec<u8>) {
36983        self.0.write_to(buf);
36984    }
36985}
36986
36987impl FieldValue for TargetPartyRoleField {}
36988
36989
36990/// `TargetStrategyField` is a `INT` field, Tag 847.
36991pub struct TargetStrategyField(pub FIXInt);
36992
36993impl TargetStrategyField {
36994
36995    pub fn new(val: isize) -> Self { Self(val) }
36996    pub fn value(&self) -> isize { self.0 }
36997
36998    pub fn tag() -> Tag { tag::TARGET_STRATEGY }
36999}
37000
37001impl FieldValueReader for TargetStrategyField {
37002    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37003        self.0.read(raw)
37004    }
37005}
37006
37007impl FieldValueWriter for TargetStrategyField {
37008    fn write_to(&self, buf: &mut Vec<u8>) {
37009        self.0.write_to(buf);
37010    }
37011}
37012
37013impl FieldValue for TargetStrategyField {}
37014
37015
37016/// `TargetStrategyParametersField` is a `STRING` field, Tag 848.
37017pub struct TargetStrategyParametersField(pub FIXString);
37018
37019impl TargetStrategyParametersField {
37020
37021    pub fn new(val: String) -> Self { Self(val) }
37022    pub fn value(&self) -> &str { &self.0 }
37023
37024    pub fn tag() -> Tag { tag::TARGET_STRATEGY_PARAMETERS }
37025}
37026
37027impl FieldValueReader for TargetStrategyParametersField {
37028    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37029        self.0.read(raw)
37030    }
37031}
37032
37033impl FieldValueWriter for TargetStrategyParametersField {
37034    fn write_to(&self, buf: &mut Vec<u8>) {
37035        self.0.write_to(buf);
37036    }
37037}
37038
37039impl FieldValue for TargetStrategyParametersField {}
37040
37041
37042/// `TargetStrategyPerformanceField` is a `FLOAT` field, Tag 850.
37043pub struct TargetStrategyPerformanceField(pub FIXDecimal);
37044
37045impl TargetStrategyPerformanceField {
37046
37047    pub fn new(val: Decimal, scale: i32) -> Self {
37048        Self(FIXDecimal { decimal: val, scale })
37049    }
37050    pub fn value(&self) -> Decimal { self.0.decimal }
37051
37052    pub fn tag() -> Tag { tag::TARGET_STRATEGY_PERFORMANCE }
37053}
37054
37055impl FieldValueReader for TargetStrategyPerformanceField {
37056    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37057        self.0.read(raw)
37058    }
37059}
37060
37061impl FieldValueWriter for TargetStrategyPerformanceField {
37062    fn write_to(&self, buf: &mut Vec<u8>) {
37063        self.0.write_to(buf);
37064    }
37065}
37066
37067impl FieldValue for TargetStrategyPerformanceField {}
37068
37069
37070/// `TargetSubIDField` is a `STRING` field, Tag 57.
37071pub struct TargetSubIDField(pub FIXString);
37072
37073impl TargetSubIDField {
37074
37075    pub fn new(val: String) -> Self { Self(val) }
37076    pub fn value(&self) -> &str { &self.0 }
37077
37078    pub fn tag() -> Tag { tag::TARGET_SUB_ID }
37079}
37080
37081impl FieldValueReader for TargetSubIDField {
37082    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37083        self.0.read(raw)
37084    }
37085}
37086
37087impl FieldValueWriter for TargetSubIDField {
37088    fn write_to(&self, buf: &mut Vec<u8>) {
37089        self.0.write_to(buf);
37090    }
37091}
37092
37093impl FieldValue for TargetSubIDField {}
37094
37095
37096/// `TaxAdvantageTypeField` is a `INT` field, Tag 495.
37097pub struct TaxAdvantageTypeField(pub FIXInt);
37098
37099impl TaxAdvantageTypeField {
37100
37101    pub fn new(val: isize) -> Self { Self(val) }
37102    pub fn value(&self) -> isize { self.0 }
37103
37104    pub fn tag() -> Tag { tag::TAX_ADVANTAGE_TYPE }
37105}
37106
37107impl FieldValueReader for TaxAdvantageTypeField {
37108    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37109        self.0.read(raw)
37110    }
37111}
37112
37113impl FieldValueWriter for TaxAdvantageTypeField {
37114    fn write_to(&self, buf: &mut Vec<u8>) {
37115        self.0.write_to(buf);
37116    }
37117}
37118
37119impl FieldValue for TaxAdvantageTypeField {}
37120
37121
37122/// `TerminationTypeField` is a `INT` field, Tag 788.
37123pub struct TerminationTypeField(pub FIXInt);
37124
37125impl TerminationTypeField {
37126
37127    pub fn new(val: isize) -> Self { Self(val) }
37128    pub fn value(&self) -> isize { self.0 }
37129
37130    pub fn tag() -> Tag { tag::TERMINATION_TYPE }
37131}
37132
37133impl FieldValueReader for TerminationTypeField {
37134    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37135        self.0.read(raw)
37136    }
37137}
37138
37139impl FieldValueWriter for TerminationTypeField {
37140    fn write_to(&self, buf: &mut Vec<u8>) {
37141        self.0.write_to(buf);
37142    }
37143}
37144
37145impl FieldValue for TerminationTypeField {}
37146
37147
37148/// `TestMessageIndicatorField` is a `BOOLEAN` field, Tag 464.
37149pub struct TestMessageIndicatorField(pub FIXBoolean);
37150
37151impl TestMessageIndicatorField {
37152
37153    pub fn new(val: bool) -> Self { Self(val) }
37154    pub fn value(&self) -> bool { self.0 }
37155
37156    pub fn tag() -> Tag { tag::TEST_MESSAGE_INDICATOR }
37157}
37158
37159impl FieldValueReader for TestMessageIndicatorField {
37160    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37161        self.0.read(raw)
37162    }
37163}
37164
37165impl FieldValueWriter for TestMessageIndicatorField {
37166    fn write_to(&self, buf: &mut Vec<u8>) {
37167        self.0.write_to(buf);
37168    }
37169}
37170
37171impl FieldValue for TestMessageIndicatorField {}
37172
37173
37174/// `TestReqIDField` is a `STRING` field, Tag 112.
37175pub struct TestReqIDField(pub FIXString);
37176
37177impl TestReqIDField {
37178
37179    pub fn new(val: String) -> Self { Self(val) }
37180    pub fn value(&self) -> &str { &self.0 }
37181
37182    pub fn tag() -> Tag { tag::TEST_REQ_ID }
37183}
37184
37185impl FieldValueReader for TestReqIDField {
37186    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37187        self.0.read(raw)
37188    }
37189}
37190
37191impl FieldValueWriter for TestReqIDField {
37192    fn write_to(&self, buf: &mut Vec<u8>) {
37193        self.0.write_to(buf);
37194    }
37195}
37196
37197impl FieldValue for TestReqIDField {}
37198
37199
37200/// `TextField` is a `STRING` field, Tag 58.
37201pub struct TextField(pub FIXString);
37202
37203impl TextField {
37204
37205    pub fn new(val: String) -> Self { Self(val) }
37206    pub fn value(&self) -> &str { &self.0 }
37207
37208    pub fn tag() -> Tag { tag::TEXT }
37209}
37210
37211impl FieldValueReader for TextField {
37212    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37213        self.0.read(raw)
37214    }
37215}
37216
37217impl FieldValueWriter for TextField {
37218    fn write_to(&self, buf: &mut Vec<u8>) {
37219        self.0.write_to(buf);
37220    }
37221}
37222
37223impl FieldValue for TextField {}
37224
37225
37226/// `ThresholdAmountField` is a `PRICEOFFSET` field, Tag 834.
37227pub struct ThresholdAmountField(pub FIXDecimal);
37228
37229impl ThresholdAmountField {
37230
37231    pub fn new(val: Decimal, scale: i32) -> Self {
37232        Self(FIXDecimal { decimal: val, scale })
37233    }
37234    pub fn value(&self) -> Decimal { self.0.decimal }
37235
37236    pub fn tag() -> Tag { tag::THRESHOLD_AMOUNT }
37237}
37238
37239impl FieldValueReader for ThresholdAmountField {
37240    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37241        self.0.read(raw)
37242    }
37243}
37244
37245impl FieldValueWriter for ThresholdAmountField {
37246    fn write_to(&self, buf: &mut Vec<u8>) {
37247        self.0.write_to(buf);
37248    }
37249}
37250
37251impl FieldValue for ThresholdAmountField {}
37252
37253
37254/// `TickDirectionField` is a `CHAR` field, Tag 274.
37255pub struct TickDirectionField(pub FIXString);
37256
37257impl TickDirectionField {
37258
37259    pub fn new(val: String) -> Self { Self(val) }
37260    pub fn value(&self) -> &str { &self.0 }
37261
37262    pub fn tag() -> Tag { tag::TICK_DIRECTION }
37263}
37264
37265impl FieldValueReader for TickDirectionField {
37266    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37267        self.0.read(raw)
37268    }
37269}
37270
37271impl FieldValueWriter for TickDirectionField {
37272    fn write_to(&self, buf: &mut Vec<u8>) {
37273        self.0.write_to(buf);
37274    }
37275}
37276
37277impl FieldValue for TickDirectionField {}
37278
37279
37280/// `TickIncrementField` is a `PRICE` field, Tag 1208.
37281pub struct TickIncrementField(pub FIXDecimal);
37282
37283impl TickIncrementField {
37284
37285    pub fn new(val: Decimal, scale: i32) -> Self {
37286        Self(FIXDecimal { decimal: val, scale })
37287    }
37288    pub fn value(&self) -> Decimal { self.0.decimal }
37289
37290    pub fn tag() -> Tag { tag::TICK_INCREMENT }
37291}
37292
37293impl FieldValueReader for TickIncrementField {
37294    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37295        self.0.read(raw)
37296    }
37297}
37298
37299impl FieldValueWriter for TickIncrementField {
37300    fn write_to(&self, buf: &mut Vec<u8>) {
37301        self.0.write_to(buf);
37302    }
37303}
37304
37305impl FieldValue for TickIncrementField {}
37306
37307
37308/// `TickRuleTypeField` is a `INT` field, Tag 1209.
37309pub struct TickRuleTypeField(pub FIXInt);
37310
37311impl TickRuleTypeField {
37312
37313    pub fn new(val: isize) -> Self { Self(val) }
37314    pub fn value(&self) -> isize { self.0 }
37315
37316    pub fn tag() -> Tag { tag::TICK_RULE_TYPE }
37317}
37318
37319impl FieldValueReader for TickRuleTypeField {
37320    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37321        self.0.read(raw)
37322    }
37323}
37324
37325impl FieldValueWriter for TickRuleTypeField {
37326    fn write_to(&self, buf: &mut Vec<u8>) {
37327        self.0.write_to(buf);
37328    }
37329}
37330
37331impl FieldValue for TickRuleTypeField {}
37332
37333
37334/// `TierCodeField` is a `STRING` field, Tag 994.
37335pub struct TierCodeField(pub FIXString);
37336
37337impl TierCodeField {
37338
37339    pub fn new(val: String) -> Self { Self(val) }
37340    pub fn value(&self) -> &str { &self.0 }
37341
37342    pub fn tag() -> Tag { tag::TIER_CODE }
37343}
37344
37345impl FieldValueReader for TierCodeField {
37346    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37347        self.0.read(raw)
37348    }
37349}
37350
37351impl FieldValueWriter for TierCodeField {
37352    fn write_to(&self, buf: &mut Vec<u8>) {
37353        self.0.write_to(buf);
37354    }
37355}
37356
37357impl FieldValue for TierCodeField {}
37358
37359
37360/// `TimeBracketField` is a `STRING` field, Tag 943.
37361pub struct TimeBracketField(pub FIXString);
37362
37363impl TimeBracketField {
37364
37365    pub fn new(val: String) -> Self { Self(val) }
37366    pub fn value(&self) -> &str { &self.0 }
37367
37368    pub fn tag() -> Tag { tag::TIME_BRACKET }
37369}
37370
37371impl FieldValueReader for TimeBracketField {
37372    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37373        self.0.read(raw)
37374    }
37375}
37376
37377impl FieldValueWriter for TimeBracketField {
37378    fn write_to(&self, buf: &mut Vec<u8>) {
37379        self.0.write_to(buf);
37380    }
37381}
37382
37383impl FieldValue for TimeBracketField {}
37384
37385
37386/// `TimeInForceField` is a `CHAR` field, Tag 59.
37387pub struct TimeInForceField(pub FIXString);
37388
37389impl TimeInForceField {
37390
37391    pub fn new(val: String) -> Self { Self(val) }
37392    pub fn value(&self) -> &str { &self.0 }
37393
37394    pub fn tag() -> Tag { tag::TIME_IN_FORCE }
37395}
37396
37397impl FieldValueReader for TimeInForceField {
37398    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37399        self.0.read(raw)
37400    }
37401}
37402
37403impl FieldValueWriter for TimeInForceField {
37404    fn write_to(&self, buf: &mut Vec<u8>) {
37405        self.0.write_to(buf);
37406    }
37407}
37408
37409impl FieldValue for TimeInForceField {}
37410
37411
37412/// `TimeToExpirationField` is a `FLOAT` field, Tag 1189.
37413pub struct TimeToExpirationField(pub FIXDecimal);
37414
37415impl TimeToExpirationField {
37416
37417    pub fn new(val: Decimal, scale: i32) -> Self {
37418        Self(FIXDecimal { decimal: val, scale })
37419    }
37420    pub fn value(&self) -> Decimal { self.0.decimal }
37421
37422    pub fn tag() -> Tag { tag::TIME_TO_EXPIRATION }
37423}
37424
37425impl FieldValueReader for TimeToExpirationField {
37426    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37427        self.0.read(raw)
37428    }
37429}
37430
37431impl FieldValueWriter for TimeToExpirationField {
37432    fn write_to(&self, buf: &mut Vec<u8>) {
37433        self.0.write_to(buf);
37434    }
37435}
37436
37437impl FieldValue for TimeToExpirationField {}
37438
37439
37440/// `TimeUnitField` is a `STRING` field, Tag 997.
37441pub struct TimeUnitField(pub FIXString);
37442
37443impl TimeUnitField {
37444
37445    pub fn new(val: String) -> Self { Self(val) }
37446    pub fn value(&self) -> &str { &self.0 }
37447
37448    pub fn tag() -> Tag { tag::TIME_UNIT }
37449}
37450
37451impl FieldValueReader for TimeUnitField {
37452    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37453        self.0.read(raw)
37454    }
37455}
37456
37457impl FieldValueWriter for TimeUnitField {
37458    fn write_to(&self, buf: &mut Vec<u8>) {
37459        self.0.write_to(buf);
37460    }
37461}
37462
37463impl FieldValue for TimeUnitField {}
37464
37465
37466/// `TotNoAccQuotesField` is a `INT` field, Tag 1169.
37467pub struct TotNoAccQuotesField(pub FIXInt);
37468
37469impl TotNoAccQuotesField {
37470
37471    pub fn new(val: isize) -> Self { Self(val) }
37472    pub fn value(&self) -> isize { self.0 }
37473
37474    pub fn tag() -> Tag { tag::TOT_NO_ACC_QUOTES }
37475}
37476
37477impl FieldValueReader for TotNoAccQuotesField {
37478    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37479        self.0.read(raw)
37480    }
37481}
37482
37483impl FieldValueWriter for TotNoAccQuotesField {
37484    fn write_to(&self, buf: &mut Vec<u8>) {
37485        self.0.write_to(buf);
37486    }
37487}
37488
37489impl FieldValue for TotNoAccQuotesField {}
37490
37491
37492/// `TotNoAllocsField` is a `INT` field, Tag 892.
37493pub struct TotNoAllocsField(pub FIXInt);
37494
37495impl TotNoAllocsField {
37496
37497    pub fn new(val: isize) -> Self { Self(val) }
37498    pub fn value(&self) -> isize { self.0 }
37499
37500    pub fn tag() -> Tag { tag::TOT_NO_ALLOCS }
37501}
37502
37503impl FieldValueReader for TotNoAllocsField {
37504    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37505        self.0.read(raw)
37506    }
37507}
37508
37509impl FieldValueWriter for TotNoAllocsField {
37510    fn write_to(&self, buf: &mut Vec<u8>) {
37511        self.0.write_to(buf);
37512    }
37513}
37514
37515impl FieldValue for TotNoAllocsField {}
37516
37517
37518/// `TotNoCxldQuotesField` is a `INT` field, Tag 1168.
37519pub struct TotNoCxldQuotesField(pub FIXInt);
37520
37521impl TotNoCxldQuotesField {
37522
37523    pub fn new(val: isize) -> Self { Self(val) }
37524    pub fn value(&self) -> isize { self.0 }
37525
37526    pub fn tag() -> Tag { tag::TOT_NO_CXLD_QUOTES }
37527}
37528
37529impl FieldValueReader for TotNoCxldQuotesField {
37530    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37531        self.0.read(raw)
37532    }
37533}
37534
37535impl FieldValueWriter for TotNoCxldQuotesField {
37536    fn write_to(&self, buf: &mut Vec<u8>) {
37537        self.0.write_to(buf);
37538    }
37539}
37540
37541impl FieldValue for TotNoCxldQuotesField {}
37542
37543
37544/// `TotNoFillsField` is a `INT` field, Tag 1361.
37545pub struct TotNoFillsField(pub FIXInt);
37546
37547impl TotNoFillsField {
37548
37549    pub fn new(val: isize) -> Self { Self(val) }
37550    pub fn value(&self) -> isize { self.0 }
37551
37552    pub fn tag() -> Tag { tag::TOT_NO_FILLS }
37553}
37554
37555impl FieldValueReader for TotNoFillsField {
37556    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37557        self.0.read(raw)
37558    }
37559}
37560
37561impl FieldValueWriter for TotNoFillsField {
37562    fn write_to(&self, buf: &mut Vec<u8>) {
37563        self.0.write_to(buf);
37564    }
37565}
37566
37567impl FieldValue for TotNoFillsField {}
37568
37569
37570/// `TotNoOrdersField` is a `INT` field, Tag 68.
37571pub struct TotNoOrdersField(pub FIXInt);
37572
37573impl TotNoOrdersField {
37574
37575    pub fn new(val: isize) -> Self { Self(val) }
37576    pub fn value(&self) -> isize { self.0 }
37577
37578    pub fn tag() -> Tag { tag::TOT_NO_ORDERS }
37579}
37580
37581impl FieldValueReader for TotNoOrdersField {
37582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37583        self.0.read(raw)
37584    }
37585}
37586
37587impl FieldValueWriter for TotNoOrdersField {
37588    fn write_to(&self, buf: &mut Vec<u8>) {
37589        self.0.write_to(buf);
37590    }
37591}
37592
37593impl FieldValue for TotNoOrdersField {}
37594
37595
37596/// `TotNoPartyListField` is a `INT` field, Tag 1512.
37597pub struct TotNoPartyListField(pub FIXInt);
37598
37599impl TotNoPartyListField {
37600
37601    pub fn new(val: isize) -> Self { Self(val) }
37602    pub fn value(&self) -> isize { self.0 }
37603
37604    pub fn tag() -> Tag { tag::TOT_NO_PARTY_LIST }
37605}
37606
37607impl FieldValueReader for TotNoPartyListField {
37608    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37609        self.0.read(raw)
37610    }
37611}
37612
37613impl FieldValueWriter for TotNoPartyListField {
37614    fn write_to(&self, buf: &mut Vec<u8>) {
37615        self.0.write_to(buf);
37616    }
37617}
37618
37619impl FieldValue for TotNoPartyListField {}
37620
37621
37622/// `TotNoQuoteEntriesField` is a `INT` field, Tag 304.
37623pub struct TotNoQuoteEntriesField(pub FIXInt);
37624
37625impl TotNoQuoteEntriesField {
37626
37627    pub fn new(val: isize) -> Self { Self(val) }
37628    pub fn value(&self) -> isize { self.0 }
37629
37630    pub fn tag() -> Tag { tag::TOT_NO_QUOTE_ENTRIES }
37631}
37632
37633impl FieldValueReader for TotNoQuoteEntriesField {
37634    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37635        self.0.read(raw)
37636    }
37637}
37638
37639impl FieldValueWriter for TotNoQuoteEntriesField {
37640    fn write_to(&self, buf: &mut Vec<u8>) {
37641        self.0.write_to(buf);
37642    }
37643}
37644
37645impl FieldValue for TotNoQuoteEntriesField {}
37646
37647
37648/// `TotNoRejQuotesField` is a `INT` field, Tag 1170.
37649pub struct TotNoRejQuotesField(pub FIXInt);
37650
37651impl TotNoRejQuotesField {
37652
37653    pub fn new(val: isize) -> Self { Self(val) }
37654    pub fn value(&self) -> isize { self.0 }
37655
37656    pub fn tag() -> Tag { tag::TOT_NO_REJ_QUOTES }
37657}
37658
37659impl FieldValueReader for TotNoRejQuotesField {
37660    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37661        self.0.read(raw)
37662    }
37663}
37664
37665impl FieldValueWriter for TotNoRejQuotesField {
37666    fn write_to(&self, buf: &mut Vec<u8>) {
37667        self.0.write_to(buf);
37668    }
37669}
37670
37671impl FieldValue for TotNoRejQuotesField {}
37672
37673
37674/// `TotNoRelatedSymField` is a `INT` field, Tag 393.
37675pub struct TotNoRelatedSymField(pub FIXInt);
37676
37677impl TotNoRelatedSymField {
37678
37679    pub fn new(val: isize) -> Self { Self(val) }
37680    pub fn value(&self) -> isize { self.0 }
37681
37682    pub fn tag() -> Tag { tag::TOT_NO_RELATED_SYM }
37683}
37684
37685impl FieldValueReader for TotNoRelatedSymField {
37686    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37687        self.0.read(raw)
37688    }
37689}
37690
37691impl FieldValueWriter for TotNoRelatedSymField {
37692    fn write_to(&self, buf: &mut Vec<u8>) {
37693        self.0.write_to(buf);
37694    }
37695}
37696
37697impl FieldValue for TotNoRelatedSymField {}
37698
37699
37700/// `TotNoSecurityTypesField` is a `INT` field, Tag 557.
37701pub struct TotNoSecurityTypesField(pub FIXInt);
37702
37703impl TotNoSecurityTypesField {
37704
37705    pub fn new(val: isize) -> Self { Self(val) }
37706    pub fn value(&self) -> isize { self.0 }
37707
37708    pub fn tag() -> Tag { tag::TOT_NO_SECURITY_TYPES }
37709}
37710
37711impl FieldValueReader for TotNoSecurityTypesField {
37712    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37713        self.0.read(raw)
37714    }
37715}
37716
37717impl FieldValueWriter for TotNoSecurityTypesField {
37718    fn write_to(&self, buf: &mut Vec<u8>) {
37719        self.0.write_to(buf);
37720    }
37721}
37722
37723impl FieldValue for TotNoSecurityTypesField {}
37724
37725
37726/// `TotNoStrikesField` is a `INT` field, Tag 422.
37727pub struct TotNoStrikesField(pub FIXInt);
37728
37729impl TotNoStrikesField {
37730
37731    pub fn new(val: isize) -> Self { Self(val) }
37732    pub fn value(&self) -> isize { self.0 }
37733
37734    pub fn tag() -> Tag { tag::TOT_NO_STRIKES }
37735}
37736
37737impl FieldValueReader for TotNoStrikesField {
37738    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37739        self.0.read(raw)
37740    }
37741}
37742
37743impl FieldValueWriter for TotNoStrikesField {
37744    fn write_to(&self, buf: &mut Vec<u8>) {
37745        self.0.write_to(buf);
37746    }
37747}
37748
37749impl FieldValue for TotNoStrikesField {}
37750
37751
37752/// `TotNumAssignmentReportsField` is a `INT` field, Tag 832.
37753pub struct TotNumAssignmentReportsField(pub FIXInt);
37754
37755impl TotNumAssignmentReportsField {
37756
37757    pub fn new(val: isize) -> Self { Self(val) }
37758    pub fn value(&self) -> isize { self.0 }
37759
37760    pub fn tag() -> Tag { tag::TOT_NUM_ASSIGNMENT_REPORTS }
37761}
37762
37763impl FieldValueReader for TotNumAssignmentReportsField {
37764    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37765        self.0.read(raw)
37766    }
37767}
37768
37769impl FieldValueWriter for TotNumAssignmentReportsField {
37770    fn write_to(&self, buf: &mut Vec<u8>) {
37771        self.0.write_to(buf);
37772    }
37773}
37774
37775impl FieldValue for TotNumAssignmentReportsField {}
37776
37777
37778/// `TotNumReportsField` is a `INT` field, Tag 911.
37779pub struct TotNumReportsField(pub FIXInt);
37780
37781impl TotNumReportsField {
37782
37783    pub fn new(val: isize) -> Self { Self(val) }
37784    pub fn value(&self) -> isize { self.0 }
37785
37786    pub fn tag() -> Tag { tag::TOT_NUM_REPORTS }
37787}
37788
37789impl FieldValueReader for TotNumReportsField {
37790    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37791        self.0.read(raw)
37792    }
37793}
37794
37795impl FieldValueWriter for TotNumReportsField {
37796    fn write_to(&self, buf: &mut Vec<u8>) {
37797        self.0.write_to(buf);
37798    }
37799}
37800
37801impl FieldValue for TotNumReportsField {}
37802
37803
37804/// `TotNumTradeReportsField` is a `INT` field, Tag 748.
37805pub struct TotNumTradeReportsField(pub FIXInt);
37806
37807impl TotNumTradeReportsField {
37808
37809    pub fn new(val: isize) -> Self { Self(val) }
37810    pub fn value(&self) -> isize { self.0 }
37811
37812    pub fn tag() -> Tag { tag::TOT_NUM_TRADE_REPORTS }
37813}
37814
37815impl FieldValueReader for TotNumTradeReportsField {
37816    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37817        self.0.read(raw)
37818    }
37819}
37820
37821impl FieldValueWriter for TotNumTradeReportsField {
37822    fn write_to(&self, buf: &mut Vec<u8>) {
37823        self.0.write_to(buf);
37824    }
37825}
37826
37827impl FieldValue for TotNumTradeReportsField {}
37828
37829
37830/// `TotQuoteEntriesField` is a `INT` field, Tag 304.
37831pub struct TotQuoteEntriesField(pub FIXInt);
37832
37833impl TotQuoteEntriesField {
37834
37835    pub fn new(val: isize) -> Self { Self(val) }
37836    pub fn value(&self) -> isize { self.0 }
37837
37838    pub fn tag() -> Tag { tag::TOT_QUOTE_ENTRIES }
37839}
37840
37841impl FieldValueReader for TotQuoteEntriesField {
37842    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37843        self.0.read(raw)
37844    }
37845}
37846
37847impl FieldValueWriter for TotQuoteEntriesField {
37848    fn write_to(&self, buf: &mut Vec<u8>) {
37849        self.0.write_to(buf);
37850    }
37851}
37852
37853impl FieldValue for TotQuoteEntriesField {}
37854
37855
37856/// `TotalAccruedInterestAmtField` is a `AMT` field, Tag 540.
37857pub struct TotalAccruedInterestAmtField(pub FIXDecimal);
37858
37859impl TotalAccruedInterestAmtField {
37860
37861    pub fn new(val: Decimal, scale: i32) -> Self {
37862        Self(FIXDecimal { decimal: val, scale })
37863    }
37864    pub fn value(&self) -> Decimal { self.0.decimal }
37865
37866    pub fn tag() -> Tag { tag::TOTAL_ACCRUED_INTEREST_AMT }
37867}
37868
37869impl FieldValueReader for TotalAccruedInterestAmtField {
37870    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37871        self.0.read(raw)
37872    }
37873}
37874
37875impl FieldValueWriter for TotalAccruedInterestAmtField {
37876    fn write_to(&self, buf: &mut Vec<u8>) {
37877        self.0.write_to(buf);
37878    }
37879}
37880
37881impl FieldValue for TotalAccruedInterestAmtField {}
37882
37883
37884/// `TotalAffectedOrdersField` is a `INT` field, Tag 533.
37885pub struct TotalAffectedOrdersField(pub FIXInt);
37886
37887impl TotalAffectedOrdersField {
37888
37889    pub fn new(val: isize) -> Self { Self(val) }
37890    pub fn value(&self) -> isize { self.0 }
37891
37892    pub fn tag() -> Tag { tag::TOTAL_AFFECTED_ORDERS }
37893}
37894
37895impl FieldValueReader for TotalAffectedOrdersField {
37896    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37897        self.0.read(raw)
37898    }
37899}
37900
37901impl FieldValueWriter for TotalAffectedOrdersField {
37902    fn write_to(&self, buf: &mut Vec<u8>) {
37903        self.0.write_to(buf);
37904    }
37905}
37906
37907impl FieldValue for TotalAffectedOrdersField {}
37908
37909
37910/// `TotalNetValueField` is a `AMT` field, Tag 900.
37911pub struct TotalNetValueField(pub FIXDecimal);
37912
37913impl TotalNetValueField {
37914
37915    pub fn new(val: Decimal, scale: i32) -> Self {
37916        Self(FIXDecimal { decimal: val, scale })
37917    }
37918    pub fn value(&self) -> Decimal { self.0.decimal }
37919
37920    pub fn tag() -> Tag { tag::TOTAL_NET_VALUE }
37921}
37922
37923impl FieldValueReader for TotalNetValueField {
37924    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37925        self.0.read(raw)
37926    }
37927}
37928
37929impl FieldValueWriter for TotalNetValueField {
37930    fn write_to(&self, buf: &mut Vec<u8>) {
37931        self.0.write_to(buf);
37932    }
37933}
37934
37935impl FieldValue for TotalNetValueField {}
37936
37937
37938/// `TotalNumPosReportsField` is a `INT` field, Tag 727.
37939pub struct TotalNumPosReportsField(pub FIXInt);
37940
37941impl TotalNumPosReportsField {
37942
37943    pub fn new(val: isize) -> Self { Self(val) }
37944    pub fn value(&self) -> isize { self.0 }
37945
37946    pub fn tag() -> Tag { tag::TOTAL_NUM_POS_REPORTS }
37947}
37948
37949impl FieldValueReader for TotalNumPosReportsField {
37950    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37951        self.0.read(raw)
37952    }
37953}
37954
37955impl FieldValueWriter for TotalNumPosReportsField {
37956    fn write_to(&self, buf: &mut Vec<u8>) {
37957        self.0.write_to(buf);
37958    }
37959}
37960
37961impl FieldValue for TotalNumPosReportsField {}
37962
37963
37964/// `TotalNumSecuritiesField` is a `INT` field, Tag 393.
37965pub struct TotalNumSecuritiesField(pub FIXInt);
37966
37967impl TotalNumSecuritiesField {
37968
37969    pub fn new(val: isize) -> Self { Self(val) }
37970    pub fn value(&self) -> isize { self.0 }
37971
37972    pub fn tag() -> Tag { tag::TOTAL_NUM_SECURITIES }
37973}
37974
37975impl FieldValueReader for TotalNumSecuritiesField {
37976    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
37977        self.0.read(raw)
37978    }
37979}
37980
37981impl FieldValueWriter for TotalNumSecuritiesField {
37982    fn write_to(&self, buf: &mut Vec<u8>) {
37983        self.0.write_to(buf);
37984    }
37985}
37986
37987impl FieldValue for TotalNumSecuritiesField {}
37988
37989
37990/// `TotalNumSecurityTypesField` is a `INT` field, Tag 557.
37991pub struct TotalNumSecurityTypesField(pub FIXInt);
37992
37993impl TotalNumSecurityTypesField {
37994
37995    pub fn new(val: isize) -> Self { Self(val) }
37996    pub fn value(&self) -> isize { self.0 }
37997
37998    pub fn tag() -> Tag { tag::TOTAL_NUM_SECURITY_TYPES }
37999}
38000
38001impl FieldValueReader for TotalNumSecurityTypesField {
38002    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38003        self.0.read(raw)
38004    }
38005}
38006
38007impl FieldValueWriter for TotalNumSecurityTypesField {
38008    fn write_to(&self, buf: &mut Vec<u8>) {
38009        self.0.write_to(buf);
38010    }
38011}
38012
38013impl FieldValue for TotalNumSecurityTypesField {}
38014
38015
38016/// `TotalTakedownField` is a `AMT` field, Tag 237.
38017pub struct TotalTakedownField(pub FIXDecimal);
38018
38019impl TotalTakedownField {
38020
38021    pub fn new(val: Decimal, scale: i32) -> Self {
38022        Self(FIXDecimal { decimal: val, scale })
38023    }
38024    pub fn value(&self) -> Decimal { self.0.decimal }
38025
38026    pub fn tag() -> Tag { tag::TOTAL_TAKEDOWN }
38027}
38028
38029impl FieldValueReader for TotalTakedownField {
38030    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38031        self.0.read(raw)
38032    }
38033}
38034
38035impl FieldValueWriter for TotalTakedownField {
38036    fn write_to(&self, buf: &mut Vec<u8>) {
38037        self.0.write_to(buf);
38038    }
38039}
38040
38041impl FieldValue for TotalTakedownField {}
38042
38043
38044/// `TotalVolumeTradedField` is a `QTY` field, Tag 387.
38045pub struct TotalVolumeTradedField(pub FIXDecimal);
38046
38047impl TotalVolumeTradedField {
38048
38049    pub fn new(val: Decimal, scale: i32) -> Self {
38050        Self(FIXDecimal { decimal: val, scale })
38051    }
38052    pub fn value(&self) -> Decimal { self.0.decimal }
38053
38054    pub fn tag() -> Tag { tag::TOTAL_VOLUME_TRADED }
38055}
38056
38057impl FieldValueReader for TotalVolumeTradedField {
38058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38059        self.0.read(raw)
38060    }
38061}
38062
38063impl FieldValueWriter for TotalVolumeTradedField {
38064    fn write_to(&self, buf: &mut Vec<u8>) {
38065        self.0.write_to(buf);
38066    }
38067}
38068
38069impl FieldValue for TotalVolumeTradedField {}
38070
38071
38072/// `TotalVolumeTradedDateField` is a `UTCDATEONLY` field, Tag 449.
38073pub struct TotalVolumeTradedDateField(pub FIXString);
38074
38075impl TotalVolumeTradedDateField {
38076
38077    pub fn new(val: String) -> Self { Self(val) }
38078    pub fn value(&self) -> &str { &self.0 }
38079
38080    pub fn tag() -> Tag { tag::TOTAL_VOLUME_TRADED_DATE }
38081}
38082
38083impl FieldValueReader for TotalVolumeTradedDateField {
38084    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38085        self.0.read(raw)
38086    }
38087}
38088
38089impl FieldValueWriter for TotalVolumeTradedDateField {
38090    fn write_to(&self, buf: &mut Vec<u8>) {
38091        self.0.write_to(buf);
38092    }
38093}
38094
38095impl FieldValue for TotalVolumeTradedDateField {}
38096
38097
38098/// `TotalVolumeTradedTimeField` is a `UTCTIMEONLY` field, Tag 450.
38099pub struct TotalVolumeTradedTimeField(pub FIXString);
38100
38101impl TotalVolumeTradedTimeField {
38102
38103    pub fn new(val: String) -> Self { Self(val) }
38104    pub fn value(&self) -> &str { &self.0 }
38105
38106    pub fn tag() -> Tag { tag::TOTAL_VOLUME_TRADED_TIME }
38107}
38108
38109impl FieldValueReader for TotalVolumeTradedTimeField {
38110    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38111        self.0.read(raw)
38112    }
38113}
38114
38115impl FieldValueWriter for TotalVolumeTradedTimeField {
38116    fn write_to(&self, buf: &mut Vec<u8>) {
38117        self.0.write_to(buf);
38118    }
38119}
38120
38121impl FieldValue for TotalVolumeTradedTimeField {}
38122
38123
38124/// `TradSesCloseTimeField` is a `UTCTIMESTAMP` field, Tag 344.
38125pub struct TradSesCloseTimeField(pub FIXUTCTimestamp);
38126
38127impl TradSesCloseTimeField {
38128
38129    pub fn new(val: Timestamp) -> Self {
38130        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
38131    }
38132    pub fn value(&self) -> Timestamp { self.0.time }
38133
38134    pub fn tag() -> Tag { tag::TRAD_SES_CLOSE_TIME }
38135}
38136
38137impl FieldValueReader for TradSesCloseTimeField {
38138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38139        self.0.read(raw)
38140    }
38141}
38142
38143impl FieldValueWriter for TradSesCloseTimeField {
38144    fn write_to(&self, buf: &mut Vec<u8>) {
38145        self.0.write_to(buf);
38146    }
38147}
38148
38149impl FieldValue for TradSesCloseTimeField {}
38150
38151
38152/// `TradSesEndTimeField` is a `UTCTIMESTAMP` field, Tag 345.
38153pub struct TradSesEndTimeField(pub FIXUTCTimestamp);
38154
38155impl TradSesEndTimeField {
38156
38157    pub fn new(val: Timestamp) -> Self {
38158        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
38159    }
38160    pub fn value(&self) -> Timestamp { self.0.time }
38161
38162    pub fn tag() -> Tag { tag::TRAD_SES_END_TIME }
38163}
38164
38165impl FieldValueReader for TradSesEndTimeField {
38166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38167        self.0.read(raw)
38168    }
38169}
38170
38171impl FieldValueWriter for TradSesEndTimeField {
38172    fn write_to(&self, buf: &mut Vec<u8>) {
38173        self.0.write_to(buf);
38174    }
38175}
38176
38177impl FieldValue for TradSesEndTimeField {}
38178
38179
38180/// `TradSesEventField` is a `INT` field, Tag 1368.
38181pub struct TradSesEventField(pub FIXInt);
38182
38183impl TradSesEventField {
38184
38185    pub fn new(val: isize) -> Self { Self(val) }
38186    pub fn value(&self) -> isize { self.0 }
38187
38188    pub fn tag() -> Tag { tag::TRAD_SES_EVENT }
38189}
38190
38191impl FieldValueReader for TradSesEventField {
38192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38193        self.0.read(raw)
38194    }
38195}
38196
38197impl FieldValueWriter for TradSesEventField {
38198    fn write_to(&self, buf: &mut Vec<u8>) {
38199        self.0.write_to(buf);
38200    }
38201}
38202
38203impl FieldValue for TradSesEventField {}
38204
38205
38206/// `TradSesMethodField` is a `INT` field, Tag 338.
38207pub struct TradSesMethodField(pub FIXInt);
38208
38209impl TradSesMethodField {
38210
38211    pub fn new(val: isize) -> Self { Self(val) }
38212    pub fn value(&self) -> isize { self.0 }
38213
38214    pub fn tag() -> Tag { tag::TRAD_SES_METHOD }
38215}
38216
38217impl FieldValueReader for TradSesMethodField {
38218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38219        self.0.read(raw)
38220    }
38221}
38222
38223impl FieldValueWriter for TradSesMethodField {
38224    fn write_to(&self, buf: &mut Vec<u8>) {
38225        self.0.write_to(buf);
38226    }
38227}
38228
38229impl FieldValue for TradSesMethodField {}
38230
38231
38232/// `TradSesModeField` is a `INT` field, Tag 339.
38233pub struct TradSesModeField(pub FIXInt);
38234
38235impl TradSesModeField {
38236
38237    pub fn new(val: isize) -> Self { Self(val) }
38238    pub fn value(&self) -> isize { self.0 }
38239
38240    pub fn tag() -> Tag { tag::TRAD_SES_MODE }
38241}
38242
38243impl FieldValueReader for TradSesModeField {
38244    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38245        self.0.read(raw)
38246    }
38247}
38248
38249impl FieldValueWriter for TradSesModeField {
38250    fn write_to(&self, buf: &mut Vec<u8>) {
38251        self.0.write_to(buf);
38252    }
38253}
38254
38255impl FieldValue for TradSesModeField {}
38256
38257
38258/// `TradSesOpenTimeField` is a `UTCTIMESTAMP` field, Tag 342.
38259pub struct TradSesOpenTimeField(pub FIXUTCTimestamp);
38260
38261impl TradSesOpenTimeField {
38262
38263    pub fn new(val: Timestamp) -> Self {
38264        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
38265    }
38266    pub fn value(&self) -> Timestamp { self.0.time }
38267
38268    pub fn tag() -> Tag { tag::TRAD_SES_OPEN_TIME }
38269}
38270
38271impl FieldValueReader for TradSesOpenTimeField {
38272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38273        self.0.read(raw)
38274    }
38275}
38276
38277impl FieldValueWriter for TradSesOpenTimeField {
38278    fn write_to(&self, buf: &mut Vec<u8>) {
38279        self.0.write_to(buf);
38280    }
38281}
38282
38283impl FieldValue for TradSesOpenTimeField {}
38284
38285
38286/// `TradSesPreCloseTimeField` is a `UTCTIMESTAMP` field, Tag 343.
38287pub struct TradSesPreCloseTimeField(pub FIXUTCTimestamp);
38288
38289impl TradSesPreCloseTimeField {
38290
38291    pub fn new(val: Timestamp) -> Self {
38292        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
38293    }
38294    pub fn value(&self) -> Timestamp { self.0.time }
38295
38296    pub fn tag() -> Tag { tag::TRAD_SES_PRE_CLOSE_TIME }
38297}
38298
38299impl FieldValueReader for TradSesPreCloseTimeField {
38300    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38301        self.0.read(raw)
38302    }
38303}
38304
38305impl FieldValueWriter for TradSesPreCloseTimeField {
38306    fn write_to(&self, buf: &mut Vec<u8>) {
38307        self.0.write_to(buf);
38308    }
38309}
38310
38311impl FieldValue for TradSesPreCloseTimeField {}
38312
38313
38314/// `TradSesReqIDField` is a `STRING` field, Tag 335.
38315pub struct TradSesReqIDField(pub FIXString);
38316
38317impl TradSesReqIDField {
38318
38319    pub fn new(val: String) -> Self { Self(val) }
38320    pub fn value(&self) -> &str { &self.0 }
38321
38322    pub fn tag() -> Tag { tag::TRAD_SES_REQ_ID }
38323}
38324
38325impl FieldValueReader for TradSesReqIDField {
38326    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38327        self.0.read(raw)
38328    }
38329}
38330
38331impl FieldValueWriter for TradSesReqIDField {
38332    fn write_to(&self, buf: &mut Vec<u8>) {
38333        self.0.write_to(buf);
38334    }
38335}
38336
38337impl FieldValue for TradSesReqIDField {}
38338
38339
38340/// `TradSesStartTimeField` is a `UTCTIMESTAMP` field, Tag 341.
38341pub struct TradSesStartTimeField(pub FIXUTCTimestamp);
38342
38343impl TradSesStartTimeField {
38344
38345    pub fn new(val: Timestamp) -> Self {
38346        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
38347    }
38348    pub fn value(&self) -> Timestamp { self.0.time }
38349
38350    pub fn tag() -> Tag { tag::TRAD_SES_START_TIME }
38351}
38352
38353impl FieldValueReader for TradSesStartTimeField {
38354    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38355        self.0.read(raw)
38356    }
38357}
38358
38359impl FieldValueWriter for TradSesStartTimeField {
38360    fn write_to(&self, buf: &mut Vec<u8>) {
38361        self.0.write_to(buf);
38362    }
38363}
38364
38365impl FieldValue for TradSesStartTimeField {}
38366
38367
38368/// `TradSesStatusField` is a `INT` field, Tag 340.
38369pub struct TradSesStatusField(pub FIXInt);
38370
38371impl TradSesStatusField {
38372
38373    pub fn new(val: isize) -> Self { Self(val) }
38374    pub fn value(&self) -> isize { self.0 }
38375
38376    pub fn tag() -> Tag { tag::TRAD_SES_STATUS }
38377}
38378
38379impl FieldValueReader for TradSesStatusField {
38380    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38381        self.0.read(raw)
38382    }
38383}
38384
38385impl FieldValueWriter for TradSesStatusField {
38386    fn write_to(&self, buf: &mut Vec<u8>) {
38387        self.0.write_to(buf);
38388    }
38389}
38390
38391impl FieldValue for TradSesStatusField {}
38392
38393
38394/// `TradSesStatusRejReasonField` is a `INT` field, Tag 567.
38395pub struct TradSesStatusRejReasonField(pub FIXInt);
38396
38397impl TradSesStatusRejReasonField {
38398
38399    pub fn new(val: isize) -> Self { Self(val) }
38400    pub fn value(&self) -> isize { self.0 }
38401
38402    pub fn tag() -> Tag { tag::TRAD_SES_STATUS_REJ_REASON }
38403}
38404
38405impl FieldValueReader for TradSesStatusRejReasonField {
38406    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38407        self.0.read(raw)
38408    }
38409}
38410
38411impl FieldValueWriter for TradSesStatusRejReasonField {
38412    fn write_to(&self, buf: &mut Vec<u8>) {
38413        self.0.write_to(buf);
38414    }
38415}
38416
38417impl FieldValue for TradSesStatusRejReasonField {}
38418
38419
38420/// `TradSesUpdateActionField` is a `CHAR` field, Tag 1327.
38421pub struct TradSesUpdateActionField(pub FIXString);
38422
38423impl TradSesUpdateActionField {
38424
38425    pub fn new(val: String) -> Self { Self(val) }
38426    pub fn value(&self) -> &str { &self.0 }
38427
38428    pub fn tag() -> Tag { tag::TRAD_SES_UPDATE_ACTION }
38429}
38430
38431impl FieldValueReader for TradSesUpdateActionField {
38432    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38433        self.0.read(raw)
38434    }
38435}
38436
38437impl FieldValueWriter for TradSesUpdateActionField {
38438    fn write_to(&self, buf: &mut Vec<u8>) {
38439        self.0.write_to(buf);
38440    }
38441}
38442
38443impl FieldValue for TradSesUpdateActionField {}
38444
38445
38446/// `TradeAllocIndicatorField` is a `INT` field, Tag 826.
38447pub struct TradeAllocIndicatorField(pub FIXInt);
38448
38449impl TradeAllocIndicatorField {
38450
38451    pub fn new(val: isize) -> Self { Self(val) }
38452    pub fn value(&self) -> isize { self.0 }
38453
38454    pub fn tag() -> Tag { tag::TRADE_ALLOC_INDICATOR }
38455}
38456
38457impl FieldValueReader for TradeAllocIndicatorField {
38458    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38459        self.0.read(raw)
38460    }
38461}
38462
38463impl FieldValueWriter for TradeAllocIndicatorField {
38464    fn write_to(&self, buf: &mut Vec<u8>) {
38465        self.0.write_to(buf);
38466    }
38467}
38468
38469impl FieldValue for TradeAllocIndicatorField {}
38470
38471
38472/// `TradeConditionField` is a `MULTIPLESTRINGVALUE` field, Tag 277.
38473pub struct TradeConditionField(pub FIXString);
38474
38475impl TradeConditionField {
38476
38477    pub fn new(val: String) -> Self { Self(val) }
38478    pub fn value(&self) -> &str { &self.0 }
38479
38480    pub fn tag() -> Tag { tag::TRADE_CONDITION }
38481}
38482
38483impl FieldValueReader for TradeConditionField {
38484    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38485        self.0.read(raw)
38486    }
38487}
38488
38489impl FieldValueWriter for TradeConditionField {
38490    fn write_to(&self, buf: &mut Vec<u8>) {
38491        self.0.write_to(buf);
38492    }
38493}
38494
38495impl FieldValue for TradeConditionField {}
38496
38497
38498/// `TradeDateField` is a `LOCALMKTDATE` field, Tag 75.
38499pub struct TradeDateField(pub FIXString);
38500
38501impl TradeDateField {
38502
38503    pub fn new(val: String) -> Self { Self(val) }
38504    pub fn value(&self) -> &str { &self.0 }
38505
38506    pub fn tag() -> Tag { tag::TRADE_DATE }
38507}
38508
38509impl FieldValueReader for TradeDateField {
38510    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38511        self.0.read(raw)
38512    }
38513}
38514
38515impl FieldValueWriter for TradeDateField {
38516    fn write_to(&self, buf: &mut Vec<u8>) {
38517        self.0.write_to(buf);
38518    }
38519}
38520
38521impl FieldValue for TradeDateField {}
38522
38523
38524/// `TradeHandlingInstrField` is a `CHAR` field, Tag 1123.
38525pub struct TradeHandlingInstrField(pub FIXString);
38526
38527impl TradeHandlingInstrField {
38528
38529    pub fn new(val: String) -> Self { Self(val) }
38530    pub fn value(&self) -> &str { &self.0 }
38531
38532    pub fn tag() -> Tag { tag::TRADE_HANDLING_INSTR }
38533}
38534
38535impl FieldValueReader for TradeHandlingInstrField {
38536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38537        self.0.read(raw)
38538    }
38539}
38540
38541impl FieldValueWriter for TradeHandlingInstrField {
38542    fn write_to(&self, buf: &mut Vec<u8>) {
38543        self.0.write_to(buf);
38544    }
38545}
38546
38547impl FieldValue for TradeHandlingInstrField {}
38548
38549
38550/// `TradeIDField` is a `STRING` field, Tag 1003.
38551pub struct TradeIDField(pub FIXString);
38552
38553impl TradeIDField {
38554
38555    pub fn new(val: String) -> Self { Self(val) }
38556    pub fn value(&self) -> &str { &self.0 }
38557
38558    pub fn tag() -> Tag { tag::TRADE_ID }
38559}
38560
38561impl FieldValueReader for TradeIDField {
38562    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38563        self.0.read(raw)
38564    }
38565}
38566
38567impl FieldValueWriter for TradeIDField {
38568    fn write_to(&self, buf: &mut Vec<u8>) {
38569        self.0.write_to(buf);
38570    }
38571}
38572
38573impl FieldValue for TradeIDField {}
38574
38575
38576/// `TradeInputDeviceField` is a `STRING` field, Tag 579.
38577pub struct TradeInputDeviceField(pub FIXString);
38578
38579impl TradeInputDeviceField {
38580
38581    pub fn new(val: String) -> Self { Self(val) }
38582    pub fn value(&self) -> &str { &self.0 }
38583
38584    pub fn tag() -> Tag { tag::TRADE_INPUT_DEVICE }
38585}
38586
38587impl FieldValueReader for TradeInputDeviceField {
38588    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38589        self.0.read(raw)
38590    }
38591}
38592
38593impl FieldValueWriter for TradeInputDeviceField {
38594    fn write_to(&self, buf: &mut Vec<u8>) {
38595        self.0.write_to(buf);
38596    }
38597}
38598
38599impl FieldValue for TradeInputDeviceField {}
38600
38601
38602/// `TradeInputSourceField` is a `STRING` field, Tag 578.
38603pub struct TradeInputSourceField(pub FIXString);
38604
38605impl TradeInputSourceField {
38606
38607    pub fn new(val: String) -> Self { Self(val) }
38608    pub fn value(&self) -> &str { &self.0 }
38609
38610    pub fn tag() -> Tag { tag::TRADE_INPUT_SOURCE }
38611}
38612
38613impl FieldValueReader for TradeInputSourceField {
38614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38615        self.0.read(raw)
38616    }
38617}
38618
38619impl FieldValueWriter for TradeInputSourceField {
38620    fn write_to(&self, buf: &mut Vec<u8>) {
38621        self.0.write_to(buf);
38622    }
38623}
38624
38625impl FieldValue for TradeInputSourceField {}
38626
38627
38628/// `TradeLegRefIDField` is a `STRING` field, Tag 824.
38629pub struct TradeLegRefIDField(pub FIXString);
38630
38631impl TradeLegRefIDField {
38632
38633    pub fn new(val: String) -> Self { Self(val) }
38634    pub fn value(&self) -> &str { &self.0 }
38635
38636    pub fn tag() -> Tag { tag::TRADE_LEG_REF_ID }
38637}
38638
38639impl FieldValueReader for TradeLegRefIDField {
38640    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38641        self.0.read(raw)
38642    }
38643}
38644
38645impl FieldValueWriter for TradeLegRefIDField {
38646    fn write_to(&self, buf: &mut Vec<u8>) {
38647        self.0.write_to(buf);
38648    }
38649}
38650
38651impl FieldValue for TradeLegRefIDField {}
38652
38653
38654/// `TradeLinkIDField` is a `STRING` field, Tag 820.
38655pub struct TradeLinkIDField(pub FIXString);
38656
38657impl TradeLinkIDField {
38658
38659    pub fn new(val: String) -> Self { Self(val) }
38660    pub fn value(&self) -> &str { &self.0 }
38661
38662    pub fn tag() -> Tag { tag::TRADE_LINK_ID }
38663}
38664
38665impl FieldValueReader for TradeLinkIDField {
38666    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38667        self.0.read(raw)
38668    }
38669}
38670
38671impl FieldValueWriter for TradeLinkIDField {
38672    fn write_to(&self, buf: &mut Vec<u8>) {
38673        self.0.write_to(buf);
38674    }
38675}
38676
38677impl FieldValue for TradeLinkIDField {}
38678
38679
38680/// `TradeOriginationDateField` is a `LOCALMKTDATE` field, Tag 229.
38681pub struct TradeOriginationDateField(pub FIXString);
38682
38683impl TradeOriginationDateField {
38684
38685    pub fn new(val: String) -> Self { Self(val) }
38686    pub fn value(&self) -> &str { &self.0 }
38687
38688    pub fn tag() -> Tag { tag::TRADE_ORIGINATION_DATE }
38689}
38690
38691impl FieldValueReader for TradeOriginationDateField {
38692    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38693        self.0.read(raw)
38694    }
38695}
38696
38697impl FieldValueWriter for TradeOriginationDateField {
38698    fn write_to(&self, buf: &mut Vec<u8>) {
38699        self.0.write_to(buf);
38700    }
38701}
38702
38703impl FieldValue for TradeOriginationDateField {}
38704
38705
38706/// `TradePublishIndicatorField` is a `INT` field, Tag 1390.
38707pub struct TradePublishIndicatorField(pub FIXInt);
38708
38709impl TradePublishIndicatorField {
38710
38711    pub fn new(val: isize) -> Self { Self(val) }
38712    pub fn value(&self) -> isize { self.0 }
38713
38714    pub fn tag() -> Tag { tag::TRADE_PUBLISH_INDICATOR }
38715}
38716
38717impl FieldValueReader for TradePublishIndicatorField {
38718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38719        self.0.read(raw)
38720    }
38721}
38722
38723impl FieldValueWriter for TradePublishIndicatorField {
38724    fn write_to(&self, buf: &mut Vec<u8>) {
38725        self.0.write_to(buf);
38726    }
38727}
38728
38729impl FieldValue for TradePublishIndicatorField {}
38730
38731
38732/// `TradeReportIDField` is a `STRING` field, Tag 571.
38733pub struct TradeReportIDField(pub FIXString);
38734
38735impl TradeReportIDField {
38736
38737    pub fn new(val: String) -> Self { Self(val) }
38738    pub fn value(&self) -> &str { &self.0 }
38739
38740    pub fn tag() -> Tag { tag::TRADE_REPORT_ID }
38741}
38742
38743impl FieldValueReader for TradeReportIDField {
38744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38745        self.0.read(raw)
38746    }
38747}
38748
38749impl FieldValueWriter for TradeReportIDField {
38750    fn write_to(&self, buf: &mut Vec<u8>) {
38751        self.0.write_to(buf);
38752    }
38753}
38754
38755impl FieldValue for TradeReportIDField {}
38756
38757
38758/// `TradeReportRefIDField` is a `STRING` field, Tag 572.
38759pub struct TradeReportRefIDField(pub FIXString);
38760
38761impl TradeReportRefIDField {
38762
38763    pub fn new(val: String) -> Self { Self(val) }
38764    pub fn value(&self) -> &str { &self.0 }
38765
38766    pub fn tag() -> Tag { tag::TRADE_REPORT_REF_ID }
38767}
38768
38769impl FieldValueReader for TradeReportRefIDField {
38770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38771        self.0.read(raw)
38772    }
38773}
38774
38775impl FieldValueWriter for TradeReportRefIDField {
38776    fn write_to(&self, buf: &mut Vec<u8>) {
38777        self.0.write_to(buf);
38778    }
38779}
38780
38781impl FieldValue for TradeReportRefIDField {}
38782
38783
38784/// `TradeReportRejectReasonField` is a `INT` field, Tag 751.
38785pub struct TradeReportRejectReasonField(pub FIXInt);
38786
38787impl TradeReportRejectReasonField {
38788
38789    pub fn new(val: isize) -> Self { Self(val) }
38790    pub fn value(&self) -> isize { self.0 }
38791
38792    pub fn tag() -> Tag { tag::TRADE_REPORT_REJECT_REASON }
38793}
38794
38795impl FieldValueReader for TradeReportRejectReasonField {
38796    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38797        self.0.read(raw)
38798    }
38799}
38800
38801impl FieldValueWriter for TradeReportRejectReasonField {
38802    fn write_to(&self, buf: &mut Vec<u8>) {
38803        self.0.write_to(buf);
38804    }
38805}
38806
38807impl FieldValue for TradeReportRejectReasonField {}
38808
38809
38810/// `TradeReportTransTypeField` is a `INT` field, Tag 487.
38811pub struct TradeReportTransTypeField(pub FIXInt);
38812
38813impl TradeReportTransTypeField {
38814
38815    pub fn new(val: isize) -> Self { Self(val) }
38816    pub fn value(&self) -> isize { self.0 }
38817
38818    pub fn tag() -> Tag { tag::TRADE_REPORT_TRANS_TYPE }
38819}
38820
38821impl FieldValueReader for TradeReportTransTypeField {
38822    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38823        self.0.read(raw)
38824    }
38825}
38826
38827impl FieldValueWriter for TradeReportTransTypeField {
38828    fn write_to(&self, buf: &mut Vec<u8>) {
38829        self.0.write_to(buf);
38830    }
38831}
38832
38833impl FieldValue for TradeReportTransTypeField {}
38834
38835
38836/// `TradeReportTypeField` is a `INT` field, Tag 856.
38837pub struct TradeReportTypeField(pub FIXInt);
38838
38839impl TradeReportTypeField {
38840
38841    pub fn new(val: isize) -> Self { Self(val) }
38842    pub fn value(&self) -> isize { self.0 }
38843
38844    pub fn tag() -> Tag { tag::TRADE_REPORT_TYPE }
38845}
38846
38847impl FieldValueReader for TradeReportTypeField {
38848    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38849        self.0.read(raw)
38850    }
38851}
38852
38853impl FieldValueWriter for TradeReportTypeField {
38854    fn write_to(&self, buf: &mut Vec<u8>) {
38855        self.0.write_to(buf);
38856    }
38857}
38858
38859impl FieldValue for TradeReportTypeField {}
38860
38861
38862/// `TradeRequestIDField` is a `STRING` field, Tag 568.
38863pub struct TradeRequestIDField(pub FIXString);
38864
38865impl TradeRequestIDField {
38866
38867    pub fn new(val: String) -> Self { Self(val) }
38868    pub fn value(&self) -> &str { &self.0 }
38869
38870    pub fn tag() -> Tag { tag::TRADE_REQUEST_ID }
38871}
38872
38873impl FieldValueReader for TradeRequestIDField {
38874    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38875        self.0.read(raw)
38876    }
38877}
38878
38879impl FieldValueWriter for TradeRequestIDField {
38880    fn write_to(&self, buf: &mut Vec<u8>) {
38881        self.0.write_to(buf);
38882    }
38883}
38884
38885impl FieldValue for TradeRequestIDField {}
38886
38887
38888/// `TradeRequestResultField` is a `INT` field, Tag 749.
38889pub struct TradeRequestResultField(pub FIXInt);
38890
38891impl TradeRequestResultField {
38892
38893    pub fn new(val: isize) -> Self { Self(val) }
38894    pub fn value(&self) -> isize { self.0 }
38895
38896    pub fn tag() -> Tag { tag::TRADE_REQUEST_RESULT }
38897}
38898
38899impl FieldValueReader for TradeRequestResultField {
38900    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38901        self.0.read(raw)
38902    }
38903}
38904
38905impl FieldValueWriter for TradeRequestResultField {
38906    fn write_to(&self, buf: &mut Vec<u8>) {
38907        self.0.write_to(buf);
38908    }
38909}
38910
38911impl FieldValue for TradeRequestResultField {}
38912
38913
38914/// `TradeRequestStatusField` is a `INT` field, Tag 750.
38915pub struct TradeRequestStatusField(pub FIXInt);
38916
38917impl TradeRequestStatusField {
38918
38919    pub fn new(val: isize) -> Self { Self(val) }
38920    pub fn value(&self) -> isize { self.0 }
38921
38922    pub fn tag() -> Tag { tag::TRADE_REQUEST_STATUS }
38923}
38924
38925impl FieldValueReader for TradeRequestStatusField {
38926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38927        self.0.read(raw)
38928    }
38929}
38930
38931impl FieldValueWriter for TradeRequestStatusField {
38932    fn write_to(&self, buf: &mut Vec<u8>) {
38933        self.0.write_to(buf);
38934    }
38935}
38936
38937impl FieldValue for TradeRequestStatusField {}
38938
38939
38940/// `TradeRequestTypeField` is a `INT` field, Tag 569.
38941pub struct TradeRequestTypeField(pub FIXInt);
38942
38943impl TradeRequestTypeField {
38944
38945    pub fn new(val: isize) -> Self { Self(val) }
38946    pub fn value(&self) -> isize { self.0 }
38947
38948    pub fn tag() -> Tag { tag::TRADE_REQUEST_TYPE }
38949}
38950
38951impl FieldValueReader for TradeRequestTypeField {
38952    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38953        self.0.read(raw)
38954    }
38955}
38956
38957impl FieldValueWriter for TradeRequestTypeField {
38958    fn write_to(&self, buf: &mut Vec<u8>) {
38959        self.0.write_to(buf);
38960    }
38961}
38962
38963impl FieldValue for TradeRequestTypeField {}
38964
38965
38966/// `TradeTypeField` is a `CHAR` field, Tag 418.
38967pub struct TradeTypeField(pub FIXString);
38968
38969impl TradeTypeField {
38970
38971    pub fn new(val: String) -> Self { Self(val) }
38972    pub fn value(&self) -> &str { &self.0 }
38973
38974    pub fn tag() -> Tag { tag::TRADE_TYPE }
38975}
38976
38977impl FieldValueReader for TradeTypeField {
38978    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
38979        self.0.read(raw)
38980    }
38981}
38982
38983impl FieldValueWriter for TradeTypeField {
38984    fn write_to(&self, buf: &mut Vec<u8>) {
38985        self.0.write_to(buf);
38986    }
38987}
38988
38989impl FieldValue for TradeTypeField {}
38990
38991
38992/// `TradeVolumeField` is a `QTY` field, Tag 1020.
38993pub struct TradeVolumeField(pub FIXDecimal);
38994
38995impl TradeVolumeField {
38996
38997    pub fn new(val: Decimal, scale: i32) -> Self {
38998        Self(FIXDecimal { decimal: val, scale })
38999    }
39000    pub fn value(&self) -> Decimal { self.0.decimal }
39001
39002    pub fn tag() -> Tag { tag::TRADE_VOLUME }
39003}
39004
39005impl FieldValueReader for TradeVolumeField {
39006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39007        self.0.read(raw)
39008    }
39009}
39010
39011impl FieldValueWriter for TradeVolumeField {
39012    fn write_to(&self, buf: &mut Vec<u8>) {
39013        self.0.write_to(buf);
39014    }
39015}
39016
39017impl FieldValue for TradeVolumeField {}
39018
39019
39020/// `TradedFlatSwitchField` is a `BOOLEAN` field, Tag 258.
39021pub struct TradedFlatSwitchField(pub FIXBoolean);
39022
39023impl TradedFlatSwitchField {
39024
39025    pub fn new(val: bool) -> Self { Self(val) }
39026    pub fn value(&self) -> bool { self.0 }
39027
39028    pub fn tag() -> Tag { tag::TRADED_FLAT_SWITCH }
39029}
39030
39031impl FieldValueReader for TradedFlatSwitchField {
39032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39033        self.0.read(raw)
39034    }
39035}
39036
39037impl FieldValueWriter for TradedFlatSwitchField {
39038    fn write_to(&self, buf: &mut Vec<u8>) {
39039        self.0.write_to(buf);
39040    }
39041}
39042
39043impl FieldValue for TradedFlatSwitchField {}
39044
39045
39046/// `TradingCurrencyField` is a `CURRENCY` field, Tag 1245.
39047pub struct TradingCurrencyField(pub FIXString);
39048
39049impl TradingCurrencyField {
39050
39051    pub fn new(val: String) -> Self { Self(val) }
39052    pub fn value(&self) -> &str { &self.0 }
39053
39054    pub fn tag() -> Tag { tag::TRADING_CURRENCY }
39055}
39056
39057impl FieldValueReader for TradingCurrencyField {
39058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39059        self.0.read(raw)
39060    }
39061}
39062
39063impl FieldValueWriter for TradingCurrencyField {
39064    fn write_to(&self, buf: &mut Vec<u8>) {
39065        self.0.write_to(buf);
39066    }
39067}
39068
39069impl FieldValue for TradingCurrencyField {}
39070
39071
39072/// `TradingReferencePriceField` is a `PRICE` field, Tag 1150.
39073pub struct TradingReferencePriceField(pub FIXDecimal);
39074
39075impl TradingReferencePriceField {
39076
39077    pub fn new(val: Decimal, scale: i32) -> Self {
39078        Self(FIXDecimal { decimal: val, scale })
39079    }
39080    pub fn value(&self) -> Decimal { self.0.decimal }
39081
39082    pub fn tag() -> Tag { tag::TRADING_REFERENCE_PRICE }
39083}
39084
39085impl FieldValueReader for TradingReferencePriceField {
39086    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39087        self.0.read(raw)
39088    }
39089}
39090
39091impl FieldValueWriter for TradingReferencePriceField {
39092    fn write_to(&self, buf: &mut Vec<u8>) {
39093        self.0.write_to(buf);
39094    }
39095}
39096
39097impl FieldValue for TradingReferencePriceField {}
39098
39099
39100/// `TradingSessionDescField` is a `STRING` field, Tag 1326.
39101pub struct TradingSessionDescField(pub FIXString);
39102
39103impl TradingSessionDescField {
39104
39105    pub fn new(val: String) -> Self { Self(val) }
39106    pub fn value(&self) -> &str { &self.0 }
39107
39108    pub fn tag() -> Tag { tag::TRADING_SESSION_DESC }
39109}
39110
39111impl FieldValueReader for TradingSessionDescField {
39112    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39113        self.0.read(raw)
39114    }
39115}
39116
39117impl FieldValueWriter for TradingSessionDescField {
39118    fn write_to(&self, buf: &mut Vec<u8>) {
39119        self.0.write_to(buf);
39120    }
39121}
39122
39123impl FieldValue for TradingSessionDescField {}
39124
39125
39126/// `TradingSessionIDField` is a `STRING` field, Tag 336.
39127pub struct TradingSessionIDField(pub FIXString);
39128
39129impl TradingSessionIDField {
39130
39131    pub fn new(val: String) -> Self { Self(val) }
39132    pub fn value(&self) -> &str { &self.0 }
39133
39134    pub fn tag() -> Tag { tag::TRADING_SESSION_ID }
39135}
39136
39137impl FieldValueReader for TradingSessionIDField {
39138    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39139        self.0.read(raw)
39140    }
39141}
39142
39143impl FieldValueWriter for TradingSessionIDField {
39144    fn write_to(&self, buf: &mut Vec<u8>) {
39145        self.0.write_to(buf);
39146    }
39147}
39148
39149impl FieldValue for TradingSessionIDField {}
39150
39151
39152/// `TradingSessionSubIDField` is a `STRING` field, Tag 625.
39153pub struct TradingSessionSubIDField(pub FIXString);
39154
39155impl TradingSessionSubIDField {
39156
39157    pub fn new(val: String) -> Self { Self(val) }
39158    pub fn value(&self) -> &str { &self.0 }
39159
39160    pub fn tag() -> Tag { tag::TRADING_SESSION_SUB_ID }
39161}
39162
39163impl FieldValueReader for TradingSessionSubIDField {
39164    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39165        self.0.read(raw)
39166    }
39167}
39168
39169impl FieldValueWriter for TradingSessionSubIDField {
39170    fn write_to(&self, buf: &mut Vec<u8>) {
39171        self.0.write_to(buf);
39172    }
39173}
39174
39175impl FieldValue for TradingSessionSubIDField {}
39176
39177
39178/// `TransBkdTimeField` is a `UTCTIMESTAMP` field, Tag 483.
39179pub struct TransBkdTimeField(pub FIXUTCTimestamp);
39180
39181impl TransBkdTimeField {
39182
39183    pub fn new(val: Timestamp) -> Self {
39184        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
39185    }
39186    pub fn value(&self) -> Timestamp { self.0.time }
39187
39188    pub fn tag() -> Tag { tag::TRANS_BKD_TIME }
39189}
39190
39191impl FieldValueReader for TransBkdTimeField {
39192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39193        self.0.read(raw)
39194    }
39195}
39196
39197impl FieldValueWriter for TransBkdTimeField {
39198    fn write_to(&self, buf: &mut Vec<u8>) {
39199        self.0.write_to(buf);
39200    }
39201}
39202
39203impl FieldValue for TransBkdTimeField {}
39204
39205
39206/// `TransactTimeField` is a `UTCTIMESTAMP` field, Tag 60.
39207pub struct TransactTimeField(pub FIXUTCTimestamp);
39208
39209impl TransactTimeField {
39210
39211    pub fn new(val: Timestamp) -> Self {
39212        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
39213    }
39214    pub fn value(&self) -> Timestamp { self.0.time }
39215
39216    pub fn tag() -> Tag { tag::TRANSACT_TIME }
39217}
39218
39219impl FieldValueReader for TransactTimeField {
39220    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39221        self.0.read(raw)
39222    }
39223}
39224
39225impl FieldValueWriter for TransactTimeField {
39226    fn write_to(&self, buf: &mut Vec<u8>) {
39227        self.0.write_to(buf);
39228    }
39229}
39230
39231impl FieldValue for TransactTimeField {}
39232
39233
39234/// `TransferReasonField` is a `STRING` field, Tag 830.
39235pub struct TransferReasonField(pub FIXString);
39236
39237impl TransferReasonField {
39238
39239    pub fn new(val: String) -> Self { Self(val) }
39240    pub fn value(&self) -> &str { &self.0 }
39241
39242    pub fn tag() -> Tag { tag::TRANSFER_REASON }
39243}
39244
39245impl FieldValueReader for TransferReasonField {
39246    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39247        self.0.read(raw)
39248    }
39249}
39250
39251impl FieldValueWriter for TransferReasonField {
39252    fn write_to(&self, buf: &mut Vec<u8>) {
39253        self.0.write_to(buf);
39254    }
39255}
39256
39257impl FieldValue for TransferReasonField {}
39258
39259
39260/// `TrdMatchIDField` is a `STRING` field, Tag 880.
39261pub struct TrdMatchIDField(pub FIXString);
39262
39263impl TrdMatchIDField {
39264
39265    pub fn new(val: String) -> Self { Self(val) }
39266    pub fn value(&self) -> &str { &self.0 }
39267
39268    pub fn tag() -> Tag { tag::TRD_MATCH_ID }
39269}
39270
39271impl FieldValueReader for TrdMatchIDField {
39272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39273        self.0.read(raw)
39274    }
39275}
39276
39277impl FieldValueWriter for TrdMatchIDField {
39278    fn write_to(&self, buf: &mut Vec<u8>) {
39279        self.0.write_to(buf);
39280    }
39281}
39282
39283impl FieldValue for TrdMatchIDField {}
39284
39285
39286/// `TrdRegTimestampField` is a `UTCTIMESTAMP` field, Tag 769.
39287pub struct TrdRegTimestampField(pub FIXUTCTimestamp);
39288
39289impl TrdRegTimestampField {
39290
39291    pub fn new(val: Timestamp) -> Self {
39292        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
39293    }
39294    pub fn value(&self) -> Timestamp { self.0.time }
39295
39296    pub fn tag() -> Tag { tag::TRD_REG_TIMESTAMP }
39297}
39298
39299impl FieldValueReader for TrdRegTimestampField {
39300    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39301        self.0.read(raw)
39302    }
39303}
39304
39305impl FieldValueWriter for TrdRegTimestampField {
39306    fn write_to(&self, buf: &mut Vec<u8>) {
39307        self.0.write_to(buf);
39308    }
39309}
39310
39311impl FieldValue for TrdRegTimestampField {}
39312
39313
39314/// `TrdRegTimestampOriginField` is a `STRING` field, Tag 771.
39315pub struct TrdRegTimestampOriginField(pub FIXString);
39316
39317impl TrdRegTimestampOriginField {
39318
39319    pub fn new(val: String) -> Self { Self(val) }
39320    pub fn value(&self) -> &str { &self.0 }
39321
39322    pub fn tag() -> Tag { tag::TRD_REG_TIMESTAMP_ORIGIN }
39323}
39324
39325impl FieldValueReader for TrdRegTimestampOriginField {
39326    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39327        self.0.read(raw)
39328    }
39329}
39330
39331impl FieldValueWriter for TrdRegTimestampOriginField {
39332    fn write_to(&self, buf: &mut Vec<u8>) {
39333        self.0.write_to(buf);
39334    }
39335}
39336
39337impl FieldValue for TrdRegTimestampOriginField {}
39338
39339
39340/// `TrdRegTimestampTypeField` is a `INT` field, Tag 770.
39341pub struct TrdRegTimestampTypeField(pub FIXInt);
39342
39343impl TrdRegTimestampTypeField {
39344
39345    pub fn new(val: isize) -> Self { Self(val) }
39346    pub fn value(&self) -> isize { self.0 }
39347
39348    pub fn tag() -> Tag { tag::TRD_REG_TIMESTAMP_TYPE }
39349}
39350
39351impl FieldValueReader for TrdRegTimestampTypeField {
39352    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39353        self.0.read(raw)
39354    }
39355}
39356
39357impl FieldValueWriter for TrdRegTimestampTypeField {
39358    fn write_to(&self, buf: &mut Vec<u8>) {
39359        self.0.write_to(buf);
39360    }
39361}
39362
39363impl FieldValue for TrdRegTimestampTypeField {}
39364
39365
39366/// `TrdRepIndicatorField` is a `BOOLEAN` field, Tag 1389.
39367pub struct TrdRepIndicatorField(pub FIXBoolean);
39368
39369impl TrdRepIndicatorField {
39370
39371    pub fn new(val: bool) -> Self { Self(val) }
39372    pub fn value(&self) -> bool { self.0 }
39373
39374    pub fn tag() -> Tag { tag::TRD_REP_INDICATOR }
39375}
39376
39377impl FieldValueReader for TrdRepIndicatorField {
39378    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39379        self.0.read(raw)
39380    }
39381}
39382
39383impl FieldValueWriter for TrdRepIndicatorField {
39384    fn write_to(&self, buf: &mut Vec<u8>) {
39385        self.0.write_to(buf);
39386    }
39387}
39388
39389impl FieldValue for TrdRepIndicatorField {}
39390
39391
39392/// `TrdRepPartyRoleField` is a `INT` field, Tag 1388.
39393pub struct TrdRepPartyRoleField(pub FIXInt);
39394
39395impl TrdRepPartyRoleField {
39396
39397    pub fn new(val: isize) -> Self { Self(val) }
39398    pub fn value(&self) -> isize { self.0 }
39399
39400    pub fn tag() -> Tag { tag::TRD_REP_PARTY_ROLE }
39401}
39402
39403impl FieldValueReader for TrdRepPartyRoleField {
39404    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39405        self.0.read(raw)
39406    }
39407}
39408
39409impl FieldValueWriter for TrdRepPartyRoleField {
39410    fn write_to(&self, buf: &mut Vec<u8>) {
39411        self.0.write_to(buf);
39412    }
39413}
39414
39415impl FieldValue for TrdRepPartyRoleField {}
39416
39417
39418/// `TrdRptStatusField` is a `INT` field, Tag 939.
39419pub struct TrdRptStatusField(pub FIXInt);
39420
39421impl TrdRptStatusField {
39422
39423    pub fn new(val: isize) -> Self { Self(val) }
39424    pub fn value(&self) -> isize { self.0 }
39425
39426    pub fn tag() -> Tag { tag::TRD_RPT_STATUS }
39427}
39428
39429impl FieldValueReader for TrdRptStatusField {
39430    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39431        self.0.read(raw)
39432    }
39433}
39434
39435impl FieldValueWriter for TrdRptStatusField {
39436    fn write_to(&self, buf: &mut Vec<u8>) {
39437        self.0.write_to(buf);
39438    }
39439}
39440
39441impl FieldValue for TrdRptStatusField {}
39442
39443
39444/// `TrdSubTypeField` is a `INT` field, Tag 829.
39445pub struct TrdSubTypeField(pub FIXInt);
39446
39447impl TrdSubTypeField {
39448
39449    pub fn new(val: isize) -> Self { Self(val) }
39450    pub fn value(&self) -> isize { self.0 }
39451
39452    pub fn tag() -> Tag { tag::TRD_SUB_TYPE }
39453}
39454
39455impl FieldValueReader for TrdSubTypeField {
39456    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39457        self.0.read(raw)
39458    }
39459}
39460
39461impl FieldValueWriter for TrdSubTypeField {
39462    fn write_to(&self, buf: &mut Vec<u8>) {
39463        self.0.write_to(buf);
39464    }
39465}
39466
39467impl FieldValue for TrdSubTypeField {}
39468
39469
39470/// `TrdTypeField` is a `INT` field, Tag 828.
39471pub struct TrdTypeField(pub FIXInt);
39472
39473impl TrdTypeField {
39474
39475    pub fn new(val: isize) -> Self { Self(val) }
39476    pub fn value(&self) -> isize { self.0 }
39477
39478    pub fn tag() -> Tag { tag::TRD_TYPE }
39479}
39480
39481impl FieldValueReader for TrdTypeField {
39482    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39483        self.0.read(raw)
39484    }
39485}
39486
39487impl FieldValueWriter for TrdTypeField {
39488    fn write_to(&self, buf: &mut Vec<u8>) {
39489        self.0.write_to(buf);
39490    }
39491}
39492
39493impl FieldValue for TrdTypeField {}
39494
39495
39496/// `TriggerActionField` is a `CHAR` field, Tag 1101.
39497pub struct TriggerActionField(pub FIXString);
39498
39499impl TriggerActionField {
39500
39501    pub fn new(val: String) -> Self { Self(val) }
39502    pub fn value(&self) -> &str { &self.0 }
39503
39504    pub fn tag() -> Tag { tag::TRIGGER_ACTION }
39505}
39506
39507impl FieldValueReader for TriggerActionField {
39508    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39509        self.0.read(raw)
39510    }
39511}
39512
39513impl FieldValueWriter for TriggerActionField {
39514    fn write_to(&self, buf: &mut Vec<u8>) {
39515        self.0.write_to(buf);
39516    }
39517}
39518
39519impl FieldValue for TriggerActionField {}
39520
39521
39522/// `TriggerNewPriceField` is a `PRICE` field, Tag 1110.
39523pub struct TriggerNewPriceField(pub FIXDecimal);
39524
39525impl TriggerNewPriceField {
39526
39527    pub fn new(val: Decimal, scale: i32) -> Self {
39528        Self(FIXDecimal { decimal: val, scale })
39529    }
39530    pub fn value(&self) -> Decimal { self.0.decimal }
39531
39532    pub fn tag() -> Tag { tag::TRIGGER_NEW_PRICE }
39533}
39534
39535impl FieldValueReader for TriggerNewPriceField {
39536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39537        self.0.read(raw)
39538    }
39539}
39540
39541impl FieldValueWriter for TriggerNewPriceField {
39542    fn write_to(&self, buf: &mut Vec<u8>) {
39543        self.0.write_to(buf);
39544    }
39545}
39546
39547impl FieldValue for TriggerNewPriceField {}
39548
39549
39550/// `TriggerNewQtyField` is a `QTY` field, Tag 1112.
39551pub struct TriggerNewQtyField(pub FIXDecimal);
39552
39553impl TriggerNewQtyField {
39554
39555    pub fn new(val: Decimal, scale: i32) -> Self {
39556        Self(FIXDecimal { decimal: val, scale })
39557    }
39558    pub fn value(&self) -> Decimal { self.0.decimal }
39559
39560    pub fn tag() -> Tag { tag::TRIGGER_NEW_QTY }
39561}
39562
39563impl FieldValueReader for TriggerNewQtyField {
39564    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39565        self.0.read(raw)
39566    }
39567}
39568
39569impl FieldValueWriter for TriggerNewQtyField {
39570    fn write_to(&self, buf: &mut Vec<u8>) {
39571        self.0.write_to(buf);
39572    }
39573}
39574
39575impl FieldValue for TriggerNewQtyField {}
39576
39577
39578/// `TriggerOrderTypeField` is a `CHAR` field, Tag 1111.
39579pub struct TriggerOrderTypeField(pub FIXString);
39580
39581impl TriggerOrderTypeField {
39582
39583    pub fn new(val: String) -> Self { Self(val) }
39584    pub fn value(&self) -> &str { &self.0 }
39585
39586    pub fn tag() -> Tag { tag::TRIGGER_ORDER_TYPE }
39587}
39588
39589impl FieldValueReader for TriggerOrderTypeField {
39590    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39591        self.0.read(raw)
39592    }
39593}
39594
39595impl FieldValueWriter for TriggerOrderTypeField {
39596    fn write_to(&self, buf: &mut Vec<u8>) {
39597        self.0.write_to(buf);
39598    }
39599}
39600
39601impl FieldValue for TriggerOrderTypeField {}
39602
39603
39604/// `TriggerPriceField` is a `PRICE` field, Tag 1102.
39605pub struct TriggerPriceField(pub FIXDecimal);
39606
39607impl TriggerPriceField {
39608
39609    pub fn new(val: Decimal, scale: i32) -> Self {
39610        Self(FIXDecimal { decimal: val, scale })
39611    }
39612    pub fn value(&self) -> Decimal { self.0.decimal }
39613
39614    pub fn tag() -> Tag { tag::TRIGGER_PRICE }
39615}
39616
39617impl FieldValueReader for TriggerPriceField {
39618    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39619        self.0.read(raw)
39620    }
39621}
39622
39623impl FieldValueWriter for TriggerPriceField {
39624    fn write_to(&self, buf: &mut Vec<u8>) {
39625        self.0.write_to(buf);
39626    }
39627}
39628
39629impl FieldValue for TriggerPriceField {}
39630
39631
39632/// `TriggerPriceDirectionField` is a `CHAR` field, Tag 1109.
39633pub struct TriggerPriceDirectionField(pub FIXString);
39634
39635impl TriggerPriceDirectionField {
39636
39637    pub fn new(val: String) -> Self { Self(val) }
39638    pub fn value(&self) -> &str { &self.0 }
39639
39640    pub fn tag() -> Tag { tag::TRIGGER_PRICE_DIRECTION }
39641}
39642
39643impl FieldValueReader for TriggerPriceDirectionField {
39644    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39645        self.0.read(raw)
39646    }
39647}
39648
39649impl FieldValueWriter for TriggerPriceDirectionField {
39650    fn write_to(&self, buf: &mut Vec<u8>) {
39651        self.0.write_to(buf);
39652    }
39653}
39654
39655impl FieldValue for TriggerPriceDirectionField {}
39656
39657
39658/// `TriggerPriceTypeField` is a `CHAR` field, Tag 1107.
39659pub struct TriggerPriceTypeField(pub FIXString);
39660
39661impl TriggerPriceTypeField {
39662
39663    pub fn new(val: String) -> Self { Self(val) }
39664    pub fn value(&self) -> &str { &self.0 }
39665
39666    pub fn tag() -> Tag { tag::TRIGGER_PRICE_TYPE }
39667}
39668
39669impl FieldValueReader for TriggerPriceTypeField {
39670    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39671        self.0.read(raw)
39672    }
39673}
39674
39675impl FieldValueWriter for TriggerPriceTypeField {
39676    fn write_to(&self, buf: &mut Vec<u8>) {
39677        self.0.write_to(buf);
39678    }
39679}
39680
39681impl FieldValue for TriggerPriceTypeField {}
39682
39683
39684/// `TriggerPriceTypeScopeField` is a `CHAR` field, Tag 1108.
39685pub struct TriggerPriceTypeScopeField(pub FIXString);
39686
39687impl TriggerPriceTypeScopeField {
39688
39689    pub fn new(val: String) -> Self { Self(val) }
39690    pub fn value(&self) -> &str { &self.0 }
39691
39692    pub fn tag() -> Tag { tag::TRIGGER_PRICE_TYPE_SCOPE }
39693}
39694
39695impl FieldValueReader for TriggerPriceTypeScopeField {
39696    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39697        self.0.read(raw)
39698    }
39699}
39700
39701impl FieldValueWriter for TriggerPriceTypeScopeField {
39702    fn write_to(&self, buf: &mut Vec<u8>) {
39703        self.0.write_to(buf);
39704    }
39705}
39706
39707impl FieldValue for TriggerPriceTypeScopeField {}
39708
39709
39710/// `TriggerSecurityDescField` is a `STRING` field, Tag 1106.
39711pub struct TriggerSecurityDescField(pub FIXString);
39712
39713impl TriggerSecurityDescField {
39714
39715    pub fn new(val: String) -> Self { Self(val) }
39716    pub fn value(&self) -> &str { &self.0 }
39717
39718    pub fn tag() -> Tag { tag::TRIGGER_SECURITY_DESC }
39719}
39720
39721impl FieldValueReader for TriggerSecurityDescField {
39722    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39723        self.0.read(raw)
39724    }
39725}
39726
39727impl FieldValueWriter for TriggerSecurityDescField {
39728    fn write_to(&self, buf: &mut Vec<u8>) {
39729        self.0.write_to(buf);
39730    }
39731}
39732
39733impl FieldValue for TriggerSecurityDescField {}
39734
39735
39736/// `TriggerSecurityIDField` is a `STRING` field, Tag 1104.
39737pub struct TriggerSecurityIDField(pub FIXString);
39738
39739impl TriggerSecurityIDField {
39740
39741    pub fn new(val: String) -> Self { Self(val) }
39742    pub fn value(&self) -> &str { &self.0 }
39743
39744    pub fn tag() -> Tag { tag::TRIGGER_SECURITY_ID }
39745}
39746
39747impl FieldValueReader for TriggerSecurityIDField {
39748    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39749        self.0.read(raw)
39750    }
39751}
39752
39753impl FieldValueWriter for TriggerSecurityIDField {
39754    fn write_to(&self, buf: &mut Vec<u8>) {
39755        self.0.write_to(buf);
39756    }
39757}
39758
39759impl FieldValue for TriggerSecurityIDField {}
39760
39761
39762/// `TriggerSecurityIDSourceField` is a `STRING` field, Tag 1105.
39763pub struct TriggerSecurityIDSourceField(pub FIXString);
39764
39765impl TriggerSecurityIDSourceField {
39766
39767    pub fn new(val: String) -> Self { Self(val) }
39768    pub fn value(&self) -> &str { &self.0 }
39769
39770    pub fn tag() -> Tag { tag::TRIGGER_SECURITY_ID_SOURCE }
39771}
39772
39773impl FieldValueReader for TriggerSecurityIDSourceField {
39774    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39775        self.0.read(raw)
39776    }
39777}
39778
39779impl FieldValueWriter for TriggerSecurityIDSourceField {
39780    fn write_to(&self, buf: &mut Vec<u8>) {
39781        self.0.write_to(buf);
39782    }
39783}
39784
39785impl FieldValue for TriggerSecurityIDSourceField {}
39786
39787
39788/// `TriggerSymbolField` is a `STRING` field, Tag 1103.
39789pub struct TriggerSymbolField(pub FIXString);
39790
39791impl TriggerSymbolField {
39792
39793    pub fn new(val: String) -> Self { Self(val) }
39794    pub fn value(&self) -> &str { &self.0 }
39795
39796    pub fn tag() -> Tag { tag::TRIGGER_SYMBOL }
39797}
39798
39799impl FieldValueReader for TriggerSymbolField {
39800    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39801        self.0.read(raw)
39802    }
39803}
39804
39805impl FieldValueWriter for TriggerSymbolField {
39806    fn write_to(&self, buf: &mut Vec<u8>) {
39807        self.0.write_to(buf);
39808    }
39809}
39810
39811impl FieldValue for TriggerSymbolField {}
39812
39813
39814/// `TriggerTradingSessionIDField` is a `STRING` field, Tag 1113.
39815pub struct TriggerTradingSessionIDField(pub FIXString);
39816
39817impl TriggerTradingSessionIDField {
39818
39819    pub fn new(val: String) -> Self { Self(val) }
39820    pub fn value(&self) -> &str { &self.0 }
39821
39822    pub fn tag() -> Tag { tag::TRIGGER_TRADING_SESSION_ID }
39823}
39824
39825impl FieldValueReader for TriggerTradingSessionIDField {
39826    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39827        self.0.read(raw)
39828    }
39829}
39830
39831impl FieldValueWriter for TriggerTradingSessionIDField {
39832    fn write_to(&self, buf: &mut Vec<u8>) {
39833        self.0.write_to(buf);
39834    }
39835}
39836
39837impl FieldValue for TriggerTradingSessionIDField {}
39838
39839
39840/// `TriggerTradingSessionSubIDField` is a `STRING` field, Tag 1114.
39841pub struct TriggerTradingSessionSubIDField(pub FIXString);
39842
39843impl TriggerTradingSessionSubIDField {
39844
39845    pub fn new(val: String) -> Self { Self(val) }
39846    pub fn value(&self) -> &str { &self.0 }
39847
39848    pub fn tag() -> Tag { tag::TRIGGER_TRADING_SESSION_SUB_ID }
39849}
39850
39851impl FieldValueReader for TriggerTradingSessionSubIDField {
39852    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39853        self.0.read(raw)
39854    }
39855}
39856
39857impl FieldValueWriter for TriggerTradingSessionSubIDField {
39858    fn write_to(&self, buf: &mut Vec<u8>) {
39859        self.0.write_to(buf);
39860    }
39861}
39862
39863impl FieldValue for TriggerTradingSessionSubIDField {}
39864
39865
39866/// `TriggerTypeField` is a `CHAR` field, Tag 1100.
39867pub struct TriggerTypeField(pub FIXString);
39868
39869impl TriggerTypeField {
39870
39871    pub fn new(val: String) -> Self { Self(val) }
39872    pub fn value(&self) -> &str { &self.0 }
39873
39874    pub fn tag() -> Tag { tag::TRIGGER_TYPE }
39875}
39876
39877impl FieldValueReader for TriggerTypeField {
39878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39879        self.0.read(raw)
39880    }
39881}
39882
39883impl FieldValueWriter for TriggerTypeField {
39884    fn write_to(&self, buf: &mut Vec<u8>) {
39885        self.0.write_to(buf);
39886    }
39887}
39888
39889impl FieldValue for TriggerTypeField {}
39890
39891
39892/// `URLLinkField` is a `STRING` field, Tag 149.
39893pub struct URLLinkField(pub FIXString);
39894
39895impl URLLinkField {
39896
39897    pub fn new(val: String) -> Self { Self(val) }
39898    pub fn value(&self) -> &str { &self.0 }
39899
39900    pub fn tag() -> Tag { tag::URL_LINK }
39901}
39902
39903impl FieldValueReader for URLLinkField {
39904    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39905        self.0.read(raw)
39906    }
39907}
39908
39909impl FieldValueWriter for URLLinkField {
39910    fn write_to(&self, buf: &mut Vec<u8>) {
39911        self.0.write_to(buf);
39912    }
39913}
39914
39915impl FieldValue for URLLinkField {}
39916
39917
39918/// `UnderlyingAdjustedQuantityField` is a `QTY` field, Tag 1044.
39919pub struct UnderlyingAdjustedQuantityField(pub FIXDecimal);
39920
39921impl UnderlyingAdjustedQuantityField {
39922
39923    pub fn new(val: Decimal, scale: i32) -> Self {
39924        Self(FIXDecimal { decimal: val, scale })
39925    }
39926    pub fn value(&self) -> Decimal { self.0.decimal }
39927
39928    pub fn tag() -> Tag { tag::UNDERLYING_ADJUSTED_QUANTITY }
39929}
39930
39931impl FieldValueReader for UnderlyingAdjustedQuantityField {
39932    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39933        self.0.read(raw)
39934    }
39935}
39936
39937impl FieldValueWriter for UnderlyingAdjustedQuantityField {
39938    fn write_to(&self, buf: &mut Vec<u8>) {
39939        self.0.write_to(buf);
39940    }
39941}
39942
39943impl FieldValue for UnderlyingAdjustedQuantityField {}
39944
39945
39946/// `UnderlyingAllocationPercentField` is a `PERCENTAGE` field, Tag 972.
39947pub struct UnderlyingAllocationPercentField(pub FIXDecimal);
39948
39949impl UnderlyingAllocationPercentField {
39950
39951    pub fn new(val: Decimal, scale: i32) -> Self {
39952        Self(FIXDecimal { decimal: val, scale })
39953    }
39954    pub fn value(&self) -> Decimal { self.0.decimal }
39955
39956    pub fn tag() -> Tag { tag::UNDERLYING_ALLOCATION_PERCENT }
39957}
39958
39959impl FieldValueReader for UnderlyingAllocationPercentField {
39960    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39961        self.0.read(raw)
39962    }
39963}
39964
39965impl FieldValueWriter for UnderlyingAllocationPercentField {
39966    fn write_to(&self, buf: &mut Vec<u8>) {
39967        self.0.write_to(buf);
39968    }
39969}
39970
39971impl FieldValue for UnderlyingAllocationPercentField {}
39972
39973
39974/// `UnderlyingAttachmentPointField` is a `PERCENTAGE` field, Tag 1459.
39975pub struct UnderlyingAttachmentPointField(pub FIXDecimal);
39976
39977impl UnderlyingAttachmentPointField {
39978
39979    pub fn new(val: Decimal, scale: i32) -> Self {
39980        Self(FIXDecimal { decimal: val, scale })
39981    }
39982    pub fn value(&self) -> Decimal { self.0.decimal }
39983
39984    pub fn tag() -> Tag { tag::UNDERLYING_ATTACHMENT_POINT }
39985}
39986
39987impl FieldValueReader for UnderlyingAttachmentPointField {
39988    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
39989        self.0.read(raw)
39990    }
39991}
39992
39993impl FieldValueWriter for UnderlyingAttachmentPointField {
39994    fn write_to(&self, buf: &mut Vec<u8>) {
39995        self.0.write_to(buf);
39996    }
39997}
39998
39999impl FieldValue for UnderlyingAttachmentPointField {}
40000
40001
40002/// `UnderlyingCFICodeField` is a `STRING` field, Tag 463.
40003pub struct UnderlyingCFICodeField(pub FIXString);
40004
40005impl UnderlyingCFICodeField {
40006
40007    pub fn new(val: String) -> Self { Self(val) }
40008    pub fn value(&self) -> &str { &self.0 }
40009
40010    pub fn tag() -> Tag { tag::UNDERLYING_CFI_CODE }
40011}
40012
40013impl FieldValueReader for UnderlyingCFICodeField {
40014    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40015        self.0.read(raw)
40016    }
40017}
40018
40019impl FieldValueWriter for UnderlyingCFICodeField {
40020    fn write_to(&self, buf: &mut Vec<u8>) {
40021        self.0.write_to(buf);
40022    }
40023}
40024
40025impl FieldValue for UnderlyingCFICodeField {}
40026
40027
40028/// `UnderlyingCPProgramField` is a `STRING` field, Tag 877.
40029pub struct UnderlyingCPProgramField(pub FIXString);
40030
40031impl UnderlyingCPProgramField {
40032
40033    pub fn new(val: String) -> Self { Self(val) }
40034    pub fn value(&self) -> &str { &self.0 }
40035
40036    pub fn tag() -> Tag { tag::UNDERLYING_CP_PROGRAM }
40037}
40038
40039impl FieldValueReader for UnderlyingCPProgramField {
40040    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40041        self.0.read(raw)
40042    }
40043}
40044
40045impl FieldValueWriter for UnderlyingCPProgramField {
40046    fn write_to(&self, buf: &mut Vec<u8>) {
40047        self.0.write_to(buf);
40048    }
40049}
40050
40051impl FieldValue for UnderlyingCPProgramField {}
40052
40053
40054/// `UnderlyingCPRegTypeField` is a `STRING` field, Tag 878.
40055pub struct UnderlyingCPRegTypeField(pub FIXString);
40056
40057impl UnderlyingCPRegTypeField {
40058
40059    pub fn new(val: String) -> Self { Self(val) }
40060    pub fn value(&self) -> &str { &self.0 }
40061
40062    pub fn tag() -> Tag { tag::UNDERLYING_CP_REG_TYPE }
40063}
40064
40065impl FieldValueReader for UnderlyingCPRegTypeField {
40066    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40067        self.0.read(raw)
40068    }
40069}
40070
40071impl FieldValueWriter for UnderlyingCPRegTypeField {
40072    fn write_to(&self, buf: &mut Vec<u8>) {
40073        self.0.write_to(buf);
40074    }
40075}
40076
40077impl FieldValue for UnderlyingCPRegTypeField {}
40078
40079
40080/// `UnderlyingCapValueField` is a `AMT` field, Tag 1038.
40081pub struct UnderlyingCapValueField(pub FIXDecimal);
40082
40083impl UnderlyingCapValueField {
40084
40085    pub fn new(val: Decimal, scale: i32) -> Self {
40086        Self(FIXDecimal { decimal: val, scale })
40087    }
40088    pub fn value(&self) -> Decimal { self.0.decimal }
40089
40090    pub fn tag() -> Tag { tag::UNDERLYING_CAP_VALUE }
40091}
40092
40093impl FieldValueReader for UnderlyingCapValueField {
40094    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40095        self.0.read(raw)
40096    }
40097}
40098
40099impl FieldValueWriter for UnderlyingCapValueField {
40100    fn write_to(&self, buf: &mut Vec<u8>) {
40101        self.0.write_to(buf);
40102    }
40103}
40104
40105impl FieldValue for UnderlyingCapValueField {}
40106
40107
40108/// `UnderlyingCashAmountField` is a `AMT` field, Tag 973.
40109pub struct UnderlyingCashAmountField(pub FIXDecimal);
40110
40111impl UnderlyingCashAmountField {
40112
40113    pub fn new(val: Decimal, scale: i32) -> Self {
40114        Self(FIXDecimal { decimal: val, scale })
40115    }
40116    pub fn value(&self) -> Decimal { self.0.decimal }
40117
40118    pub fn tag() -> Tag { tag::UNDERLYING_CASH_AMOUNT }
40119}
40120
40121impl FieldValueReader for UnderlyingCashAmountField {
40122    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40123        self.0.read(raw)
40124    }
40125}
40126
40127impl FieldValueWriter for UnderlyingCashAmountField {
40128    fn write_to(&self, buf: &mut Vec<u8>) {
40129        self.0.write_to(buf);
40130    }
40131}
40132
40133impl FieldValue for UnderlyingCashAmountField {}
40134
40135
40136/// `UnderlyingCashTypeField` is a `STRING` field, Tag 974.
40137pub struct UnderlyingCashTypeField(pub FIXString);
40138
40139impl UnderlyingCashTypeField {
40140
40141    pub fn new(val: String) -> Self { Self(val) }
40142    pub fn value(&self) -> &str { &self.0 }
40143
40144    pub fn tag() -> Tag { tag::UNDERLYING_CASH_TYPE }
40145}
40146
40147impl FieldValueReader for UnderlyingCashTypeField {
40148    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40149        self.0.read(raw)
40150    }
40151}
40152
40153impl FieldValueWriter for UnderlyingCashTypeField {
40154    fn write_to(&self, buf: &mut Vec<u8>) {
40155        self.0.write_to(buf);
40156    }
40157}
40158
40159impl FieldValue for UnderlyingCashTypeField {}
40160
40161
40162/// `UnderlyingCollectAmountField` is a `AMT` field, Tag 986.
40163pub struct UnderlyingCollectAmountField(pub FIXDecimal);
40164
40165impl UnderlyingCollectAmountField {
40166
40167    pub fn new(val: Decimal, scale: i32) -> Self {
40168        Self(FIXDecimal { decimal: val, scale })
40169    }
40170    pub fn value(&self) -> Decimal { self.0.decimal }
40171
40172    pub fn tag() -> Tag { tag::UNDERLYING_COLLECT_AMOUNT }
40173}
40174
40175impl FieldValueReader for UnderlyingCollectAmountField {
40176    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40177        self.0.read(raw)
40178    }
40179}
40180
40181impl FieldValueWriter for UnderlyingCollectAmountField {
40182    fn write_to(&self, buf: &mut Vec<u8>) {
40183        self.0.write_to(buf);
40184    }
40185}
40186
40187impl FieldValue for UnderlyingCollectAmountField {}
40188
40189
40190/// `UnderlyingContractMultiplierField` is a `FLOAT` field, Tag 436.
40191pub struct UnderlyingContractMultiplierField(pub FIXDecimal);
40192
40193impl UnderlyingContractMultiplierField {
40194
40195    pub fn new(val: Decimal, scale: i32) -> Self {
40196        Self(FIXDecimal { decimal: val, scale })
40197    }
40198    pub fn value(&self) -> Decimal { self.0.decimal }
40199
40200    pub fn tag() -> Tag { tag::UNDERLYING_CONTRACT_MULTIPLIER }
40201}
40202
40203impl FieldValueReader for UnderlyingContractMultiplierField {
40204    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40205        self.0.read(raw)
40206    }
40207}
40208
40209impl FieldValueWriter for UnderlyingContractMultiplierField {
40210    fn write_to(&self, buf: &mut Vec<u8>) {
40211        self.0.write_to(buf);
40212    }
40213}
40214
40215impl FieldValue for UnderlyingContractMultiplierField {}
40216
40217
40218/// `UnderlyingContractMultiplierUnitField` is a `INT` field, Tag 1437.
40219pub struct UnderlyingContractMultiplierUnitField(pub FIXInt);
40220
40221impl UnderlyingContractMultiplierUnitField {
40222
40223    pub fn new(val: isize) -> Self { Self(val) }
40224    pub fn value(&self) -> isize { self.0 }
40225
40226    pub fn tag() -> Tag { tag::UNDERLYING_CONTRACT_MULTIPLIER_UNIT }
40227}
40228
40229impl FieldValueReader for UnderlyingContractMultiplierUnitField {
40230    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40231        self.0.read(raw)
40232    }
40233}
40234
40235impl FieldValueWriter for UnderlyingContractMultiplierUnitField {
40236    fn write_to(&self, buf: &mut Vec<u8>) {
40237        self.0.write_to(buf);
40238    }
40239}
40240
40241impl FieldValue for UnderlyingContractMultiplierUnitField {}
40242
40243
40244/// `UnderlyingCountryOfIssueField` is a `COUNTRY` field, Tag 592.
40245pub struct UnderlyingCountryOfIssueField(pub FIXString);
40246
40247impl UnderlyingCountryOfIssueField {
40248
40249    pub fn new(val: String) -> Self { Self(val) }
40250    pub fn value(&self) -> &str { &self.0 }
40251
40252    pub fn tag() -> Tag { tag::UNDERLYING_COUNTRY_OF_ISSUE }
40253}
40254
40255impl FieldValueReader for UnderlyingCountryOfIssueField {
40256    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40257        self.0.read(raw)
40258    }
40259}
40260
40261impl FieldValueWriter for UnderlyingCountryOfIssueField {
40262    fn write_to(&self, buf: &mut Vec<u8>) {
40263        self.0.write_to(buf);
40264    }
40265}
40266
40267impl FieldValue for UnderlyingCountryOfIssueField {}
40268
40269
40270/// `UnderlyingCouponPaymentDateField` is a `LOCALMKTDATE` field, Tag 241.
40271pub struct UnderlyingCouponPaymentDateField(pub FIXString);
40272
40273impl UnderlyingCouponPaymentDateField {
40274
40275    pub fn new(val: String) -> Self { Self(val) }
40276    pub fn value(&self) -> &str { &self.0 }
40277
40278    pub fn tag() -> Tag { tag::UNDERLYING_COUPON_PAYMENT_DATE }
40279}
40280
40281impl FieldValueReader for UnderlyingCouponPaymentDateField {
40282    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40283        self.0.read(raw)
40284    }
40285}
40286
40287impl FieldValueWriter for UnderlyingCouponPaymentDateField {
40288    fn write_to(&self, buf: &mut Vec<u8>) {
40289        self.0.write_to(buf);
40290    }
40291}
40292
40293impl FieldValue for UnderlyingCouponPaymentDateField {}
40294
40295
40296/// `UnderlyingCouponRateField` is a `PERCENTAGE` field, Tag 435.
40297pub struct UnderlyingCouponRateField(pub FIXDecimal);
40298
40299impl UnderlyingCouponRateField {
40300
40301    pub fn new(val: Decimal, scale: i32) -> Self {
40302        Self(FIXDecimal { decimal: val, scale })
40303    }
40304    pub fn value(&self) -> Decimal { self.0.decimal }
40305
40306    pub fn tag() -> Tag { tag::UNDERLYING_COUPON_RATE }
40307}
40308
40309impl FieldValueReader for UnderlyingCouponRateField {
40310    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40311        self.0.read(raw)
40312    }
40313}
40314
40315impl FieldValueWriter for UnderlyingCouponRateField {
40316    fn write_to(&self, buf: &mut Vec<u8>) {
40317        self.0.write_to(buf);
40318    }
40319}
40320
40321impl FieldValue for UnderlyingCouponRateField {}
40322
40323
40324/// `UnderlyingCreditRatingField` is a `STRING` field, Tag 256.
40325pub struct UnderlyingCreditRatingField(pub FIXString);
40326
40327impl UnderlyingCreditRatingField {
40328
40329    pub fn new(val: String) -> Self { Self(val) }
40330    pub fn value(&self) -> &str { &self.0 }
40331
40332    pub fn tag() -> Tag { tag::UNDERLYING_CREDIT_RATING }
40333}
40334
40335impl FieldValueReader for UnderlyingCreditRatingField {
40336    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40337        self.0.read(raw)
40338    }
40339}
40340
40341impl FieldValueWriter for UnderlyingCreditRatingField {
40342    fn write_to(&self, buf: &mut Vec<u8>) {
40343        self.0.write_to(buf);
40344    }
40345}
40346
40347impl FieldValue for UnderlyingCreditRatingField {}
40348
40349
40350/// `UnderlyingCurrencyField` is a `CURRENCY` field, Tag 318.
40351pub struct UnderlyingCurrencyField(pub FIXString);
40352
40353impl UnderlyingCurrencyField {
40354
40355    pub fn new(val: String) -> Self { Self(val) }
40356    pub fn value(&self) -> &str { &self.0 }
40357
40358    pub fn tag() -> Tag { tag::UNDERLYING_CURRENCY }
40359}
40360
40361impl FieldValueReader for UnderlyingCurrencyField {
40362    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40363        self.0.read(raw)
40364    }
40365}
40366
40367impl FieldValueWriter for UnderlyingCurrencyField {
40368    fn write_to(&self, buf: &mut Vec<u8>) {
40369        self.0.write_to(buf);
40370    }
40371}
40372
40373impl FieldValue for UnderlyingCurrencyField {}
40374
40375
40376/// `UnderlyingCurrentValueField` is a `AMT` field, Tag 885.
40377pub struct UnderlyingCurrentValueField(pub FIXDecimal);
40378
40379impl UnderlyingCurrentValueField {
40380
40381    pub fn new(val: Decimal, scale: i32) -> Self {
40382        Self(FIXDecimal { decimal: val, scale })
40383    }
40384    pub fn value(&self) -> Decimal { self.0.decimal }
40385
40386    pub fn tag() -> Tag { tag::UNDERLYING_CURRENT_VALUE }
40387}
40388
40389impl FieldValueReader for UnderlyingCurrentValueField {
40390    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40391        self.0.read(raw)
40392    }
40393}
40394
40395impl FieldValueWriter for UnderlyingCurrentValueField {
40396    fn write_to(&self, buf: &mut Vec<u8>) {
40397        self.0.write_to(buf);
40398    }
40399}
40400
40401impl FieldValue for UnderlyingCurrentValueField {}
40402
40403
40404/// `UnderlyingDeliveryAmountField` is a `AMT` field, Tag 1037.
40405pub struct UnderlyingDeliveryAmountField(pub FIXDecimal);
40406
40407impl UnderlyingDeliveryAmountField {
40408
40409    pub fn new(val: Decimal, scale: i32) -> Self {
40410        Self(FIXDecimal { decimal: val, scale })
40411    }
40412    pub fn value(&self) -> Decimal { self.0.decimal }
40413
40414    pub fn tag() -> Tag { tag::UNDERLYING_DELIVERY_AMOUNT }
40415}
40416
40417impl FieldValueReader for UnderlyingDeliveryAmountField {
40418    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40419        self.0.read(raw)
40420    }
40421}
40422
40423impl FieldValueWriter for UnderlyingDeliveryAmountField {
40424    fn write_to(&self, buf: &mut Vec<u8>) {
40425        self.0.write_to(buf);
40426    }
40427}
40428
40429impl FieldValue for UnderlyingDeliveryAmountField {}
40430
40431
40432/// `UnderlyingDetachmentPointField` is a `PERCENTAGE` field, Tag 1460.
40433pub struct UnderlyingDetachmentPointField(pub FIXDecimal);
40434
40435impl UnderlyingDetachmentPointField {
40436
40437    pub fn new(val: Decimal, scale: i32) -> Self {
40438        Self(FIXDecimal { decimal: val, scale })
40439    }
40440    pub fn value(&self) -> Decimal { self.0.decimal }
40441
40442    pub fn tag() -> Tag { tag::UNDERLYING_DETACHMENT_POINT }
40443}
40444
40445impl FieldValueReader for UnderlyingDetachmentPointField {
40446    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40447        self.0.read(raw)
40448    }
40449}
40450
40451impl FieldValueWriter for UnderlyingDetachmentPointField {
40452    fn write_to(&self, buf: &mut Vec<u8>) {
40453        self.0.write_to(buf);
40454    }
40455}
40456
40457impl FieldValue for UnderlyingDetachmentPointField {}
40458
40459
40460/// `UnderlyingDirtyPriceField` is a `PRICE` field, Tag 882.
40461pub struct UnderlyingDirtyPriceField(pub FIXDecimal);
40462
40463impl UnderlyingDirtyPriceField {
40464
40465    pub fn new(val: Decimal, scale: i32) -> Self {
40466        Self(FIXDecimal { decimal: val, scale })
40467    }
40468    pub fn value(&self) -> Decimal { self.0.decimal }
40469
40470    pub fn tag() -> Tag { tag::UNDERLYING_DIRTY_PRICE }
40471}
40472
40473impl FieldValueReader for UnderlyingDirtyPriceField {
40474    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40475        self.0.read(raw)
40476    }
40477}
40478
40479impl FieldValueWriter for UnderlyingDirtyPriceField {
40480    fn write_to(&self, buf: &mut Vec<u8>) {
40481        self.0.write_to(buf);
40482    }
40483}
40484
40485impl FieldValue for UnderlyingDirtyPriceField {}
40486
40487
40488/// `UnderlyingEndPriceField` is a `PRICE` field, Tag 883.
40489pub struct UnderlyingEndPriceField(pub FIXDecimal);
40490
40491impl UnderlyingEndPriceField {
40492
40493    pub fn new(val: Decimal, scale: i32) -> Self {
40494        Self(FIXDecimal { decimal: val, scale })
40495    }
40496    pub fn value(&self) -> Decimal { self.0.decimal }
40497
40498    pub fn tag() -> Tag { tag::UNDERLYING_END_PRICE }
40499}
40500
40501impl FieldValueReader for UnderlyingEndPriceField {
40502    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40503        self.0.read(raw)
40504    }
40505}
40506
40507impl FieldValueWriter for UnderlyingEndPriceField {
40508    fn write_to(&self, buf: &mut Vec<u8>) {
40509        self.0.write_to(buf);
40510    }
40511}
40512
40513impl FieldValue for UnderlyingEndPriceField {}
40514
40515
40516/// `UnderlyingEndValueField` is a `AMT` field, Tag 886.
40517pub struct UnderlyingEndValueField(pub FIXDecimal);
40518
40519impl UnderlyingEndValueField {
40520
40521    pub fn new(val: Decimal, scale: i32) -> Self {
40522        Self(FIXDecimal { decimal: val, scale })
40523    }
40524    pub fn value(&self) -> Decimal { self.0.decimal }
40525
40526    pub fn tag() -> Tag { tag::UNDERLYING_END_VALUE }
40527}
40528
40529impl FieldValueReader for UnderlyingEndValueField {
40530    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40531        self.0.read(raw)
40532    }
40533}
40534
40535impl FieldValueWriter for UnderlyingEndValueField {
40536    fn write_to(&self, buf: &mut Vec<u8>) {
40537        self.0.write_to(buf);
40538    }
40539}
40540
40541impl FieldValue for UnderlyingEndValueField {}
40542
40543
40544/// `UnderlyingExerciseStyleField` is a `INT` field, Tag 1419.
40545pub struct UnderlyingExerciseStyleField(pub FIXInt);
40546
40547impl UnderlyingExerciseStyleField {
40548
40549    pub fn new(val: isize) -> Self { Self(val) }
40550    pub fn value(&self) -> isize { self.0 }
40551
40552    pub fn tag() -> Tag { tag::UNDERLYING_EXERCISE_STYLE }
40553}
40554
40555impl FieldValueReader for UnderlyingExerciseStyleField {
40556    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40557        self.0.read(raw)
40558    }
40559}
40560
40561impl FieldValueWriter for UnderlyingExerciseStyleField {
40562    fn write_to(&self, buf: &mut Vec<u8>) {
40563        self.0.write_to(buf);
40564    }
40565}
40566
40567impl FieldValue for UnderlyingExerciseStyleField {}
40568
40569
40570/// `UnderlyingFXRateField` is a `FLOAT` field, Tag 1045.
40571pub struct UnderlyingFXRateField(pub FIXDecimal);
40572
40573impl UnderlyingFXRateField {
40574
40575    pub fn new(val: Decimal, scale: i32) -> Self {
40576        Self(FIXDecimal { decimal: val, scale })
40577    }
40578    pub fn value(&self) -> Decimal { self.0.decimal }
40579
40580    pub fn tag() -> Tag { tag::UNDERLYING_FX_RATE }
40581}
40582
40583impl FieldValueReader for UnderlyingFXRateField {
40584    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40585        self.0.read(raw)
40586    }
40587}
40588
40589impl FieldValueWriter for UnderlyingFXRateField {
40590    fn write_to(&self, buf: &mut Vec<u8>) {
40591        self.0.write_to(buf);
40592    }
40593}
40594
40595impl FieldValue for UnderlyingFXRateField {}
40596
40597
40598/// `UnderlyingFXRateCalcField` is a `CHAR` field, Tag 1046.
40599pub struct UnderlyingFXRateCalcField(pub FIXString);
40600
40601impl UnderlyingFXRateCalcField {
40602
40603    pub fn new(val: String) -> Self { Self(val) }
40604    pub fn value(&self) -> &str { &self.0 }
40605
40606    pub fn tag() -> Tag { tag::UNDERLYING_FX_RATE_CALC }
40607}
40608
40609impl FieldValueReader for UnderlyingFXRateCalcField {
40610    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40611        self.0.read(raw)
40612    }
40613}
40614
40615impl FieldValueWriter for UnderlyingFXRateCalcField {
40616    fn write_to(&self, buf: &mut Vec<u8>) {
40617        self.0.write_to(buf);
40618    }
40619}
40620
40621impl FieldValue for UnderlyingFXRateCalcField {}
40622
40623
40624/// `UnderlyingFactorField` is a `FLOAT` field, Tag 246.
40625pub struct UnderlyingFactorField(pub FIXDecimal);
40626
40627impl UnderlyingFactorField {
40628
40629    pub fn new(val: Decimal, scale: i32) -> Self {
40630        Self(FIXDecimal { decimal: val, scale })
40631    }
40632    pub fn value(&self) -> Decimal { self.0.decimal }
40633
40634    pub fn tag() -> Tag { tag::UNDERLYING_FACTOR }
40635}
40636
40637impl FieldValueReader for UnderlyingFactorField {
40638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40639        self.0.read(raw)
40640    }
40641}
40642
40643impl FieldValueWriter for UnderlyingFactorField {
40644    fn write_to(&self, buf: &mut Vec<u8>) {
40645        self.0.write_to(buf);
40646    }
40647}
40648
40649impl FieldValue for UnderlyingFactorField {}
40650
40651
40652/// `UnderlyingFlowScheduleTypeField` is a `INT` field, Tag 1441.
40653pub struct UnderlyingFlowScheduleTypeField(pub FIXInt);
40654
40655impl UnderlyingFlowScheduleTypeField {
40656
40657    pub fn new(val: isize) -> Self { Self(val) }
40658    pub fn value(&self) -> isize { self.0 }
40659
40660    pub fn tag() -> Tag { tag::UNDERLYING_FLOW_SCHEDULE_TYPE }
40661}
40662
40663impl FieldValueReader for UnderlyingFlowScheduleTypeField {
40664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40665        self.0.read(raw)
40666    }
40667}
40668
40669impl FieldValueWriter for UnderlyingFlowScheduleTypeField {
40670    fn write_to(&self, buf: &mut Vec<u8>) {
40671        self.0.write_to(buf);
40672    }
40673}
40674
40675impl FieldValue for UnderlyingFlowScheduleTypeField {}
40676
40677
40678/// `UnderlyingIDSourceField` is a `STRING` field, Tag 305.
40679pub struct UnderlyingIDSourceField(pub FIXString);
40680
40681impl UnderlyingIDSourceField {
40682
40683    pub fn new(val: String) -> Self { Self(val) }
40684    pub fn value(&self) -> &str { &self.0 }
40685
40686    pub fn tag() -> Tag { tag::UNDERLYING_ID_SOURCE }
40687}
40688
40689impl FieldValueReader for UnderlyingIDSourceField {
40690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40691        self.0.read(raw)
40692    }
40693}
40694
40695impl FieldValueWriter for UnderlyingIDSourceField {
40696    fn write_to(&self, buf: &mut Vec<u8>) {
40697        self.0.write_to(buf);
40698    }
40699}
40700
40701impl FieldValue for UnderlyingIDSourceField {}
40702
40703
40704/// `UnderlyingInstrRegistryField` is a `STRING` field, Tag 595.
40705pub struct UnderlyingInstrRegistryField(pub FIXString);
40706
40707impl UnderlyingInstrRegistryField {
40708
40709    pub fn new(val: String) -> Self { Self(val) }
40710    pub fn value(&self) -> &str { &self.0 }
40711
40712    pub fn tag() -> Tag { tag::UNDERLYING_INSTR_REGISTRY }
40713}
40714
40715impl FieldValueReader for UnderlyingInstrRegistryField {
40716    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40717        self.0.read(raw)
40718    }
40719}
40720
40721impl FieldValueWriter for UnderlyingInstrRegistryField {
40722    fn write_to(&self, buf: &mut Vec<u8>) {
40723        self.0.write_to(buf);
40724    }
40725}
40726
40727impl FieldValue for UnderlyingInstrRegistryField {}
40728
40729
40730/// `UnderlyingInstrumentPartyIDField` is a `STRING` field, Tag 1059.
40731pub struct UnderlyingInstrumentPartyIDField(pub FIXString);
40732
40733impl UnderlyingInstrumentPartyIDField {
40734
40735    pub fn new(val: String) -> Self { Self(val) }
40736    pub fn value(&self) -> &str { &self.0 }
40737
40738    pub fn tag() -> Tag { tag::UNDERLYING_INSTRUMENT_PARTY_ID }
40739}
40740
40741impl FieldValueReader for UnderlyingInstrumentPartyIDField {
40742    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40743        self.0.read(raw)
40744    }
40745}
40746
40747impl FieldValueWriter for UnderlyingInstrumentPartyIDField {
40748    fn write_to(&self, buf: &mut Vec<u8>) {
40749        self.0.write_to(buf);
40750    }
40751}
40752
40753impl FieldValue for UnderlyingInstrumentPartyIDField {}
40754
40755
40756/// `UnderlyingInstrumentPartyIDSourceField` is a `CHAR` field, Tag 1060.
40757pub struct UnderlyingInstrumentPartyIDSourceField(pub FIXString);
40758
40759impl UnderlyingInstrumentPartyIDSourceField {
40760
40761    pub fn new(val: String) -> Self { Self(val) }
40762    pub fn value(&self) -> &str { &self.0 }
40763
40764    pub fn tag() -> Tag { tag::UNDERLYING_INSTRUMENT_PARTY_ID_SOURCE }
40765}
40766
40767impl FieldValueReader for UnderlyingInstrumentPartyIDSourceField {
40768    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40769        self.0.read(raw)
40770    }
40771}
40772
40773impl FieldValueWriter for UnderlyingInstrumentPartyIDSourceField {
40774    fn write_to(&self, buf: &mut Vec<u8>) {
40775        self.0.write_to(buf);
40776    }
40777}
40778
40779impl FieldValue for UnderlyingInstrumentPartyIDSourceField {}
40780
40781
40782/// `UnderlyingInstrumentPartyRoleField` is a `INT` field, Tag 1061.
40783pub struct UnderlyingInstrumentPartyRoleField(pub FIXInt);
40784
40785impl UnderlyingInstrumentPartyRoleField {
40786
40787    pub fn new(val: isize) -> Self { Self(val) }
40788    pub fn value(&self) -> isize { self.0 }
40789
40790    pub fn tag() -> Tag { tag::UNDERLYING_INSTRUMENT_PARTY_ROLE }
40791}
40792
40793impl FieldValueReader for UnderlyingInstrumentPartyRoleField {
40794    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40795        self.0.read(raw)
40796    }
40797}
40798
40799impl FieldValueWriter for UnderlyingInstrumentPartyRoleField {
40800    fn write_to(&self, buf: &mut Vec<u8>) {
40801        self.0.write_to(buf);
40802    }
40803}
40804
40805impl FieldValue for UnderlyingInstrumentPartyRoleField {}
40806
40807
40808/// `UnderlyingInstrumentPartySubIDField` is a `STRING` field, Tag 1063.
40809pub struct UnderlyingInstrumentPartySubIDField(pub FIXString);
40810
40811impl UnderlyingInstrumentPartySubIDField {
40812
40813    pub fn new(val: String) -> Self { Self(val) }
40814    pub fn value(&self) -> &str { &self.0 }
40815
40816    pub fn tag() -> Tag { tag::UNDERLYING_INSTRUMENT_PARTY_SUB_ID }
40817}
40818
40819impl FieldValueReader for UnderlyingInstrumentPartySubIDField {
40820    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40821        self.0.read(raw)
40822    }
40823}
40824
40825impl FieldValueWriter for UnderlyingInstrumentPartySubIDField {
40826    fn write_to(&self, buf: &mut Vec<u8>) {
40827        self.0.write_to(buf);
40828    }
40829}
40830
40831impl FieldValue for UnderlyingInstrumentPartySubIDField {}
40832
40833
40834/// `UnderlyingInstrumentPartySubIDTypeField` is a `INT` field, Tag 1064.
40835pub struct UnderlyingInstrumentPartySubIDTypeField(pub FIXInt);
40836
40837impl UnderlyingInstrumentPartySubIDTypeField {
40838
40839    pub fn new(val: isize) -> Self { Self(val) }
40840    pub fn value(&self) -> isize { self.0 }
40841
40842    pub fn tag() -> Tag { tag::UNDERLYING_INSTRUMENT_PARTY_SUB_ID_TYPE }
40843}
40844
40845impl FieldValueReader for UnderlyingInstrumentPartySubIDTypeField {
40846    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40847        self.0.read(raw)
40848    }
40849}
40850
40851impl FieldValueWriter for UnderlyingInstrumentPartySubIDTypeField {
40852    fn write_to(&self, buf: &mut Vec<u8>) {
40853        self.0.write_to(buf);
40854    }
40855}
40856
40857impl FieldValue for UnderlyingInstrumentPartySubIDTypeField {}
40858
40859
40860/// `UnderlyingIssueDateField` is a `LOCALMKTDATE` field, Tag 242.
40861pub struct UnderlyingIssueDateField(pub FIXString);
40862
40863impl UnderlyingIssueDateField {
40864
40865    pub fn new(val: String) -> Self { Self(val) }
40866    pub fn value(&self) -> &str { &self.0 }
40867
40868    pub fn tag() -> Tag { tag::UNDERLYING_ISSUE_DATE }
40869}
40870
40871impl FieldValueReader for UnderlyingIssueDateField {
40872    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40873        self.0.read(raw)
40874    }
40875}
40876
40877impl FieldValueWriter for UnderlyingIssueDateField {
40878    fn write_to(&self, buf: &mut Vec<u8>) {
40879        self.0.write_to(buf);
40880    }
40881}
40882
40883impl FieldValue for UnderlyingIssueDateField {}
40884
40885
40886/// `UnderlyingIssuerField` is a `STRING` field, Tag 306.
40887pub struct UnderlyingIssuerField(pub FIXString);
40888
40889impl UnderlyingIssuerField {
40890
40891    pub fn new(val: String) -> Self { Self(val) }
40892    pub fn value(&self) -> &str { &self.0 }
40893
40894    pub fn tag() -> Tag { tag::UNDERLYING_ISSUER }
40895}
40896
40897impl FieldValueReader for UnderlyingIssuerField {
40898    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40899        self.0.read(raw)
40900    }
40901}
40902
40903impl FieldValueWriter for UnderlyingIssuerField {
40904    fn write_to(&self, buf: &mut Vec<u8>) {
40905        self.0.write_to(buf);
40906    }
40907}
40908
40909impl FieldValue for UnderlyingIssuerField {}
40910
40911
40912/// `UnderlyingLastPxField` is a `PRICE` field, Tag 651.
40913pub struct UnderlyingLastPxField(pub FIXDecimal);
40914
40915impl UnderlyingLastPxField {
40916
40917    pub fn new(val: Decimal, scale: i32) -> Self {
40918        Self(FIXDecimal { decimal: val, scale })
40919    }
40920    pub fn value(&self) -> Decimal { self.0.decimal }
40921
40922    pub fn tag() -> Tag { tag::UNDERLYING_LAST_PX }
40923}
40924
40925impl FieldValueReader for UnderlyingLastPxField {
40926    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40927        self.0.read(raw)
40928    }
40929}
40930
40931impl FieldValueWriter for UnderlyingLastPxField {
40932    fn write_to(&self, buf: &mut Vec<u8>) {
40933        self.0.write_to(buf);
40934    }
40935}
40936
40937impl FieldValue for UnderlyingLastPxField {}
40938
40939
40940/// `UnderlyingLastQtyField` is a `QTY` field, Tag 652.
40941pub struct UnderlyingLastQtyField(pub FIXDecimal);
40942
40943impl UnderlyingLastQtyField {
40944
40945    pub fn new(val: Decimal, scale: i32) -> Self {
40946        Self(FIXDecimal { decimal: val, scale })
40947    }
40948    pub fn value(&self) -> Decimal { self.0.decimal }
40949
40950    pub fn tag() -> Tag { tag::UNDERLYING_LAST_QTY }
40951}
40952
40953impl FieldValueReader for UnderlyingLastQtyField {
40954    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40955        self.0.read(raw)
40956    }
40957}
40958
40959impl FieldValueWriter for UnderlyingLastQtyField {
40960    fn write_to(&self, buf: &mut Vec<u8>) {
40961        self.0.write_to(buf);
40962    }
40963}
40964
40965impl FieldValue for UnderlyingLastQtyField {}
40966
40967
40968/// `UnderlyingLegCFICodeField` is a `STRING` field, Tag 1344.
40969pub struct UnderlyingLegCFICodeField(pub FIXString);
40970
40971impl UnderlyingLegCFICodeField {
40972
40973    pub fn new(val: String) -> Self { Self(val) }
40974    pub fn value(&self) -> &str { &self.0 }
40975
40976    pub fn tag() -> Tag { tag::UNDERLYING_LEG_CFI_CODE }
40977}
40978
40979impl FieldValueReader for UnderlyingLegCFICodeField {
40980    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
40981        self.0.read(raw)
40982    }
40983}
40984
40985impl FieldValueWriter for UnderlyingLegCFICodeField {
40986    fn write_to(&self, buf: &mut Vec<u8>) {
40987        self.0.write_to(buf);
40988    }
40989}
40990
40991impl FieldValue for UnderlyingLegCFICodeField {}
40992
40993
40994/// `UnderlyingLegMaturityDateField` is a `LOCALMKTDATE` field, Tag 1345.
40995pub struct UnderlyingLegMaturityDateField(pub FIXString);
40996
40997impl UnderlyingLegMaturityDateField {
40998
40999    pub fn new(val: String) -> Self { Self(val) }
41000    pub fn value(&self) -> &str { &self.0 }
41001
41002    pub fn tag() -> Tag { tag::UNDERLYING_LEG_MATURITY_DATE }
41003}
41004
41005impl FieldValueReader for UnderlyingLegMaturityDateField {
41006    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41007        self.0.read(raw)
41008    }
41009}
41010
41011impl FieldValueWriter for UnderlyingLegMaturityDateField {
41012    fn write_to(&self, buf: &mut Vec<u8>) {
41013        self.0.write_to(buf);
41014    }
41015}
41016
41017impl FieldValue for UnderlyingLegMaturityDateField {}
41018
41019
41020/// `UnderlyingLegMaturityMonthYearField` is a `MONTHYEAR` field, Tag 1339.
41021pub struct UnderlyingLegMaturityMonthYearField(pub FIXString);
41022
41023impl UnderlyingLegMaturityMonthYearField {
41024
41025    pub fn new(val: String) -> Self { Self(val) }
41026    pub fn value(&self) -> &str { &self.0 }
41027
41028    pub fn tag() -> Tag { tag::UNDERLYING_LEG_MATURITY_MONTH_YEAR }
41029}
41030
41031impl FieldValueReader for UnderlyingLegMaturityMonthYearField {
41032    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41033        self.0.read(raw)
41034    }
41035}
41036
41037impl FieldValueWriter for UnderlyingLegMaturityMonthYearField {
41038    fn write_to(&self, buf: &mut Vec<u8>) {
41039        self.0.write_to(buf);
41040    }
41041}
41042
41043impl FieldValue for UnderlyingLegMaturityMonthYearField {}
41044
41045
41046/// `UnderlyingLegMaturityTimeField` is a `TZTIMEONLY` field, Tag 1405.
41047pub struct UnderlyingLegMaturityTimeField(pub FIXString);
41048
41049impl UnderlyingLegMaturityTimeField {
41050
41051    pub fn new(val: String) -> Self { Self(val) }
41052    pub fn value(&self) -> &str { &self.0 }
41053
41054    pub fn tag() -> Tag { tag::UNDERLYING_LEG_MATURITY_TIME }
41055}
41056
41057impl FieldValueReader for UnderlyingLegMaturityTimeField {
41058    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41059        self.0.read(raw)
41060    }
41061}
41062
41063impl FieldValueWriter for UnderlyingLegMaturityTimeField {
41064    fn write_to(&self, buf: &mut Vec<u8>) {
41065        self.0.write_to(buf);
41066    }
41067}
41068
41069impl FieldValue for UnderlyingLegMaturityTimeField {}
41070
41071
41072/// `UnderlyingLegOptAttributeField` is a `CHAR` field, Tag 1391.
41073pub struct UnderlyingLegOptAttributeField(pub FIXString);
41074
41075impl UnderlyingLegOptAttributeField {
41076
41077    pub fn new(val: String) -> Self { Self(val) }
41078    pub fn value(&self) -> &str { &self.0 }
41079
41080    pub fn tag() -> Tag { tag::UNDERLYING_LEG_OPT_ATTRIBUTE }
41081}
41082
41083impl FieldValueReader for UnderlyingLegOptAttributeField {
41084    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41085        self.0.read(raw)
41086    }
41087}
41088
41089impl FieldValueWriter for UnderlyingLegOptAttributeField {
41090    fn write_to(&self, buf: &mut Vec<u8>) {
41091        self.0.write_to(buf);
41092    }
41093}
41094
41095impl FieldValue for UnderlyingLegOptAttributeField {}
41096
41097
41098/// `UnderlyingLegPutOrCallField` is a `INT` field, Tag 1343.
41099pub struct UnderlyingLegPutOrCallField(pub FIXInt);
41100
41101impl UnderlyingLegPutOrCallField {
41102
41103    pub fn new(val: isize) -> Self { Self(val) }
41104    pub fn value(&self) -> isize { self.0 }
41105
41106    pub fn tag() -> Tag { tag::UNDERLYING_LEG_PUT_OR_CALL }
41107}
41108
41109impl FieldValueReader for UnderlyingLegPutOrCallField {
41110    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41111        self.0.read(raw)
41112    }
41113}
41114
41115impl FieldValueWriter for UnderlyingLegPutOrCallField {
41116    fn write_to(&self, buf: &mut Vec<u8>) {
41117        self.0.write_to(buf);
41118    }
41119}
41120
41121impl FieldValue for UnderlyingLegPutOrCallField {}
41122
41123
41124/// `UnderlyingLegSecurityAltIDField` is a `STRING` field, Tag 1335.
41125pub struct UnderlyingLegSecurityAltIDField(pub FIXString);
41126
41127impl UnderlyingLegSecurityAltIDField {
41128
41129    pub fn new(val: String) -> Self { Self(val) }
41130    pub fn value(&self) -> &str { &self.0 }
41131
41132    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_ALT_ID }
41133}
41134
41135impl FieldValueReader for UnderlyingLegSecurityAltIDField {
41136    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41137        self.0.read(raw)
41138    }
41139}
41140
41141impl FieldValueWriter for UnderlyingLegSecurityAltIDField {
41142    fn write_to(&self, buf: &mut Vec<u8>) {
41143        self.0.write_to(buf);
41144    }
41145}
41146
41147impl FieldValue for UnderlyingLegSecurityAltIDField {}
41148
41149
41150/// `UnderlyingLegSecurityAltIDSourceField` is a `STRING` field, Tag 1336.
41151pub struct UnderlyingLegSecurityAltIDSourceField(pub FIXString);
41152
41153impl UnderlyingLegSecurityAltIDSourceField {
41154
41155    pub fn new(val: String) -> Self { Self(val) }
41156    pub fn value(&self) -> &str { &self.0 }
41157
41158    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_ALT_ID_SOURCE }
41159}
41160
41161impl FieldValueReader for UnderlyingLegSecurityAltIDSourceField {
41162    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41163        self.0.read(raw)
41164    }
41165}
41166
41167impl FieldValueWriter for UnderlyingLegSecurityAltIDSourceField {
41168    fn write_to(&self, buf: &mut Vec<u8>) {
41169        self.0.write_to(buf);
41170    }
41171}
41172
41173impl FieldValue for UnderlyingLegSecurityAltIDSourceField {}
41174
41175
41176/// `UnderlyingLegSecurityDescField` is a `STRING` field, Tag 1392.
41177pub struct UnderlyingLegSecurityDescField(pub FIXString);
41178
41179impl UnderlyingLegSecurityDescField {
41180
41181    pub fn new(val: String) -> Self { Self(val) }
41182    pub fn value(&self) -> &str { &self.0 }
41183
41184    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_DESC }
41185}
41186
41187impl FieldValueReader for UnderlyingLegSecurityDescField {
41188    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41189        self.0.read(raw)
41190    }
41191}
41192
41193impl FieldValueWriter for UnderlyingLegSecurityDescField {
41194    fn write_to(&self, buf: &mut Vec<u8>) {
41195        self.0.write_to(buf);
41196    }
41197}
41198
41199impl FieldValue for UnderlyingLegSecurityDescField {}
41200
41201
41202/// `UnderlyingLegSecurityExchangeField` is a `STRING` field, Tag 1341.
41203pub struct UnderlyingLegSecurityExchangeField(pub FIXString);
41204
41205impl UnderlyingLegSecurityExchangeField {
41206
41207    pub fn new(val: String) -> Self { Self(val) }
41208    pub fn value(&self) -> &str { &self.0 }
41209
41210    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_EXCHANGE }
41211}
41212
41213impl FieldValueReader for UnderlyingLegSecurityExchangeField {
41214    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41215        self.0.read(raw)
41216    }
41217}
41218
41219impl FieldValueWriter for UnderlyingLegSecurityExchangeField {
41220    fn write_to(&self, buf: &mut Vec<u8>) {
41221        self.0.write_to(buf);
41222    }
41223}
41224
41225impl FieldValue for UnderlyingLegSecurityExchangeField {}
41226
41227
41228/// `UnderlyingLegSecurityIDField` is a `STRING` field, Tag 1332.
41229pub struct UnderlyingLegSecurityIDField(pub FIXString);
41230
41231impl UnderlyingLegSecurityIDField {
41232
41233    pub fn new(val: String) -> Self { Self(val) }
41234    pub fn value(&self) -> &str { &self.0 }
41235
41236    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_ID }
41237}
41238
41239impl FieldValueReader for UnderlyingLegSecurityIDField {
41240    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41241        self.0.read(raw)
41242    }
41243}
41244
41245impl FieldValueWriter for UnderlyingLegSecurityIDField {
41246    fn write_to(&self, buf: &mut Vec<u8>) {
41247        self.0.write_to(buf);
41248    }
41249}
41250
41251impl FieldValue for UnderlyingLegSecurityIDField {}
41252
41253
41254/// `UnderlyingLegSecurityIDSourceField` is a `STRING` field, Tag 1333.
41255pub struct UnderlyingLegSecurityIDSourceField(pub FIXString);
41256
41257impl UnderlyingLegSecurityIDSourceField {
41258
41259    pub fn new(val: String) -> Self { Self(val) }
41260    pub fn value(&self) -> &str { &self.0 }
41261
41262    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_ID_SOURCE }
41263}
41264
41265impl FieldValueReader for UnderlyingLegSecurityIDSourceField {
41266    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41267        self.0.read(raw)
41268    }
41269}
41270
41271impl FieldValueWriter for UnderlyingLegSecurityIDSourceField {
41272    fn write_to(&self, buf: &mut Vec<u8>) {
41273        self.0.write_to(buf);
41274    }
41275}
41276
41277impl FieldValue for UnderlyingLegSecurityIDSourceField {}
41278
41279
41280/// `UnderlyingLegSecuritySubTypeField` is a `STRING` field, Tag 1338.
41281pub struct UnderlyingLegSecuritySubTypeField(pub FIXString);
41282
41283impl UnderlyingLegSecuritySubTypeField {
41284
41285    pub fn new(val: String) -> Self { Self(val) }
41286    pub fn value(&self) -> &str { &self.0 }
41287
41288    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_SUB_TYPE }
41289}
41290
41291impl FieldValueReader for UnderlyingLegSecuritySubTypeField {
41292    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41293        self.0.read(raw)
41294    }
41295}
41296
41297impl FieldValueWriter for UnderlyingLegSecuritySubTypeField {
41298    fn write_to(&self, buf: &mut Vec<u8>) {
41299        self.0.write_to(buf);
41300    }
41301}
41302
41303impl FieldValue for UnderlyingLegSecuritySubTypeField {}
41304
41305
41306/// `UnderlyingLegSecurityTypeField` is a `STRING` field, Tag 1337.
41307pub struct UnderlyingLegSecurityTypeField(pub FIXString);
41308
41309impl UnderlyingLegSecurityTypeField {
41310
41311    pub fn new(val: String) -> Self { Self(val) }
41312    pub fn value(&self) -> &str { &self.0 }
41313
41314    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SECURITY_TYPE }
41315}
41316
41317impl FieldValueReader for UnderlyingLegSecurityTypeField {
41318    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41319        self.0.read(raw)
41320    }
41321}
41322
41323impl FieldValueWriter for UnderlyingLegSecurityTypeField {
41324    fn write_to(&self, buf: &mut Vec<u8>) {
41325        self.0.write_to(buf);
41326    }
41327}
41328
41329impl FieldValue for UnderlyingLegSecurityTypeField {}
41330
41331
41332/// `UnderlyingLegStrikePriceField` is a `PRICE` field, Tag 1340.
41333pub struct UnderlyingLegStrikePriceField(pub FIXDecimal);
41334
41335impl UnderlyingLegStrikePriceField {
41336
41337    pub fn new(val: Decimal, scale: i32) -> Self {
41338        Self(FIXDecimal { decimal: val, scale })
41339    }
41340    pub fn value(&self) -> Decimal { self.0.decimal }
41341
41342    pub fn tag() -> Tag { tag::UNDERLYING_LEG_STRIKE_PRICE }
41343}
41344
41345impl FieldValueReader for UnderlyingLegStrikePriceField {
41346    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41347        self.0.read(raw)
41348    }
41349}
41350
41351impl FieldValueWriter for UnderlyingLegStrikePriceField {
41352    fn write_to(&self, buf: &mut Vec<u8>) {
41353        self.0.write_to(buf);
41354    }
41355}
41356
41357impl FieldValue for UnderlyingLegStrikePriceField {}
41358
41359
41360/// `UnderlyingLegSymbolField` is a `STRING` field, Tag 1330.
41361pub struct UnderlyingLegSymbolField(pub FIXString);
41362
41363impl UnderlyingLegSymbolField {
41364
41365    pub fn new(val: String) -> Self { Self(val) }
41366    pub fn value(&self) -> &str { &self.0 }
41367
41368    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SYMBOL }
41369}
41370
41371impl FieldValueReader for UnderlyingLegSymbolField {
41372    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41373        self.0.read(raw)
41374    }
41375}
41376
41377impl FieldValueWriter for UnderlyingLegSymbolField {
41378    fn write_to(&self, buf: &mut Vec<u8>) {
41379        self.0.write_to(buf);
41380    }
41381}
41382
41383impl FieldValue for UnderlyingLegSymbolField {}
41384
41385
41386/// `UnderlyingLegSymbolSfxField` is a `STRING` field, Tag 1331.
41387pub struct UnderlyingLegSymbolSfxField(pub FIXString);
41388
41389impl UnderlyingLegSymbolSfxField {
41390
41391    pub fn new(val: String) -> Self { Self(val) }
41392    pub fn value(&self) -> &str { &self.0 }
41393
41394    pub fn tag() -> Tag { tag::UNDERLYING_LEG_SYMBOL_SFX }
41395}
41396
41397impl FieldValueReader for UnderlyingLegSymbolSfxField {
41398    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41399        self.0.read(raw)
41400    }
41401}
41402
41403impl FieldValueWriter for UnderlyingLegSymbolSfxField {
41404    fn write_to(&self, buf: &mut Vec<u8>) {
41405        self.0.write_to(buf);
41406    }
41407}
41408
41409impl FieldValue for UnderlyingLegSymbolSfxField {}
41410
41411
41412/// `UnderlyingLocaleOfIssueField` is a `STRING` field, Tag 594.
41413pub struct UnderlyingLocaleOfIssueField(pub FIXString);
41414
41415impl UnderlyingLocaleOfIssueField {
41416
41417    pub fn new(val: String) -> Self { Self(val) }
41418    pub fn value(&self) -> &str { &self.0 }
41419
41420    pub fn tag() -> Tag { tag::UNDERLYING_LOCALE_OF_ISSUE }
41421}
41422
41423impl FieldValueReader for UnderlyingLocaleOfIssueField {
41424    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41425        self.0.read(raw)
41426    }
41427}
41428
41429impl FieldValueWriter for UnderlyingLocaleOfIssueField {
41430    fn write_to(&self, buf: &mut Vec<u8>) {
41431        self.0.write_to(buf);
41432    }
41433}
41434
41435impl FieldValue for UnderlyingLocaleOfIssueField {}
41436
41437
41438/// `UnderlyingMaturityDateField` is a `LOCALMKTDATE` field, Tag 542.
41439pub struct UnderlyingMaturityDateField(pub FIXString);
41440
41441impl UnderlyingMaturityDateField {
41442
41443    pub fn new(val: String) -> Self { Self(val) }
41444    pub fn value(&self) -> &str { &self.0 }
41445
41446    pub fn tag() -> Tag { tag::UNDERLYING_MATURITY_DATE }
41447}
41448
41449impl FieldValueReader for UnderlyingMaturityDateField {
41450    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41451        self.0.read(raw)
41452    }
41453}
41454
41455impl FieldValueWriter for UnderlyingMaturityDateField {
41456    fn write_to(&self, buf: &mut Vec<u8>) {
41457        self.0.write_to(buf);
41458    }
41459}
41460
41461impl FieldValue for UnderlyingMaturityDateField {}
41462
41463
41464/// `UnderlyingMaturityDayField` is a `DAYOFMONTH` field, Tag 314.
41465pub struct UnderlyingMaturityDayField(pub FIXInt);
41466
41467impl UnderlyingMaturityDayField {
41468
41469    pub fn new(val: isize) -> Self { Self(val) }
41470    pub fn value(&self) -> isize { self.0 }
41471
41472    pub fn tag() -> Tag { tag::UNDERLYING_MATURITY_DAY }
41473}
41474
41475impl FieldValueReader for UnderlyingMaturityDayField {
41476    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41477        self.0.read(raw)
41478    }
41479}
41480
41481impl FieldValueWriter for UnderlyingMaturityDayField {
41482    fn write_to(&self, buf: &mut Vec<u8>) {
41483        self.0.write_to(buf);
41484    }
41485}
41486
41487impl FieldValue for UnderlyingMaturityDayField {}
41488
41489
41490/// `UnderlyingMaturityMonthYearField` is a `MONTHYEAR` field, Tag 313.
41491pub struct UnderlyingMaturityMonthYearField(pub FIXString);
41492
41493impl UnderlyingMaturityMonthYearField {
41494
41495    pub fn new(val: String) -> Self { Self(val) }
41496    pub fn value(&self) -> &str { &self.0 }
41497
41498    pub fn tag() -> Tag { tag::UNDERLYING_MATURITY_MONTH_YEAR }
41499}
41500
41501impl FieldValueReader for UnderlyingMaturityMonthYearField {
41502    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41503        self.0.read(raw)
41504    }
41505}
41506
41507impl FieldValueWriter for UnderlyingMaturityMonthYearField {
41508    fn write_to(&self, buf: &mut Vec<u8>) {
41509        self.0.write_to(buf);
41510    }
41511}
41512
41513impl FieldValue for UnderlyingMaturityMonthYearField {}
41514
41515
41516/// `UnderlyingMaturityTimeField` is a `TZTIMEONLY` field, Tag 1213.
41517pub struct UnderlyingMaturityTimeField(pub FIXString);
41518
41519impl UnderlyingMaturityTimeField {
41520
41521    pub fn new(val: String) -> Self { Self(val) }
41522    pub fn value(&self) -> &str { &self.0 }
41523
41524    pub fn tag() -> Tag { tag::UNDERLYING_MATURITY_TIME }
41525}
41526
41527impl FieldValueReader for UnderlyingMaturityTimeField {
41528    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41529        self.0.read(raw)
41530    }
41531}
41532
41533impl FieldValueWriter for UnderlyingMaturityTimeField {
41534    fn write_to(&self, buf: &mut Vec<u8>) {
41535        self.0.write_to(buf);
41536    }
41537}
41538
41539impl FieldValue for UnderlyingMaturityTimeField {}
41540
41541
41542/// `UnderlyingNotionalPercentageOutstandingField` is a `PERCENTAGE` field, Tag 1455.
41543pub struct UnderlyingNotionalPercentageOutstandingField(pub FIXDecimal);
41544
41545impl UnderlyingNotionalPercentageOutstandingField {
41546
41547    pub fn new(val: Decimal, scale: i32) -> Self {
41548        Self(FIXDecimal { decimal: val, scale })
41549    }
41550    pub fn value(&self) -> Decimal { self.0.decimal }
41551
41552    pub fn tag() -> Tag { tag::UNDERLYING_NOTIONAL_PERCENTAGE_OUTSTANDING }
41553}
41554
41555impl FieldValueReader for UnderlyingNotionalPercentageOutstandingField {
41556    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41557        self.0.read(raw)
41558    }
41559}
41560
41561impl FieldValueWriter for UnderlyingNotionalPercentageOutstandingField {
41562    fn write_to(&self, buf: &mut Vec<u8>) {
41563        self.0.write_to(buf);
41564    }
41565}
41566
41567impl FieldValue for UnderlyingNotionalPercentageOutstandingField {}
41568
41569
41570/// `UnderlyingOptAttributeField` is a `CHAR` field, Tag 317.
41571pub struct UnderlyingOptAttributeField(pub FIXString);
41572
41573impl UnderlyingOptAttributeField {
41574
41575    pub fn new(val: String) -> Self { Self(val) }
41576    pub fn value(&self) -> &str { &self.0 }
41577
41578    pub fn tag() -> Tag { tag::UNDERLYING_OPT_ATTRIBUTE }
41579}
41580
41581impl FieldValueReader for UnderlyingOptAttributeField {
41582    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41583        self.0.read(raw)
41584    }
41585}
41586
41587impl FieldValueWriter for UnderlyingOptAttributeField {
41588    fn write_to(&self, buf: &mut Vec<u8>) {
41589        self.0.write_to(buf);
41590    }
41591}
41592
41593impl FieldValue for UnderlyingOptAttributeField {}
41594
41595
41596/// `UnderlyingOriginalNotionalPercentageOutstandingField` is a `PERCENTAGE` field, Tag 1456.
41597pub struct UnderlyingOriginalNotionalPercentageOutstandingField(pub FIXDecimal);
41598
41599impl UnderlyingOriginalNotionalPercentageOutstandingField {
41600
41601    pub fn new(val: Decimal, scale: i32) -> Self {
41602        Self(FIXDecimal { decimal: val, scale })
41603    }
41604    pub fn value(&self) -> Decimal { self.0.decimal }
41605
41606    pub fn tag() -> Tag { tag::UNDERLYING_ORIGINAL_NOTIONAL_PERCENTAGE_OUTSTANDING }
41607}
41608
41609impl FieldValueReader for UnderlyingOriginalNotionalPercentageOutstandingField {
41610    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41611        self.0.read(raw)
41612    }
41613}
41614
41615impl FieldValueWriter for UnderlyingOriginalNotionalPercentageOutstandingField {
41616    fn write_to(&self, buf: &mut Vec<u8>) {
41617        self.0.write_to(buf);
41618    }
41619}
41620
41621impl FieldValue for UnderlyingOriginalNotionalPercentageOutstandingField {}
41622
41623
41624/// `UnderlyingPayAmountField` is a `AMT` field, Tag 985.
41625pub struct UnderlyingPayAmountField(pub FIXDecimal);
41626
41627impl UnderlyingPayAmountField {
41628
41629    pub fn new(val: Decimal, scale: i32) -> Self {
41630        Self(FIXDecimal { decimal: val, scale })
41631    }
41632    pub fn value(&self) -> Decimal { self.0.decimal }
41633
41634    pub fn tag() -> Tag { tag::UNDERLYING_PAY_AMOUNT }
41635}
41636
41637impl FieldValueReader for UnderlyingPayAmountField {
41638    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41639        self.0.read(raw)
41640    }
41641}
41642
41643impl FieldValueWriter for UnderlyingPayAmountField {
41644    fn write_to(&self, buf: &mut Vec<u8>) {
41645        self.0.write_to(buf);
41646    }
41647}
41648
41649impl FieldValue for UnderlyingPayAmountField {}
41650
41651
41652/// `UnderlyingPriceDeterminationMethodField` is a `INT` field, Tag 1481.
41653pub struct UnderlyingPriceDeterminationMethodField(pub FIXInt);
41654
41655impl UnderlyingPriceDeterminationMethodField {
41656
41657    pub fn new(val: isize) -> Self { Self(val) }
41658    pub fn value(&self) -> isize { self.0 }
41659
41660    pub fn tag() -> Tag { tag::UNDERLYING_PRICE_DETERMINATION_METHOD }
41661}
41662
41663impl FieldValueReader for UnderlyingPriceDeterminationMethodField {
41664    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41665        self.0.read(raw)
41666    }
41667}
41668
41669impl FieldValueWriter for UnderlyingPriceDeterminationMethodField {
41670    fn write_to(&self, buf: &mut Vec<u8>) {
41671        self.0.write_to(buf);
41672    }
41673}
41674
41675impl FieldValue for UnderlyingPriceDeterminationMethodField {}
41676
41677
41678/// `UnderlyingPriceUnitOfMeasureField` is a `STRING` field, Tag 1424.
41679pub struct UnderlyingPriceUnitOfMeasureField(pub FIXString);
41680
41681impl UnderlyingPriceUnitOfMeasureField {
41682
41683    pub fn new(val: String) -> Self { Self(val) }
41684    pub fn value(&self) -> &str { &self.0 }
41685
41686    pub fn tag() -> Tag { tag::UNDERLYING_PRICE_UNIT_OF_MEASURE }
41687}
41688
41689impl FieldValueReader for UnderlyingPriceUnitOfMeasureField {
41690    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41691        self.0.read(raw)
41692    }
41693}
41694
41695impl FieldValueWriter for UnderlyingPriceUnitOfMeasureField {
41696    fn write_to(&self, buf: &mut Vec<u8>) {
41697        self.0.write_to(buf);
41698    }
41699}
41700
41701impl FieldValue for UnderlyingPriceUnitOfMeasureField {}
41702
41703
41704/// `UnderlyingPriceUnitOfMeasureQtyField` is a `QTY` field, Tag 1425.
41705pub struct UnderlyingPriceUnitOfMeasureQtyField(pub FIXDecimal);
41706
41707impl UnderlyingPriceUnitOfMeasureQtyField {
41708
41709    pub fn new(val: Decimal, scale: i32) -> Self {
41710        Self(FIXDecimal { decimal: val, scale })
41711    }
41712    pub fn value(&self) -> Decimal { self.0.decimal }
41713
41714    pub fn tag() -> Tag { tag::UNDERLYING_PRICE_UNIT_OF_MEASURE_QTY }
41715}
41716
41717impl FieldValueReader for UnderlyingPriceUnitOfMeasureQtyField {
41718    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41719        self.0.read(raw)
41720    }
41721}
41722
41723impl FieldValueWriter for UnderlyingPriceUnitOfMeasureQtyField {
41724    fn write_to(&self, buf: &mut Vec<u8>) {
41725        self.0.write_to(buf);
41726    }
41727}
41728
41729impl FieldValue for UnderlyingPriceUnitOfMeasureQtyField {}
41730
41731
41732/// `UnderlyingProductField` is a `INT` field, Tag 462.
41733pub struct UnderlyingProductField(pub FIXInt);
41734
41735impl UnderlyingProductField {
41736
41737    pub fn new(val: isize) -> Self { Self(val) }
41738    pub fn value(&self) -> isize { self.0 }
41739
41740    pub fn tag() -> Tag { tag::UNDERLYING_PRODUCT }
41741}
41742
41743impl FieldValueReader for UnderlyingProductField {
41744    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41745        self.0.read(raw)
41746    }
41747}
41748
41749impl FieldValueWriter for UnderlyingProductField {
41750    fn write_to(&self, buf: &mut Vec<u8>) {
41751        self.0.write_to(buf);
41752    }
41753}
41754
41755impl FieldValue for UnderlyingProductField {}
41756
41757
41758/// `UnderlyingPutOrCallField` is a `INT` field, Tag 315.
41759pub struct UnderlyingPutOrCallField(pub FIXInt);
41760
41761impl UnderlyingPutOrCallField {
41762
41763    pub fn new(val: isize) -> Self { Self(val) }
41764    pub fn value(&self) -> isize { self.0 }
41765
41766    pub fn tag() -> Tag { tag::UNDERLYING_PUT_OR_CALL }
41767}
41768
41769impl FieldValueReader for UnderlyingPutOrCallField {
41770    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41771        self.0.read(raw)
41772    }
41773}
41774
41775impl FieldValueWriter for UnderlyingPutOrCallField {
41776    fn write_to(&self, buf: &mut Vec<u8>) {
41777        self.0.write_to(buf);
41778    }
41779}
41780
41781impl FieldValue for UnderlyingPutOrCallField {}
41782
41783
41784/// `UnderlyingPxField` is a `PRICE` field, Tag 810.
41785pub struct UnderlyingPxField(pub FIXDecimal);
41786
41787impl UnderlyingPxField {
41788
41789    pub fn new(val: Decimal, scale: i32) -> Self {
41790        Self(FIXDecimal { decimal: val, scale })
41791    }
41792    pub fn value(&self) -> Decimal { self.0.decimal }
41793
41794    pub fn tag() -> Tag { tag::UNDERLYING_PX }
41795}
41796
41797impl FieldValueReader for UnderlyingPxField {
41798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41799        self.0.read(raw)
41800    }
41801}
41802
41803impl FieldValueWriter for UnderlyingPxField {
41804    fn write_to(&self, buf: &mut Vec<u8>) {
41805        self.0.write_to(buf);
41806    }
41807}
41808
41809impl FieldValue for UnderlyingPxField {}
41810
41811
41812/// `UnderlyingQtyField` is a `QTY` field, Tag 879.
41813pub struct UnderlyingQtyField(pub FIXDecimal);
41814
41815impl UnderlyingQtyField {
41816
41817    pub fn new(val: Decimal, scale: i32) -> Self {
41818        Self(FIXDecimal { decimal: val, scale })
41819    }
41820    pub fn value(&self) -> Decimal { self.0.decimal }
41821
41822    pub fn tag() -> Tag { tag::UNDERLYING_QTY }
41823}
41824
41825impl FieldValueReader for UnderlyingQtyField {
41826    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41827        self.0.read(raw)
41828    }
41829}
41830
41831impl FieldValueWriter for UnderlyingQtyField {
41832    fn write_to(&self, buf: &mut Vec<u8>) {
41833        self.0.write_to(buf);
41834    }
41835}
41836
41837impl FieldValue for UnderlyingQtyField {}
41838
41839
41840/// `UnderlyingRedemptionDateField` is a `LOCALMKTDATE` field, Tag 247.
41841pub struct UnderlyingRedemptionDateField(pub FIXString);
41842
41843impl UnderlyingRedemptionDateField {
41844
41845    pub fn new(val: String) -> Self { Self(val) }
41846    pub fn value(&self) -> &str { &self.0 }
41847
41848    pub fn tag() -> Tag { tag::UNDERLYING_REDEMPTION_DATE }
41849}
41850
41851impl FieldValueReader for UnderlyingRedemptionDateField {
41852    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41853        self.0.read(raw)
41854    }
41855}
41856
41857impl FieldValueWriter for UnderlyingRedemptionDateField {
41858    fn write_to(&self, buf: &mut Vec<u8>) {
41859        self.0.write_to(buf);
41860    }
41861}
41862
41863impl FieldValue for UnderlyingRedemptionDateField {}
41864
41865
41866/// `UnderlyingRepoCollateralSecurityTypeField` is a `INT` field, Tag 243.
41867pub struct UnderlyingRepoCollateralSecurityTypeField(pub FIXInt);
41868
41869impl UnderlyingRepoCollateralSecurityTypeField {
41870
41871    pub fn new(val: isize) -> Self { Self(val) }
41872    pub fn value(&self) -> isize { self.0 }
41873
41874    pub fn tag() -> Tag { tag::UNDERLYING_REPO_COLLATERAL_SECURITY_TYPE }
41875}
41876
41877impl FieldValueReader for UnderlyingRepoCollateralSecurityTypeField {
41878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41879        self.0.read(raw)
41880    }
41881}
41882
41883impl FieldValueWriter for UnderlyingRepoCollateralSecurityTypeField {
41884    fn write_to(&self, buf: &mut Vec<u8>) {
41885        self.0.write_to(buf);
41886    }
41887}
41888
41889impl FieldValue for UnderlyingRepoCollateralSecurityTypeField {}
41890
41891
41892/// `UnderlyingRepurchaseRateField` is a `PERCENTAGE` field, Tag 245.
41893pub struct UnderlyingRepurchaseRateField(pub FIXDecimal);
41894
41895impl UnderlyingRepurchaseRateField {
41896
41897    pub fn new(val: Decimal, scale: i32) -> Self {
41898        Self(FIXDecimal { decimal: val, scale })
41899    }
41900    pub fn value(&self) -> Decimal { self.0.decimal }
41901
41902    pub fn tag() -> Tag { tag::UNDERLYING_REPURCHASE_RATE }
41903}
41904
41905impl FieldValueReader for UnderlyingRepurchaseRateField {
41906    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41907        self.0.read(raw)
41908    }
41909}
41910
41911impl FieldValueWriter for UnderlyingRepurchaseRateField {
41912    fn write_to(&self, buf: &mut Vec<u8>) {
41913        self.0.write_to(buf);
41914    }
41915}
41916
41917impl FieldValue for UnderlyingRepurchaseRateField {}
41918
41919
41920/// `UnderlyingRepurchaseTermField` is a `INT` field, Tag 244.
41921pub struct UnderlyingRepurchaseTermField(pub FIXInt);
41922
41923impl UnderlyingRepurchaseTermField {
41924
41925    pub fn new(val: isize) -> Self { Self(val) }
41926    pub fn value(&self) -> isize { self.0 }
41927
41928    pub fn tag() -> Tag { tag::UNDERLYING_REPURCHASE_TERM }
41929}
41930
41931impl FieldValueReader for UnderlyingRepurchaseTermField {
41932    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41933        self.0.read(raw)
41934    }
41935}
41936
41937impl FieldValueWriter for UnderlyingRepurchaseTermField {
41938    fn write_to(&self, buf: &mut Vec<u8>) {
41939        self.0.write_to(buf);
41940    }
41941}
41942
41943impl FieldValue for UnderlyingRepurchaseTermField {}
41944
41945
41946/// `UnderlyingRestructuringTypeField` is a `STRING` field, Tag 1453.
41947pub struct UnderlyingRestructuringTypeField(pub FIXString);
41948
41949impl UnderlyingRestructuringTypeField {
41950
41951    pub fn new(val: String) -> Self { Self(val) }
41952    pub fn value(&self) -> &str { &self.0 }
41953
41954    pub fn tag() -> Tag { tag::UNDERLYING_RESTRUCTURING_TYPE }
41955}
41956
41957impl FieldValueReader for UnderlyingRestructuringTypeField {
41958    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41959        self.0.read(raw)
41960    }
41961}
41962
41963impl FieldValueWriter for UnderlyingRestructuringTypeField {
41964    fn write_to(&self, buf: &mut Vec<u8>) {
41965        self.0.write_to(buf);
41966    }
41967}
41968
41969impl FieldValue for UnderlyingRestructuringTypeField {}
41970
41971
41972/// `UnderlyingSecurityAltIDField` is a `STRING` field, Tag 458.
41973pub struct UnderlyingSecurityAltIDField(pub FIXString);
41974
41975impl UnderlyingSecurityAltIDField {
41976
41977    pub fn new(val: String) -> Self { Self(val) }
41978    pub fn value(&self) -> &str { &self.0 }
41979
41980    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_ALT_ID }
41981}
41982
41983impl FieldValueReader for UnderlyingSecurityAltIDField {
41984    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
41985        self.0.read(raw)
41986    }
41987}
41988
41989impl FieldValueWriter for UnderlyingSecurityAltIDField {
41990    fn write_to(&self, buf: &mut Vec<u8>) {
41991        self.0.write_to(buf);
41992    }
41993}
41994
41995impl FieldValue for UnderlyingSecurityAltIDField {}
41996
41997
41998/// `UnderlyingSecurityAltIDSourceField` is a `STRING` field, Tag 459.
41999pub struct UnderlyingSecurityAltIDSourceField(pub FIXString);
42000
42001impl UnderlyingSecurityAltIDSourceField {
42002
42003    pub fn new(val: String) -> Self { Self(val) }
42004    pub fn value(&self) -> &str { &self.0 }
42005
42006    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_ALT_ID_SOURCE }
42007}
42008
42009impl FieldValueReader for UnderlyingSecurityAltIDSourceField {
42010    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42011        self.0.read(raw)
42012    }
42013}
42014
42015impl FieldValueWriter for UnderlyingSecurityAltIDSourceField {
42016    fn write_to(&self, buf: &mut Vec<u8>) {
42017        self.0.write_to(buf);
42018    }
42019}
42020
42021impl FieldValue for UnderlyingSecurityAltIDSourceField {}
42022
42023
42024/// `UnderlyingSecurityDescField` is a `STRING` field, Tag 307.
42025pub struct UnderlyingSecurityDescField(pub FIXString);
42026
42027impl UnderlyingSecurityDescField {
42028
42029    pub fn new(val: String) -> Self { Self(val) }
42030    pub fn value(&self) -> &str { &self.0 }
42031
42032    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_DESC }
42033}
42034
42035impl FieldValueReader for UnderlyingSecurityDescField {
42036    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42037        self.0.read(raw)
42038    }
42039}
42040
42041impl FieldValueWriter for UnderlyingSecurityDescField {
42042    fn write_to(&self, buf: &mut Vec<u8>) {
42043        self.0.write_to(buf);
42044    }
42045}
42046
42047impl FieldValue for UnderlyingSecurityDescField {}
42048
42049
42050/// `UnderlyingSecurityExchangeField` is a `EXCHANGE` field, Tag 308.
42051pub struct UnderlyingSecurityExchangeField(pub FIXString);
42052
42053impl UnderlyingSecurityExchangeField {
42054
42055    pub fn new(val: String) -> Self { Self(val) }
42056    pub fn value(&self) -> &str { &self.0 }
42057
42058    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_EXCHANGE }
42059}
42060
42061impl FieldValueReader for UnderlyingSecurityExchangeField {
42062    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42063        self.0.read(raw)
42064    }
42065}
42066
42067impl FieldValueWriter for UnderlyingSecurityExchangeField {
42068    fn write_to(&self, buf: &mut Vec<u8>) {
42069        self.0.write_to(buf);
42070    }
42071}
42072
42073impl FieldValue for UnderlyingSecurityExchangeField {}
42074
42075
42076/// `UnderlyingSecurityIDField` is a `STRING` field, Tag 309.
42077pub struct UnderlyingSecurityIDField(pub FIXString);
42078
42079impl UnderlyingSecurityIDField {
42080
42081    pub fn new(val: String) -> Self { Self(val) }
42082    pub fn value(&self) -> &str { &self.0 }
42083
42084    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_ID }
42085}
42086
42087impl FieldValueReader for UnderlyingSecurityIDField {
42088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42089        self.0.read(raw)
42090    }
42091}
42092
42093impl FieldValueWriter for UnderlyingSecurityIDField {
42094    fn write_to(&self, buf: &mut Vec<u8>) {
42095        self.0.write_to(buf);
42096    }
42097}
42098
42099impl FieldValue for UnderlyingSecurityIDField {}
42100
42101
42102/// `UnderlyingSecurityIDSourceField` is a `STRING` field, Tag 305.
42103pub struct UnderlyingSecurityIDSourceField(pub FIXString);
42104
42105impl UnderlyingSecurityIDSourceField {
42106
42107    pub fn new(val: String) -> Self { Self(val) }
42108    pub fn value(&self) -> &str { &self.0 }
42109
42110    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_ID_SOURCE }
42111}
42112
42113impl FieldValueReader for UnderlyingSecurityIDSourceField {
42114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42115        self.0.read(raw)
42116    }
42117}
42118
42119impl FieldValueWriter for UnderlyingSecurityIDSourceField {
42120    fn write_to(&self, buf: &mut Vec<u8>) {
42121        self.0.write_to(buf);
42122    }
42123}
42124
42125impl FieldValue for UnderlyingSecurityIDSourceField {}
42126
42127
42128/// `UnderlyingSecuritySubTypeField` is a `STRING` field, Tag 763.
42129pub struct UnderlyingSecuritySubTypeField(pub FIXString);
42130
42131impl UnderlyingSecuritySubTypeField {
42132
42133    pub fn new(val: String) -> Self { Self(val) }
42134    pub fn value(&self) -> &str { &self.0 }
42135
42136    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_SUB_TYPE }
42137}
42138
42139impl FieldValueReader for UnderlyingSecuritySubTypeField {
42140    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42141        self.0.read(raw)
42142    }
42143}
42144
42145impl FieldValueWriter for UnderlyingSecuritySubTypeField {
42146    fn write_to(&self, buf: &mut Vec<u8>) {
42147        self.0.write_to(buf);
42148    }
42149}
42150
42151impl FieldValue for UnderlyingSecuritySubTypeField {}
42152
42153
42154/// `UnderlyingSecurityTypeField` is a `STRING` field, Tag 310.
42155pub struct UnderlyingSecurityTypeField(pub FIXString);
42156
42157impl UnderlyingSecurityTypeField {
42158
42159    pub fn new(val: String) -> Self { Self(val) }
42160    pub fn value(&self) -> &str { &self.0 }
42161
42162    pub fn tag() -> Tag { tag::UNDERLYING_SECURITY_TYPE }
42163}
42164
42165impl FieldValueReader for UnderlyingSecurityTypeField {
42166    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42167        self.0.read(raw)
42168    }
42169}
42170
42171impl FieldValueWriter for UnderlyingSecurityTypeField {
42172    fn write_to(&self, buf: &mut Vec<u8>) {
42173        self.0.write_to(buf);
42174    }
42175}
42176
42177impl FieldValue for UnderlyingSecurityTypeField {}
42178
42179
42180/// `UnderlyingSeniorityField` is a `STRING` field, Tag 1454.
42181pub struct UnderlyingSeniorityField(pub FIXString);
42182
42183impl UnderlyingSeniorityField {
42184
42185    pub fn new(val: String) -> Self { Self(val) }
42186    pub fn value(&self) -> &str { &self.0 }
42187
42188    pub fn tag() -> Tag { tag::UNDERLYING_SENIORITY }
42189}
42190
42191impl FieldValueReader for UnderlyingSeniorityField {
42192    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42193        self.0.read(raw)
42194    }
42195}
42196
42197impl FieldValueWriter for UnderlyingSeniorityField {
42198    fn write_to(&self, buf: &mut Vec<u8>) {
42199        self.0.write_to(buf);
42200    }
42201}
42202
42203impl FieldValue for UnderlyingSeniorityField {}
42204
42205
42206/// `UnderlyingSettlMethodField` is a `STRING` field, Tag 1039.
42207pub struct UnderlyingSettlMethodField(pub FIXString);
42208
42209impl UnderlyingSettlMethodField {
42210
42211    pub fn new(val: String) -> Self { Self(val) }
42212    pub fn value(&self) -> &str { &self.0 }
42213
42214    pub fn tag() -> Tag { tag::UNDERLYING_SETTL_METHOD }
42215}
42216
42217impl FieldValueReader for UnderlyingSettlMethodField {
42218    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42219        self.0.read(raw)
42220    }
42221}
42222
42223impl FieldValueWriter for UnderlyingSettlMethodField {
42224    fn write_to(&self, buf: &mut Vec<u8>) {
42225        self.0.write_to(buf);
42226    }
42227}
42228
42229impl FieldValue for UnderlyingSettlMethodField {}
42230
42231
42232/// `UnderlyingSettlPriceField` is a `PRICE` field, Tag 732.
42233pub struct UnderlyingSettlPriceField(pub FIXDecimal);
42234
42235impl UnderlyingSettlPriceField {
42236
42237    pub fn new(val: Decimal, scale: i32) -> Self {
42238        Self(FIXDecimal { decimal: val, scale })
42239    }
42240    pub fn value(&self) -> Decimal { self.0.decimal }
42241
42242    pub fn tag() -> Tag { tag::UNDERLYING_SETTL_PRICE }
42243}
42244
42245impl FieldValueReader for UnderlyingSettlPriceField {
42246    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42247        self.0.read(raw)
42248    }
42249}
42250
42251impl FieldValueWriter for UnderlyingSettlPriceField {
42252    fn write_to(&self, buf: &mut Vec<u8>) {
42253        self.0.write_to(buf);
42254    }
42255}
42256
42257impl FieldValue for UnderlyingSettlPriceField {}
42258
42259
42260/// `UnderlyingSettlPriceTypeField` is a `INT` field, Tag 733.
42261pub struct UnderlyingSettlPriceTypeField(pub FIXInt);
42262
42263impl UnderlyingSettlPriceTypeField {
42264
42265    pub fn new(val: isize) -> Self { Self(val) }
42266    pub fn value(&self) -> isize { self.0 }
42267
42268    pub fn tag() -> Tag { tag::UNDERLYING_SETTL_PRICE_TYPE }
42269}
42270
42271impl FieldValueReader for UnderlyingSettlPriceTypeField {
42272    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42273        self.0.read(raw)
42274    }
42275}
42276
42277impl FieldValueWriter for UnderlyingSettlPriceTypeField {
42278    fn write_to(&self, buf: &mut Vec<u8>) {
42279        self.0.write_to(buf);
42280    }
42281}
42282
42283impl FieldValue for UnderlyingSettlPriceTypeField {}
42284
42285
42286/// `UnderlyingSettlementDateField` is a `LOCALMKTDATE` field, Tag 987.
42287pub struct UnderlyingSettlementDateField(pub FIXString);
42288
42289impl UnderlyingSettlementDateField {
42290
42291    pub fn new(val: String) -> Self { Self(val) }
42292    pub fn value(&self) -> &str { &self.0 }
42293
42294    pub fn tag() -> Tag { tag::UNDERLYING_SETTLEMENT_DATE }
42295}
42296
42297impl FieldValueReader for UnderlyingSettlementDateField {
42298    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42299        self.0.read(raw)
42300    }
42301}
42302
42303impl FieldValueWriter for UnderlyingSettlementDateField {
42304    fn write_to(&self, buf: &mut Vec<u8>) {
42305        self.0.write_to(buf);
42306    }
42307}
42308
42309impl FieldValue for UnderlyingSettlementDateField {}
42310
42311
42312/// `UnderlyingSettlementStatusField` is a `STRING` field, Tag 988.
42313pub struct UnderlyingSettlementStatusField(pub FIXString);
42314
42315impl UnderlyingSettlementStatusField {
42316
42317    pub fn new(val: String) -> Self { Self(val) }
42318    pub fn value(&self) -> &str { &self.0 }
42319
42320    pub fn tag() -> Tag { tag::UNDERLYING_SETTLEMENT_STATUS }
42321}
42322
42323impl FieldValueReader for UnderlyingSettlementStatusField {
42324    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42325        self.0.read(raw)
42326    }
42327}
42328
42329impl FieldValueWriter for UnderlyingSettlementStatusField {
42330    fn write_to(&self, buf: &mut Vec<u8>) {
42331        self.0.write_to(buf);
42332    }
42333}
42334
42335impl FieldValue for UnderlyingSettlementStatusField {}
42336
42337
42338/// `UnderlyingSettlementTypeField` is a `INT` field, Tag 975.
42339pub struct UnderlyingSettlementTypeField(pub FIXInt);
42340
42341impl UnderlyingSettlementTypeField {
42342
42343    pub fn new(val: isize) -> Self { Self(val) }
42344    pub fn value(&self) -> isize { self.0 }
42345
42346    pub fn tag() -> Tag { tag::UNDERLYING_SETTLEMENT_TYPE }
42347}
42348
42349impl FieldValueReader for UnderlyingSettlementTypeField {
42350    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42351        self.0.read(raw)
42352    }
42353}
42354
42355impl FieldValueWriter for UnderlyingSettlementTypeField {
42356    fn write_to(&self, buf: &mut Vec<u8>) {
42357        self.0.write_to(buf);
42358    }
42359}
42360
42361impl FieldValue for UnderlyingSettlementTypeField {}
42362
42363
42364/// `UnderlyingStartValueField` is a `AMT` field, Tag 884.
42365pub struct UnderlyingStartValueField(pub FIXDecimal);
42366
42367impl UnderlyingStartValueField {
42368
42369    pub fn new(val: Decimal, scale: i32) -> Self {
42370        Self(FIXDecimal { decimal: val, scale })
42371    }
42372    pub fn value(&self) -> Decimal { self.0.decimal }
42373
42374    pub fn tag() -> Tag { tag::UNDERLYING_START_VALUE }
42375}
42376
42377impl FieldValueReader for UnderlyingStartValueField {
42378    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42379        self.0.read(raw)
42380    }
42381}
42382
42383impl FieldValueWriter for UnderlyingStartValueField {
42384    fn write_to(&self, buf: &mut Vec<u8>) {
42385        self.0.write_to(buf);
42386    }
42387}
42388
42389impl FieldValue for UnderlyingStartValueField {}
42390
42391
42392/// `UnderlyingStateOrProvinceOfIssueField` is a `STRING` field, Tag 593.
42393pub struct UnderlyingStateOrProvinceOfIssueField(pub FIXString);
42394
42395impl UnderlyingStateOrProvinceOfIssueField {
42396
42397    pub fn new(val: String) -> Self { Self(val) }
42398    pub fn value(&self) -> &str { &self.0 }
42399
42400    pub fn tag() -> Tag { tag::UNDERLYING_STATE_OR_PROVINCE_OF_ISSUE }
42401}
42402
42403impl FieldValueReader for UnderlyingStateOrProvinceOfIssueField {
42404    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42405        self.0.read(raw)
42406    }
42407}
42408
42409impl FieldValueWriter for UnderlyingStateOrProvinceOfIssueField {
42410    fn write_to(&self, buf: &mut Vec<u8>) {
42411        self.0.write_to(buf);
42412    }
42413}
42414
42415impl FieldValue for UnderlyingStateOrProvinceOfIssueField {}
42416
42417
42418/// `UnderlyingStipTypeField` is a `STRING` field, Tag 888.
42419pub struct UnderlyingStipTypeField(pub FIXString);
42420
42421impl UnderlyingStipTypeField {
42422
42423    pub fn new(val: String) -> Self { Self(val) }
42424    pub fn value(&self) -> &str { &self.0 }
42425
42426    pub fn tag() -> Tag { tag::UNDERLYING_STIP_TYPE }
42427}
42428
42429impl FieldValueReader for UnderlyingStipTypeField {
42430    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42431        self.0.read(raw)
42432    }
42433}
42434
42435impl FieldValueWriter for UnderlyingStipTypeField {
42436    fn write_to(&self, buf: &mut Vec<u8>) {
42437        self.0.write_to(buf);
42438    }
42439}
42440
42441impl FieldValue for UnderlyingStipTypeField {}
42442
42443
42444/// `UnderlyingStipValueField` is a `STRING` field, Tag 889.
42445pub struct UnderlyingStipValueField(pub FIXString);
42446
42447impl UnderlyingStipValueField {
42448
42449    pub fn new(val: String) -> Self { Self(val) }
42450    pub fn value(&self) -> &str { &self.0 }
42451
42452    pub fn tag() -> Tag { tag::UNDERLYING_STIP_VALUE }
42453}
42454
42455impl FieldValueReader for UnderlyingStipValueField {
42456    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42457        self.0.read(raw)
42458    }
42459}
42460
42461impl FieldValueWriter for UnderlyingStipValueField {
42462    fn write_to(&self, buf: &mut Vec<u8>) {
42463        self.0.write_to(buf);
42464    }
42465}
42466
42467impl FieldValue for UnderlyingStipValueField {}
42468
42469
42470/// `UnderlyingStrikeCurrencyField` is a `CURRENCY` field, Tag 941.
42471pub struct UnderlyingStrikeCurrencyField(pub FIXString);
42472
42473impl UnderlyingStrikeCurrencyField {
42474
42475    pub fn new(val: String) -> Self { Self(val) }
42476    pub fn value(&self) -> &str { &self.0 }
42477
42478    pub fn tag() -> Tag { tag::UNDERLYING_STRIKE_CURRENCY }
42479}
42480
42481impl FieldValueReader for UnderlyingStrikeCurrencyField {
42482    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42483        self.0.read(raw)
42484    }
42485}
42486
42487impl FieldValueWriter for UnderlyingStrikeCurrencyField {
42488    fn write_to(&self, buf: &mut Vec<u8>) {
42489        self.0.write_to(buf);
42490    }
42491}
42492
42493impl FieldValue for UnderlyingStrikeCurrencyField {}
42494
42495
42496/// `UnderlyingStrikePriceField` is a `PRICE` field, Tag 316.
42497pub struct UnderlyingStrikePriceField(pub FIXDecimal);
42498
42499impl UnderlyingStrikePriceField {
42500
42501    pub fn new(val: Decimal, scale: i32) -> Self {
42502        Self(FIXDecimal { decimal: val, scale })
42503    }
42504    pub fn value(&self) -> Decimal { self.0.decimal }
42505
42506    pub fn tag() -> Tag { tag::UNDERLYING_STRIKE_PRICE }
42507}
42508
42509impl FieldValueReader for UnderlyingStrikePriceField {
42510    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42511        self.0.read(raw)
42512    }
42513}
42514
42515impl FieldValueWriter for UnderlyingStrikePriceField {
42516    fn write_to(&self, buf: &mut Vec<u8>) {
42517        self.0.write_to(buf);
42518    }
42519}
42520
42521impl FieldValue for UnderlyingStrikePriceField {}
42522
42523
42524/// `UnderlyingSymbolField` is a `STRING` field, Tag 311.
42525pub struct UnderlyingSymbolField(pub FIXString);
42526
42527impl UnderlyingSymbolField {
42528
42529    pub fn new(val: String) -> Self { Self(val) }
42530    pub fn value(&self) -> &str { &self.0 }
42531
42532    pub fn tag() -> Tag { tag::UNDERLYING_SYMBOL }
42533}
42534
42535impl FieldValueReader for UnderlyingSymbolField {
42536    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42537        self.0.read(raw)
42538    }
42539}
42540
42541impl FieldValueWriter for UnderlyingSymbolField {
42542    fn write_to(&self, buf: &mut Vec<u8>) {
42543        self.0.write_to(buf);
42544    }
42545}
42546
42547impl FieldValue for UnderlyingSymbolField {}
42548
42549
42550/// `UnderlyingSymbolSfxField` is a `STRING` field, Tag 312.
42551pub struct UnderlyingSymbolSfxField(pub FIXString);
42552
42553impl UnderlyingSymbolSfxField {
42554
42555    pub fn new(val: String) -> Self { Self(val) }
42556    pub fn value(&self) -> &str { &self.0 }
42557
42558    pub fn tag() -> Tag { tag::UNDERLYING_SYMBOL_SFX }
42559}
42560
42561impl FieldValueReader for UnderlyingSymbolSfxField {
42562    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42563        self.0.read(raw)
42564    }
42565}
42566
42567impl FieldValueWriter for UnderlyingSymbolSfxField {
42568    fn write_to(&self, buf: &mut Vec<u8>) {
42569        self.0.write_to(buf);
42570    }
42571}
42572
42573impl FieldValue for UnderlyingSymbolSfxField {}
42574
42575
42576/// `UnderlyingTimeUnitField` is a `STRING` field, Tag 1000.
42577pub struct UnderlyingTimeUnitField(pub FIXString);
42578
42579impl UnderlyingTimeUnitField {
42580
42581    pub fn new(val: String) -> Self { Self(val) }
42582    pub fn value(&self) -> &str { &self.0 }
42583
42584    pub fn tag() -> Tag { tag::UNDERLYING_TIME_UNIT }
42585}
42586
42587impl FieldValueReader for UnderlyingTimeUnitField {
42588    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42589        self.0.read(raw)
42590    }
42591}
42592
42593impl FieldValueWriter for UnderlyingTimeUnitField {
42594    fn write_to(&self, buf: &mut Vec<u8>) {
42595        self.0.write_to(buf);
42596    }
42597}
42598
42599impl FieldValue for UnderlyingTimeUnitField {}
42600
42601
42602/// `UnderlyingTradingSessionIDField` is a `STRING` field, Tag 822.
42603pub struct UnderlyingTradingSessionIDField(pub FIXString);
42604
42605impl UnderlyingTradingSessionIDField {
42606
42607    pub fn new(val: String) -> Self { Self(val) }
42608    pub fn value(&self) -> &str { &self.0 }
42609
42610    pub fn tag() -> Tag { tag::UNDERLYING_TRADING_SESSION_ID }
42611}
42612
42613impl FieldValueReader for UnderlyingTradingSessionIDField {
42614    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42615        self.0.read(raw)
42616    }
42617}
42618
42619impl FieldValueWriter for UnderlyingTradingSessionIDField {
42620    fn write_to(&self, buf: &mut Vec<u8>) {
42621        self.0.write_to(buf);
42622    }
42623}
42624
42625impl FieldValue for UnderlyingTradingSessionIDField {}
42626
42627
42628/// `UnderlyingTradingSessionSubIDField` is a `STRING` field, Tag 823.
42629pub struct UnderlyingTradingSessionSubIDField(pub FIXString);
42630
42631impl UnderlyingTradingSessionSubIDField {
42632
42633    pub fn new(val: String) -> Self { Self(val) }
42634    pub fn value(&self) -> &str { &self.0 }
42635
42636    pub fn tag() -> Tag { tag::UNDERLYING_TRADING_SESSION_SUB_ID }
42637}
42638
42639impl FieldValueReader for UnderlyingTradingSessionSubIDField {
42640    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42641        self.0.read(raw)
42642    }
42643}
42644
42645impl FieldValueWriter for UnderlyingTradingSessionSubIDField {
42646    fn write_to(&self, buf: &mut Vec<u8>) {
42647        self.0.write_to(buf);
42648    }
42649}
42650
42651impl FieldValue for UnderlyingTradingSessionSubIDField {}
42652
42653
42654/// `UnderlyingUnitOfMeasureField` is a `STRING` field, Tag 998.
42655pub struct UnderlyingUnitOfMeasureField(pub FIXString);
42656
42657impl UnderlyingUnitOfMeasureField {
42658
42659    pub fn new(val: String) -> Self { Self(val) }
42660    pub fn value(&self) -> &str { &self.0 }
42661
42662    pub fn tag() -> Tag { tag::UNDERLYING_UNIT_OF_MEASURE }
42663}
42664
42665impl FieldValueReader for UnderlyingUnitOfMeasureField {
42666    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42667        self.0.read(raw)
42668    }
42669}
42670
42671impl FieldValueWriter for UnderlyingUnitOfMeasureField {
42672    fn write_to(&self, buf: &mut Vec<u8>) {
42673        self.0.write_to(buf);
42674    }
42675}
42676
42677impl FieldValue for UnderlyingUnitOfMeasureField {}
42678
42679
42680/// `UnderlyingUnitOfMeasureQtyField` is a `QTY` field, Tag 1423.
42681pub struct UnderlyingUnitOfMeasureQtyField(pub FIXDecimal);
42682
42683impl UnderlyingUnitOfMeasureQtyField {
42684
42685    pub fn new(val: Decimal, scale: i32) -> Self {
42686        Self(FIXDecimal { decimal: val, scale })
42687    }
42688    pub fn value(&self) -> Decimal { self.0.decimal }
42689
42690    pub fn tag() -> Tag { tag::UNDERLYING_UNIT_OF_MEASURE_QTY }
42691}
42692
42693impl FieldValueReader for UnderlyingUnitOfMeasureQtyField {
42694    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42695        self.0.read(raw)
42696    }
42697}
42698
42699impl FieldValueWriter for UnderlyingUnitOfMeasureQtyField {
42700    fn write_to(&self, buf: &mut Vec<u8>) {
42701        self.0.write_to(buf);
42702    }
42703}
42704
42705impl FieldValue for UnderlyingUnitOfMeasureQtyField {}
42706
42707
42708/// `UndlyInstrumentPartyIDField` is a `STRING` field, Tag 1059.
42709pub struct UndlyInstrumentPartyIDField(pub FIXString);
42710
42711impl UndlyInstrumentPartyIDField {
42712
42713    pub fn new(val: String) -> Self { Self(val) }
42714    pub fn value(&self) -> &str { &self.0 }
42715
42716    pub fn tag() -> Tag { tag::UNDLY_INSTRUMENT_PARTY_ID }
42717}
42718
42719impl FieldValueReader for UndlyInstrumentPartyIDField {
42720    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42721        self.0.read(raw)
42722    }
42723}
42724
42725impl FieldValueWriter for UndlyInstrumentPartyIDField {
42726    fn write_to(&self, buf: &mut Vec<u8>) {
42727        self.0.write_to(buf);
42728    }
42729}
42730
42731impl FieldValue for UndlyInstrumentPartyIDField {}
42732
42733
42734/// `UndlyInstrumentPartyIDSourceField` is a `CHAR` field, Tag 1060.
42735pub struct UndlyInstrumentPartyIDSourceField(pub FIXString);
42736
42737impl UndlyInstrumentPartyIDSourceField {
42738
42739    pub fn new(val: String) -> Self { Self(val) }
42740    pub fn value(&self) -> &str { &self.0 }
42741
42742    pub fn tag() -> Tag { tag::UNDLY_INSTRUMENT_PARTY_ID_SOURCE }
42743}
42744
42745impl FieldValueReader for UndlyInstrumentPartyIDSourceField {
42746    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42747        self.0.read(raw)
42748    }
42749}
42750
42751impl FieldValueWriter for UndlyInstrumentPartyIDSourceField {
42752    fn write_to(&self, buf: &mut Vec<u8>) {
42753        self.0.write_to(buf);
42754    }
42755}
42756
42757impl FieldValue for UndlyInstrumentPartyIDSourceField {}
42758
42759
42760/// `UndlyInstrumentPartyRoleField` is a `INT` field, Tag 1061.
42761pub struct UndlyInstrumentPartyRoleField(pub FIXInt);
42762
42763impl UndlyInstrumentPartyRoleField {
42764
42765    pub fn new(val: isize) -> Self { Self(val) }
42766    pub fn value(&self) -> isize { self.0 }
42767
42768    pub fn tag() -> Tag { tag::UNDLY_INSTRUMENT_PARTY_ROLE }
42769}
42770
42771impl FieldValueReader for UndlyInstrumentPartyRoleField {
42772    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42773        self.0.read(raw)
42774    }
42775}
42776
42777impl FieldValueWriter for UndlyInstrumentPartyRoleField {
42778    fn write_to(&self, buf: &mut Vec<u8>) {
42779        self.0.write_to(buf);
42780    }
42781}
42782
42783impl FieldValue for UndlyInstrumentPartyRoleField {}
42784
42785
42786/// `UndlyInstrumentPartySubIDField` is a `STRING` field, Tag 1063.
42787pub struct UndlyInstrumentPartySubIDField(pub FIXString);
42788
42789impl UndlyInstrumentPartySubIDField {
42790
42791    pub fn new(val: String) -> Self { Self(val) }
42792    pub fn value(&self) -> &str { &self.0 }
42793
42794    pub fn tag() -> Tag { tag::UNDLY_INSTRUMENT_PARTY_SUB_ID }
42795}
42796
42797impl FieldValueReader for UndlyInstrumentPartySubIDField {
42798    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42799        self.0.read(raw)
42800    }
42801}
42802
42803impl FieldValueWriter for UndlyInstrumentPartySubIDField {
42804    fn write_to(&self, buf: &mut Vec<u8>) {
42805        self.0.write_to(buf);
42806    }
42807}
42808
42809impl FieldValue for UndlyInstrumentPartySubIDField {}
42810
42811
42812/// `UndlyInstrumentPartySubIDTypeField` is a `INT` field, Tag 1064.
42813pub struct UndlyInstrumentPartySubIDTypeField(pub FIXInt);
42814
42815impl UndlyInstrumentPartySubIDTypeField {
42816
42817    pub fn new(val: isize) -> Self { Self(val) }
42818    pub fn value(&self) -> isize { self.0 }
42819
42820    pub fn tag() -> Tag { tag::UNDLY_INSTRUMENT_PARTY_SUB_ID_TYPE }
42821}
42822
42823impl FieldValueReader for UndlyInstrumentPartySubIDTypeField {
42824    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42825        self.0.read(raw)
42826    }
42827}
42828
42829impl FieldValueWriter for UndlyInstrumentPartySubIDTypeField {
42830    fn write_to(&self, buf: &mut Vec<u8>) {
42831        self.0.write_to(buf);
42832    }
42833}
42834
42835impl FieldValue for UndlyInstrumentPartySubIDTypeField {}
42836
42837
42838/// `UnitOfMeasureField` is a `STRING` field, Tag 996.
42839pub struct UnitOfMeasureField(pub FIXString);
42840
42841impl UnitOfMeasureField {
42842
42843    pub fn new(val: String) -> Self { Self(val) }
42844    pub fn value(&self) -> &str { &self.0 }
42845
42846    pub fn tag() -> Tag { tag::UNIT_OF_MEASURE }
42847}
42848
42849impl FieldValueReader for UnitOfMeasureField {
42850    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42851        self.0.read(raw)
42852    }
42853}
42854
42855impl FieldValueWriter for UnitOfMeasureField {
42856    fn write_to(&self, buf: &mut Vec<u8>) {
42857        self.0.write_to(buf);
42858    }
42859}
42860
42861impl FieldValue for UnitOfMeasureField {}
42862
42863
42864/// `UnitOfMeasureQtyField` is a `QTY` field, Tag 1147.
42865pub struct UnitOfMeasureQtyField(pub FIXDecimal);
42866
42867impl UnitOfMeasureQtyField {
42868
42869    pub fn new(val: Decimal, scale: i32) -> Self {
42870        Self(FIXDecimal { decimal: val, scale })
42871    }
42872    pub fn value(&self) -> Decimal { self.0.decimal }
42873
42874    pub fn tag() -> Tag { tag::UNIT_OF_MEASURE_QTY }
42875}
42876
42877impl FieldValueReader for UnitOfMeasureQtyField {
42878    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42879        self.0.read(raw)
42880    }
42881}
42882
42883impl FieldValueWriter for UnitOfMeasureQtyField {
42884    fn write_to(&self, buf: &mut Vec<u8>) {
42885        self.0.write_to(buf);
42886    }
42887}
42888
42889impl FieldValue for UnitOfMeasureQtyField {}
42890
42891
42892/// `UnsolicitedIndicatorField` is a `BOOLEAN` field, Tag 325.
42893pub struct UnsolicitedIndicatorField(pub FIXBoolean);
42894
42895impl UnsolicitedIndicatorField {
42896
42897    pub fn new(val: bool) -> Self { Self(val) }
42898    pub fn value(&self) -> bool { self.0 }
42899
42900    pub fn tag() -> Tag { tag::UNSOLICITED_INDICATOR }
42901}
42902
42903impl FieldValueReader for UnsolicitedIndicatorField {
42904    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42905        self.0.read(raw)
42906    }
42907}
42908
42909impl FieldValueWriter for UnsolicitedIndicatorField {
42910    fn write_to(&self, buf: &mut Vec<u8>) {
42911        self.0.write_to(buf);
42912    }
42913}
42914
42915impl FieldValue for UnsolicitedIndicatorField {}
42916
42917
42918/// `UrgencyField` is a `CHAR` field, Tag 61.
42919pub struct UrgencyField(pub FIXString);
42920
42921impl UrgencyField {
42922
42923    pub fn new(val: String) -> Self { Self(val) }
42924    pub fn value(&self) -> &str { &self.0 }
42925
42926    pub fn tag() -> Tag { tag::URGENCY }
42927}
42928
42929impl FieldValueReader for UrgencyField {
42930    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42931        self.0.read(raw)
42932    }
42933}
42934
42935impl FieldValueWriter for UrgencyField {
42936    fn write_to(&self, buf: &mut Vec<u8>) {
42937        self.0.write_to(buf);
42938    }
42939}
42940
42941impl FieldValue for UrgencyField {}
42942
42943
42944/// `UserRequestIDField` is a `STRING` field, Tag 923.
42945pub struct UserRequestIDField(pub FIXString);
42946
42947impl UserRequestIDField {
42948
42949    pub fn new(val: String) -> Self { Self(val) }
42950    pub fn value(&self) -> &str { &self.0 }
42951
42952    pub fn tag() -> Tag { tag::USER_REQUEST_ID }
42953}
42954
42955impl FieldValueReader for UserRequestIDField {
42956    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42957        self.0.read(raw)
42958    }
42959}
42960
42961impl FieldValueWriter for UserRequestIDField {
42962    fn write_to(&self, buf: &mut Vec<u8>) {
42963        self.0.write_to(buf);
42964    }
42965}
42966
42967impl FieldValue for UserRequestIDField {}
42968
42969
42970/// `UserRequestTypeField` is a `INT` field, Tag 924.
42971pub struct UserRequestTypeField(pub FIXInt);
42972
42973impl UserRequestTypeField {
42974
42975    pub fn new(val: isize) -> Self { Self(val) }
42976    pub fn value(&self) -> isize { self.0 }
42977
42978    pub fn tag() -> Tag { tag::USER_REQUEST_TYPE }
42979}
42980
42981impl FieldValueReader for UserRequestTypeField {
42982    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
42983        self.0.read(raw)
42984    }
42985}
42986
42987impl FieldValueWriter for UserRequestTypeField {
42988    fn write_to(&self, buf: &mut Vec<u8>) {
42989        self.0.write_to(buf);
42990    }
42991}
42992
42993impl FieldValue for UserRequestTypeField {}
42994
42995
42996/// `UserStatusField` is a `INT` field, Tag 926.
42997pub struct UserStatusField(pub FIXInt);
42998
42999impl UserStatusField {
43000
43001    pub fn new(val: isize) -> Self { Self(val) }
43002    pub fn value(&self) -> isize { self.0 }
43003
43004    pub fn tag() -> Tag { tag::USER_STATUS }
43005}
43006
43007impl FieldValueReader for UserStatusField {
43008    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43009        self.0.read(raw)
43010    }
43011}
43012
43013impl FieldValueWriter for UserStatusField {
43014    fn write_to(&self, buf: &mut Vec<u8>) {
43015        self.0.write_to(buf);
43016    }
43017}
43018
43019impl FieldValue for UserStatusField {}
43020
43021
43022/// `UserStatusTextField` is a `STRING` field, Tag 927.
43023pub struct UserStatusTextField(pub FIXString);
43024
43025impl UserStatusTextField {
43026
43027    pub fn new(val: String) -> Self { Self(val) }
43028    pub fn value(&self) -> &str { &self.0 }
43029
43030    pub fn tag() -> Tag { tag::USER_STATUS_TEXT }
43031}
43032
43033impl FieldValueReader for UserStatusTextField {
43034    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43035        self.0.read(raw)
43036    }
43037}
43038
43039impl FieldValueWriter for UserStatusTextField {
43040    fn write_to(&self, buf: &mut Vec<u8>) {
43041        self.0.write_to(buf);
43042    }
43043}
43044
43045impl FieldValue for UserStatusTextField {}
43046
43047
43048/// `UsernameField` is a `STRING` field, Tag 553.
43049pub struct UsernameField(pub FIXString);
43050
43051impl UsernameField {
43052
43053    pub fn new(val: String) -> Self { Self(val) }
43054    pub fn value(&self) -> &str { &self.0 }
43055
43056    pub fn tag() -> Tag { tag::USERNAME }
43057}
43058
43059impl FieldValueReader for UsernameField {
43060    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43061        self.0.read(raw)
43062    }
43063}
43064
43065impl FieldValueWriter for UsernameField {
43066    fn write_to(&self, buf: &mut Vec<u8>) {
43067        self.0.write_to(buf);
43068    }
43069}
43070
43071impl FieldValue for UsernameField {}
43072
43073
43074/// `ValidUntilTimeField` is a `UTCTIMESTAMP` field, Tag 62.
43075pub struct ValidUntilTimeField(pub FIXUTCTimestamp);
43076
43077impl ValidUntilTimeField {
43078
43079    pub fn new(val: Timestamp) -> Self {
43080        Self(FIXUTCTimestamp { time: val, precision: TimestampPrecision::Millis })
43081    }
43082    pub fn value(&self) -> Timestamp { self.0.time }
43083
43084    pub fn tag() -> Tag { tag::VALID_UNTIL_TIME }
43085}
43086
43087impl FieldValueReader for ValidUntilTimeField {
43088    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43089        self.0.read(raw)
43090    }
43091}
43092
43093impl FieldValueWriter for ValidUntilTimeField {
43094    fn write_to(&self, buf: &mut Vec<u8>) {
43095        self.0.write_to(buf);
43096    }
43097}
43098
43099impl FieldValue for ValidUntilTimeField {}
43100
43101
43102/// `ValuationMethodField` is a `STRING` field, Tag 1197.
43103pub struct ValuationMethodField(pub FIXString);
43104
43105impl ValuationMethodField {
43106
43107    pub fn new(val: String) -> Self { Self(val) }
43108    pub fn value(&self) -> &str { &self.0 }
43109
43110    pub fn tag() -> Tag { tag::VALUATION_METHOD }
43111}
43112
43113impl FieldValueReader for ValuationMethodField {
43114    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43115        self.0.read(raw)
43116    }
43117}
43118
43119impl FieldValueWriter for ValuationMethodField {
43120    fn write_to(&self, buf: &mut Vec<u8>) {
43121        self.0.write_to(buf);
43122    }
43123}
43124
43125impl FieldValue for ValuationMethodField {}
43126
43127
43128/// `ValueOfFuturesField` is a `AMT` field, Tag 408.
43129pub struct ValueOfFuturesField(pub FIXDecimal);
43130
43131impl ValueOfFuturesField {
43132
43133    pub fn new(val: Decimal, scale: i32) -> Self {
43134        Self(FIXDecimal { decimal: val, scale })
43135    }
43136    pub fn value(&self) -> Decimal { self.0.decimal }
43137
43138    pub fn tag() -> Tag { tag::VALUE_OF_FUTURES }
43139}
43140
43141impl FieldValueReader for ValueOfFuturesField {
43142    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43143        self.0.read(raw)
43144    }
43145}
43146
43147impl FieldValueWriter for ValueOfFuturesField {
43148    fn write_to(&self, buf: &mut Vec<u8>) {
43149        self.0.write_to(buf);
43150    }
43151}
43152
43153impl FieldValue for ValueOfFuturesField {}
43154
43155
43156/// `VenueTypeField` is a `CHAR` field, Tag 1430.
43157pub struct VenueTypeField(pub FIXString);
43158
43159impl VenueTypeField {
43160
43161    pub fn new(val: String) -> Self { Self(val) }
43162    pub fn value(&self) -> &str { &self.0 }
43163
43164    pub fn tag() -> Tag { tag::VENUE_TYPE }
43165}
43166
43167impl FieldValueReader for VenueTypeField {
43168    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43169        self.0.read(raw)
43170    }
43171}
43172
43173impl FieldValueWriter for VenueTypeField {
43174    fn write_to(&self, buf: &mut Vec<u8>) {
43175        self.0.write_to(buf);
43176    }
43177}
43178
43179impl FieldValue for VenueTypeField {}
43180
43181
43182/// `VolatilityField` is a `FLOAT` field, Tag 1188.
43183pub struct VolatilityField(pub FIXDecimal);
43184
43185impl VolatilityField {
43186
43187    pub fn new(val: Decimal, scale: i32) -> Self {
43188        Self(FIXDecimal { decimal: val, scale })
43189    }
43190    pub fn value(&self) -> Decimal { self.0.decimal }
43191
43192    pub fn tag() -> Tag { tag::VOLATILITY }
43193}
43194
43195impl FieldValueReader for VolatilityField {
43196    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43197        self.0.read(raw)
43198    }
43199}
43200
43201impl FieldValueWriter for VolatilityField {
43202    fn write_to(&self, buf: &mut Vec<u8>) {
43203        self.0.write_to(buf);
43204    }
43205}
43206
43207impl FieldValue for VolatilityField {}
43208
43209
43210/// `WaveNoField` is a `STRING` field, Tag 105.
43211pub struct WaveNoField(pub FIXString);
43212
43213impl WaveNoField {
43214
43215    pub fn new(val: String) -> Self { Self(val) }
43216    pub fn value(&self) -> &str { &self.0 }
43217
43218    pub fn tag() -> Tag { tag::WAVE_NO }
43219}
43220
43221impl FieldValueReader for WaveNoField {
43222    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43223        self.0.read(raw)
43224    }
43225}
43226
43227impl FieldValueWriter for WaveNoField {
43228    fn write_to(&self, buf: &mut Vec<u8>) {
43229        self.0.write_to(buf);
43230    }
43231}
43232
43233impl FieldValue for WaveNoField {}
43234
43235
43236/// `WorkingIndicatorField` is a `BOOLEAN` field, Tag 636.
43237pub struct WorkingIndicatorField(pub FIXBoolean);
43238
43239impl WorkingIndicatorField {
43240
43241    pub fn new(val: bool) -> Self { Self(val) }
43242    pub fn value(&self) -> bool { self.0 }
43243
43244    pub fn tag() -> Tag { tag::WORKING_INDICATOR }
43245}
43246
43247impl FieldValueReader for WorkingIndicatorField {
43248    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43249        self.0.read(raw)
43250    }
43251}
43252
43253impl FieldValueWriter for WorkingIndicatorField {
43254    fn write_to(&self, buf: &mut Vec<u8>) {
43255        self.0.write_to(buf);
43256    }
43257}
43258
43259impl FieldValue for WorkingIndicatorField {}
43260
43261
43262/// `WtAverageLiquidityField` is a `PERCENTAGE` field, Tag 410.
43263pub struct WtAverageLiquidityField(pub FIXDecimal);
43264
43265impl WtAverageLiquidityField {
43266
43267    pub fn new(val: Decimal, scale: i32) -> Self {
43268        Self(FIXDecimal { decimal: val, scale })
43269    }
43270    pub fn value(&self) -> Decimal { self.0.decimal }
43271
43272    pub fn tag() -> Tag { tag::WT_AVERAGE_LIQUIDITY }
43273}
43274
43275impl FieldValueReader for WtAverageLiquidityField {
43276    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43277        self.0.read(raw)
43278    }
43279}
43280
43281impl FieldValueWriter for WtAverageLiquidityField {
43282    fn write_to(&self, buf: &mut Vec<u8>) {
43283        self.0.write_to(buf);
43284    }
43285}
43286
43287impl FieldValue for WtAverageLiquidityField {}
43288
43289
43290/// `XmlDataField` is a `DATA` field, Tag 213.
43291pub struct XmlDataField(pub FIXString);
43292
43293impl XmlDataField {
43294
43295    pub fn new(val: String) -> Self { Self(val) }
43296    pub fn value(&self) -> &str { &self.0 }
43297
43298    pub fn tag() -> Tag { tag::XML_DATA }
43299}
43300
43301impl FieldValueReader for XmlDataField {
43302    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43303        self.0.read(raw)
43304    }
43305}
43306
43307impl FieldValueWriter for XmlDataField {
43308    fn write_to(&self, buf: &mut Vec<u8>) {
43309        self.0.write_to(buf);
43310    }
43311}
43312
43313impl FieldValue for XmlDataField {}
43314
43315
43316/// `XmlDataLenField` is a `LENGTH` field, Tag 212.
43317pub struct XmlDataLenField(pub FIXInt);
43318
43319impl XmlDataLenField {
43320
43321    pub fn new(val: isize) -> Self { Self(val) }
43322    pub fn value(&self) -> isize { self.0 }
43323
43324    pub fn tag() -> Tag { tag::XML_DATA_LEN }
43325}
43326
43327impl FieldValueReader for XmlDataLenField {
43328    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43329        self.0.read(raw)
43330    }
43331}
43332
43333impl FieldValueWriter for XmlDataLenField {
43334    fn write_to(&self, buf: &mut Vec<u8>) {
43335        self.0.write_to(buf);
43336    }
43337}
43338
43339impl FieldValue for XmlDataLenField {}
43340
43341
43342/// `YieldField` is a `PERCENTAGE` field, Tag 236.
43343pub struct YieldField(pub FIXDecimal);
43344
43345impl YieldField {
43346
43347    pub fn new(val: Decimal, scale: i32) -> Self {
43348        Self(FIXDecimal { decimal: val, scale })
43349    }
43350    pub fn value(&self) -> Decimal { self.0.decimal }
43351
43352    pub fn tag() -> Tag { tag::YIELD }
43353}
43354
43355impl FieldValueReader for YieldField {
43356    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43357        self.0.read(raw)
43358    }
43359}
43360
43361impl FieldValueWriter for YieldField {
43362    fn write_to(&self, buf: &mut Vec<u8>) {
43363        self.0.write_to(buf);
43364    }
43365}
43366
43367impl FieldValue for YieldField {}
43368
43369
43370/// `YieldCalcDateField` is a `LOCALMKTDATE` field, Tag 701.
43371pub struct YieldCalcDateField(pub FIXString);
43372
43373impl YieldCalcDateField {
43374
43375    pub fn new(val: String) -> Self { Self(val) }
43376    pub fn value(&self) -> &str { &self.0 }
43377
43378    pub fn tag() -> Tag { tag::YIELD_CALC_DATE }
43379}
43380
43381impl FieldValueReader for YieldCalcDateField {
43382    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43383        self.0.read(raw)
43384    }
43385}
43386
43387impl FieldValueWriter for YieldCalcDateField {
43388    fn write_to(&self, buf: &mut Vec<u8>) {
43389        self.0.write_to(buf);
43390    }
43391}
43392
43393impl FieldValue for YieldCalcDateField {}
43394
43395
43396/// `YieldRedemptionDateField` is a `LOCALMKTDATE` field, Tag 696.
43397pub struct YieldRedemptionDateField(pub FIXString);
43398
43399impl YieldRedemptionDateField {
43400
43401    pub fn new(val: String) -> Self { Self(val) }
43402    pub fn value(&self) -> &str { &self.0 }
43403
43404    pub fn tag() -> Tag { tag::YIELD_REDEMPTION_DATE }
43405}
43406
43407impl FieldValueReader for YieldRedemptionDateField {
43408    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43409        self.0.read(raw)
43410    }
43411}
43412
43413impl FieldValueWriter for YieldRedemptionDateField {
43414    fn write_to(&self, buf: &mut Vec<u8>) {
43415        self.0.write_to(buf);
43416    }
43417}
43418
43419impl FieldValue for YieldRedemptionDateField {}
43420
43421
43422/// `YieldRedemptionPriceField` is a `PRICE` field, Tag 697.
43423pub struct YieldRedemptionPriceField(pub FIXDecimal);
43424
43425impl YieldRedemptionPriceField {
43426
43427    pub fn new(val: Decimal, scale: i32) -> Self {
43428        Self(FIXDecimal { decimal: val, scale })
43429    }
43430    pub fn value(&self) -> Decimal { self.0.decimal }
43431
43432    pub fn tag() -> Tag { tag::YIELD_REDEMPTION_PRICE }
43433}
43434
43435impl FieldValueReader for YieldRedemptionPriceField {
43436    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43437        self.0.read(raw)
43438    }
43439}
43440
43441impl FieldValueWriter for YieldRedemptionPriceField {
43442    fn write_to(&self, buf: &mut Vec<u8>) {
43443        self.0.write_to(buf);
43444    }
43445}
43446
43447impl FieldValue for YieldRedemptionPriceField {}
43448
43449
43450/// `YieldRedemptionPriceTypeField` is a `INT` field, Tag 698.
43451pub struct YieldRedemptionPriceTypeField(pub FIXInt);
43452
43453impl YieldRedemptionPriceTypeField {
43454
43455    pub fn new(val: isize) -> Self { Self(val) }
43456    pub fn value(&self) -> isize { self.0 }
43457
43458    pub fn tag() -> Tag { tag::YIELD_REDEMPTION_PRICE_TYPE }
43459}
43460
43461impl FieldValueReader for YieldRedemptionPriceTypeField {
43462    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43463        self.0.read(raw)
43464    }
43465}
43466
43467impl FieldValueWriter for YieldRedemptionPriceTypeField {
43468    fn write_to(&self, buf: &mut Vec<u8>) {
43469        self.0.write_to(buf);
43470    }
43471}
43472
43473impl FieldValue for YieldRedemptionPriceTypeField {}
43474
43475
43476/// `YieldTypeField` is a `STRING` field, Tag 235.
43477pub struct YieldTypeField(pub FIXString);
43478
43479impl YieldTypeField {
43480
43481    pub fn new(val: String) -> Self { Self(val) }
43482    pub fn value(&self) -> &str { &self.0 }
43483
43484    pub fn tag() -> Tag { tag::YIELD_TYPE }
43485}
43486
43487impl FieldValueReader for YieldTypeField {
43488    fn read(&mut self, raw: &[u8]) -> SimpleResult<()> {
43489        self.0.read(raw)
43490    }
43491}
43492
43493impl FieldValueWriter for YieldTypeField {
43494    fn write_to(&self, buf: &mut Vec<u8>) {
43495        self.0.write_to(buf);
43496    }
43497}
43498
43499impl FieldValue for YieldTypeField {}
43500
43501