zugferd_code_lists/zugferd_2_3_2/
text.rs

1#![allow(non_camel_case_types)]
2
3#[cfg_attr(feature = "specta", derive(specta::Type))]
4#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
5#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]
6pub enum Text {
7    /// Goods item description
8    GoodsItemDescription,
9    /// Payment term
10    PaymentTerm,
11    /// Dangerous goods additional information
12    DangerousGoodsAdditionalInformation,
13    /// Dangerous goods technical name
14    DangerousGoodsTechnicalName,
15    /// Acknowledgement description
16    AcknowledgementDescription,
17    /// Rate additional information
18    RateAdditionalInformation,
19    /// Party instructions
20    PartyInstructions,
21    /// General information
22    GeneralInformation,
23    /// Additional conditions of sale/purchase
24    AdditionalConditionsSalePurchase,
25    /// Price conditions
26    PriceConditions,
27    /// Goods dimensions in characters
28    GoodsDimensionsInCharacters,
29    /// Equipment re-usage restrictions
30    EquipmentReUsageRestrictions,
31    /// Handling restriction
32    HandlingRestriction,
33    /// Error description (free text)
34    ErrorDescriptionFreeText,
35    /// Response (free text)
36    ResponseFreeText,
37    /// Package content's description
38    PackageContentsDescription,
39    /// Terms of delivery
40    TermsDelivery,
41    /// Bill of lading remarks
42    BillLadingRemarks,
43    /// Mode of settlement information
44    ModeSettlementInformation,
45    /// Consignment invoice information
46    ConsignmentInvoiceInformation,
47    /// Clearance invoice information
48    ClearanceInvoiceInformation,
49    /// Letter of credit information
50    LetterCreditInformation,
51    /// License information
52    LicenseInformation,
53    /// Certification statements
54    CertificationStatements,
55    /// Additional export information
56    AdditionalExportInformation,
57    /// Tariff statements
58    TariffStatements,
59    /// Medical history
60    MedicalHistory,
61    /// Conditions of sale or purchase
62    ConditionsSaleOrPurchase,
63    /// Contract document type
64    ContractDocumentType,
65    /// Additional terms and/or conditions (documentary credit)
66    AdditionalTermsAndOrConditionsDocumentaryCredit,
67    /// Instructions or information about standby documentary
68    InstructionsOrInformationAboutStandbyDocumentary,
69    /// Instructions or information about partial shipment(s)
70    InstructionsOrInformationAboutPartialShipmentS,
71    /// Instructions or information about transhipment(s)
72    InstructionsOrInformationAboutTranshipmentS,
73    /// Additional handling instructions documentary credit
74    AdditionalHandlingInstructionsDocumentaryCredit,
75    /// Domestic routing information
76    DomesticRoutingInformation,
77    /// Chargeable category of equipment
78    ChargeableCategoryEquipment,
79    /// Government information
80    GovernmentInformation,
81    /// Onward routing information
82    OnwardRoutingInformation,
83    /// Accounting information
84    AccountingInformation,
85    /// Discrepancy information
86    DiscrepancyInformation,
87    /// Confirmation instructions
88    ConfirmationInstructions,
89    /// Method of issuance
90    MethodIssuance,
91    /// Documents delivery instructions
92    DocumentsDeliveryInstructions,
93    /// Additional conditions
94    AdditionalConditions,
95    /// Information/instructions about additional amounts covered
96    InformationInstructionsAboutAdditionalAmountsCovered,
97    /// Deferred payment termed additional
98    DeferredPaymentTermedAdditional,
99    /// Acceptance terms additional
100    AcceptanceTermsAdditional,
101    /// Negotiation terms additional
102    NegotiationTermsAdditional,
103    /// Document name and documentary requirements
104    DocumentNameAndDocumentaryRequirements,
105    /// Instructions/information about revolving documentary credit
106    InstructionsInformationAboutRevolvingDocumentaryCredit,
107    /// Documentary requirements
108    DocumentaryRequirements,
109    /// Additional information
110    AdditionalInformation,
111    /// Factor assignment clause
112    FactorAssignmentClause,
113    /// Reason
114    Reason,
115    /// Dispute
116    Dispute,
117    /// Additional attribute information
118    AdditionalAttributeInformation,
119    /// Absence declaration
120    AbsenceDeclaration,
121    /// Aggregation statement
122    AggregationStatement,
123    /// Compilation statement
124    CompilationStatement,
125    /// Definitional exception
126    DefinitionalException,
127    /// Privacy statement
128    PrivacyStatement,
129    /// Quality statement
130    QualityStatement,
131    /// Statistical description
132    StatisticalDescription,
133    /// Statistical definition
134    StatisticalDefinition,
135    /// Statistical name
136    StatisticalName,
137    /// Statistical title
138    StatisticalTitle,
139    /// Off-dimension information
140    OffDimensionInformation,
141    /// Unexpected stops information
142    UnexpectedStopsInformation,
143    /// Principles
144    Principles,
145    /// Terms and definition
146    TermsAndDefinition,
147    /// Segment name
148    SegmentName,
149    /// Simple data element name
150    SimpleDataElementName,
151    /// Scope
152    Scope,
153    /// Message type name
154    MessageTypeName,
155    /// Introduction
156    Introduction,
157    /// Glossary
158    Glossary,
159    /// Functional definition
160    FunctionalDefinition,
161    /// Examples
162    Examples,
163    /// Cover page
164    CoverPage,
165    /// Dependency (syntax) notes
166    DependencySyntaxNotes,
167    /// Code value name
168    CodeValueName,
169    /// Code list name
170    CodeListName,
171    /// Clarification of usage
172    ClarificationUsage,
173    /// Composite data element name
174    CompositeDataElementName,
175    /// Field of application
176    FieldApplication,
177    /// Type of assets and liabilities
178    TypeAssetsAndLiabilities,
179    /// Promotion information
180    PromotionInformation,
181    /// Meter condition
182    MeterCondition,
183    /// Meter reading information
184    MeterReadingInformation,
185    /// Type of transaction reason
186    TypeTransactionReason,
187    /// Type of survey question
188    TypeSurveyQuestion,
189    /// Carrier's agent counter information
190    CarriersAgentCounterInformation,
191    /// Description of work item on equipment
192    DescriptionWorkItemOnEquipment,
193    /// Message definition
194    MessageDefinition,
195    /// Booked item information
196    BookedItemInformation,
197    /// Source of document
198    SourceDocument,
199    /// Note
200    Note,
201    /// Fixed part of segment clarification text
202    FixedPartSegmentClarificationText,
203    /// Characteristics of goods
204    CharacteristicsGoods,
205    /// Additional discharge instructions
206    AdditionalDischargeInstructions,
207    /// Container stripping instructions
208    ContainerStrippingInstructions,
209    /// CSC (Container Safety Convention) plate information
210    CscContainerSafetyConventionPlateInformation,
211    /// Cargo remarks
212    CargoRemarks,
213    /// Temperature control instructions
214    TemperatureControlInstructions,
215    /// Text refers to expected data
216    TextRefersToExpectedData,
217    /// Text refers to received data
218    TextRefersToReceivedData,
219    /// Section clarification text
220    SectionClarificationText,
221    /// Information to the beneficiary
222    InformationToBeneficiary,
223    /// Information to the applicant
224    InformationToApplicant,
225    /// Instructions to the beneficiary
226    InstructionsToBeneficiary,
227    /// Instructions to the applicant
228    InstructionsToApplicant,
229    /// Controlled atmosphere
230    ControlledAtmosphere,
231    /// Take off annotation
232    TakeOffAnnotation,
233    /// Price variation narrative
234    PriceVariationNarrative,
235    /// Documentary credit amendment instructions
236    DocumentaryCreditAmendmentInstructions,
237    /// Standard method narrative
238    StandardMethodNarrative,
239    /// Project narrative
240    ProjectNarrative,
241    /// Radioactive goods, additional information
242    RadioactiveGoodsAdditionalInformation,
243    /// Bank-to-bank information
244    BankToBankInformation,
245    /// Reimbursement instructions
246    ReimbursementInstructions,
247    /// Reason for amending a message
248    ReasonForAmendingAMessage,
249    /// Instructions to the paying and/or accepting and/or
250    InstructionsToPayingAndOrAcceptingAndOr,
251    /// Interest instructions
252    InterestInstructions,
253    /// Agent commission
254    AgentCommission,
255    /// Remitting bank instructions
256    RemittingBankInstructions,
257    /// Instructions to the collecting bank
258    InstructionsToCollectingBank,
259    /// Collection amount instructions
260    CollectionAmountInstructions,
261    /// Internal auditing information
262    InternalAuditingInformation,
263    /// Constraint
264    Constraint,
265    /// Comment
266    Comment,
267    /// Semantic note
268    SemanticNote,
269    /// Help text
270    HelpText,
271    /// Legend
272    Legend,
273    /// Batch code structure
274    BatchCodeStructure,
275    /// Product application
276    ProductApplication,
277    /// Customer complaint
278    CustomerComplaint,
279    /// Probable cause of fault
280    ProbableCauseFault,
281    /// Defect description
282    DefectDescription,
283    /// Repair description
284    RepairDescription,
285    /// Review comments
286    ReviewComments,
287    /// Title
288    Title,
289    /// Description of amount
290    DescriptionAmount,
291    /// Responsibilities
292    Responsibilities,
293    /// Supplier
294    Supplier,
295    /// Purchase region
296    PurchaseRegion,
297    /// Affiliation
298    Affiliation,
299    /// Borrower
300    Borrower,
301    /// Line of business
302    LineBusiness,
303    /// Financial institution
304    FinancialInstitution,
305    /// Business founder
306    BusinessFounder,
307    /// Business history
308    BusinessHistory,
309    /// Banking arrangements
310    BankingArrangements,
311    /// Business origin
312    BusinessOrigin,
313    /// Brand names' description
314    BrandNamesDescription,
315    /// Business financing details
316    BusinessFinancingDetails,
317    /// Competition
318    Competition,
319    /// Construction process details
320    ConstructionProcessDetails,
321    /// Construction specialty
322    ConstructionSpecialty,
323    /// Contract information
324    ContractInformation,
325    /// Corporate filing
326    CorporateFiling,
327    /// Customer information
328    CustomerInformation,
329    /// Copyright notice
330    CopyrightNotice,
331    /// Contingent debt
332    ContingentDebt,
333    /// Conviction details
334    ConvictionDetails,
335    /// Equipment
336    Equipment,
337    /// Workforce description
338    WorkforceDescription,
339    /// Exemption
340    Exemption,
341    /// Future plans
342    FuturePlans,
343    /// Interviewee conversation information
344    IntervieweeConversationInformation,
345    /// Intangible asset
346    IntangibleAsset,
347    /// Inventory
348    Inventory,
349    /// Investment
350    Investment,
351    /// Intercompany relations information
352    IntercompanyRelationsInformation,
353    /// Joint venture
354    JointVenture,
355    /// Loan
356    Loan,
357    /// Long term debt
358    LongTermDebt,
359    /// Location
360    Location,
361    /// Current legal structure
362    CurrentLegalStructure,
363    /// Marital contract
364    MaritalContract,
365    /// Marketing activities
366    MarketingActivities,
367    /// Merger
368    Merger,
369    /// Marketable securities
370    MarketableSecurities,
371    /// Business debt
372    BusinessDebt,
373    /// Original legal structure
374    OriginalLegalStructure,
375    /// Employee sharing arrangements
376    EmployeeSharingArrangements,
377    /// Organization details
378    OrganizationDetails,
379    /// Public record details
380    PublicRecordDetails,
381    /// Price range
382    PriceRange,
383    /// Qualifications
384    Qualifications,
385    /// Registered activity
386    RegisteredActivity,
387    /// Criminal sentence
388    CriminalSentence,
389    /// Sales method
390    SalesMethod,
391    /// Educational institution information
392    EducationalInstitutionInformation,
393    /// Status details
394    StatusDetails,
395    /// Sales
396    Sales,
397    /// Spouse information
398    SpouseInformation,
399    /// Educational degree information
400    EducationalDegreeInformation,
401    /// Shareholding information
402    ShareholdingInformation,
403    /// Sales territory
404    SalesTerritory,
405    /// Accountant's comments
406    AccountantsComments,
407    /// Exemption law location
408    ExemptionLawLocation,
409    /// Share classifications
410    ShareClassifications,
411    /// Forecast
412    Forecast,
413    /// Event location
414    EventLocation,
415    /// Facility occupancy
416    FacilityOccupancy,
417    /// Import and export details
418    ImportAndExportDetails,
419    /// Additional facility information
420    AdditionalFacilityInformation,
421    /// Inventory value
422    InventoryValue,
423    /// Education
424    Education,
425    /// Event
426    Event,
427    /// Agent
428    Agent,
429    /// Domestically agreed financial statement details
430    DomesticallyAgreedFinancialStatementDetails,
431    /// Other current asset description
432    OtherCurrentAssetDescription,
433    /// Other current liability description
434    OtherCurrentLiabilityDescription,
435    /// Former business activity
436    FormerBusinessActivity,
437    /// Trade name use
438    TradeNameUse,
439    /// Signing authority
440    SigningAuthority,
441    /// Guarantee
442    Guarantee,
443    /// Holding company operation
444    HoldingCompanyOperation,
445    /// Consignment routing
446    ConsignmentRouting,
447    /// Letter of protest
448    LetterProtest,
449    /// Question
450    Question,
451    /// Party information
452    PartyInformation,
453    /// Area boundaries description
454    AreaBoundariesDescription,
455    /// Advertisement information
456    AdvertisementInformation,
457    /// Financial statement details
458    FinancialStatementDetails,
459    /// Access instructions
460    AccessInstructions,
461    /// Liquidity
462    Liquidity,
463    /// Credit line
464    CreditLine,
465    /// Warranty terms
466    WarrantyTerms,
467    /// Division description
468    DivisionDescription,
469    /// Reporting instruction
470    ReportingInstruction,
471    /// Examination result
472    ExaminationResult,
473    /// Laboratory result
474    LaboratoryResult,
475    /// Allowance/charge information
476    AllowanceChargeInformation,
477    /// X-ray result
478    XRayResult,
479    /// Pathology result
480    PathologyResult,
481    /// Intervention description
482    InterventionDescription,
483    /// Summary of admittance
484    SummaryAdmittance,
485    /// Medical treatment course detail
486    MedicalTreatmentCourseDetail,
487    /// Prognosis
488    Prognosis,
489    /// Instruction to patient
490    InstructionToPatient,
491    /// Instruction to physician
492    InstructionToPhysician,
493    /// All documents
494    AllDocuments,
495    /// Medicine treatment
496    MedicineTreatment,
497    /// Medicine dosage and administration
498    MedicineDosageAndAdministration,
499    /// Availability of patient
500    AvailabilityPatient,
501    /// Reason for service request
502    ReasonForServiceRequest,
503    /// Purpose of service
504    PurposeService,
505    /// Arrival conditions
506    ArrivalConditions,
507    /// Service requester's comment
508    ServiceRequestersComment,
509    /// Authentication
510    Authentication,
511    /// Requested location description
512    RequestedLocationDescription,
513    /// Medicine administration condition
514    MedicineAdministrationCondition,
515    /// Patient information
516    PatientInformation,
517    /// Precautionary measure
518    PrecautionaryMeasure,
519    /// Service characteristic
520    ServiceCharacteristic,
521    /// Planned event comment
522    PlannedEventComment,
523    /// Expected delay comment
524    ExpectedDelayComment,
525    /// Transport requirements comment
526    TransportRequirementsComment,
527    /// Temporary approval condition
528    TemporaryApprovalCondition,
529    /// Customs Valuation Information
530    CustomsValuationInformation,
531    /// Value Added Tax (VAT) margin scheme
532    ValueAddedTaxVatMarginScheme,
533    /// Maritime Declaration of Health
534    MaritimeDeclarationHealth,
535    /// Passenger baggage information
536    PassengerBaggageInformation,
537    /// Maritime Declaration of Health
538    MaritimeDeclarationHealth_Dup,
539    /// Additional product information address
540    AdditionalProductInformationAddress,
541    /// Information to be printed on despatch advice
542    InformationToBePrintedOnDespatchAdvice,
543    /// Missing goods remarks
544    MissingGoodsRemarks,
545    /// Non-acceptance information
546    NonAcceptanceInformation,
547    /// Returns information
548    ReturnsInformation,
549    /// Sub-line item information
550    SubLineItemInformation,
551    /// Test information
552    TestInformation,
553    /// External link
554    ExternalLink,
555    /// VAT exemption reason
556    VatExemptionReason,
557    /// Processing Instructions
558    ProcessingInstructions,
559    /// Relay Instructions
560    RelayInstructions,
561    /// SIMA applicable
562    SimaApplicable,
563    /// Appeals program code
564    AppealsProgramCode,
565    /// SIMA subject
566    SimaSubject,
567    /// Surtax applicable
568    SurtaxApplicable,
569    /// SIMA security bond
570    SimaSecurityBond,
571    /// Surtax subject
572    SurtaxSubject,
573    /// Safeguard applicable
574    SafeguardApplicable,
575    /// Safeguard applicable
576    SafeguardApplicable_Dup,
577    /// Safeguard subject
578    SafeguardSubject,
579    /// Transport contract document clause
580    TransportContractDocumentClause,
581    /// Instruction to prepare the patient
582    InstructionToPreparePatient,
583    /// Medicine treatment comment
584    MedicineTreatmentComment,
585    /// Examination result comment
586    ExaminationResultComment,
587    /// Service request comment
588    ServiceRequestComment,
589    /// Prescription reason
590    PrescriptionReason,
591    /// Prescription comment
592    PrescriptionComment,
593    /// Clinical investigation comment
594    ClinicalInvestigationComment,
595    /// Medicinal specification comment
596    MedicinalSpecificationComment,
597    /// Economic contribution comment
598    EconomicContributionComment,
599    /// Status of a plan
600    StatusAPlan,
601    /// Random sample test information
602    RandomSampleTestInformation,
603    /// Period of time
604    PeriodTime,
605    /// Legislation
606    Legislation,
607    /// Security measures requested
608    SecurityMeasuresRequested,
609    /// Transport contract document remark
610    TransportContractDocumentRemark,
611    /// Previous port of call security information
612    PreviousPortCallSecurityInformation,
613    /// Security information
614    SecurityInformation,
615    /// Waste information
616    WasteInformation,
617    /// B2C marketing information, short description
618    B2cMarketingInformationShortDescription,
619    /// B2B marketing information, long description
620    B2bMarketingInformationLongDescription,
621    /// B2C marketing information, long description
622    B2cMarketingInformationLongDescription,
623    /// Product ingredients
624    ProductIngredients,
625    /// Location short name
626    LocationShortName,
627    /// Packaging material information
628    PackagingMaterialInformation,
629    /// Filler material information
630    FillerMaterialInformation,
631    /// Ship-to-ship activity information
632    ShipToShipActivityInformation,
633    /// Package material description
634    PackageMaterialDescription,
635    /// Consumer level package marking
636    ConsumerLevelPackageMarking,
637    /// SIMA measure in force
638    SimaMeasureInForce,
639    /// Pre-CARM
640    PreCarm,
641    /// SIMA measure type
642    SimaMeasureType,
643    /// Customs clearance instructions
644    CustomsClearanceInstructions,
645    /// Sub Type Code
646    SubTypeCode,
647    /// SIMA information
648    SimaInformation,
649    /// Time limit end
650    TimeLimitEnd,
651    /// Time limit start
652    TimeLimitStart,
653    /// Warehouse time limit
654    WarehouseTimeLimit,
655    /// Value for duty information
656    ValueForDutyInformation,
657    /// Customs clearance instructions export
658    CustomsClearanceInstructionsExport,
659    /// Change information
660    ChangeInformation,
661    /// Customs clearance instruction import
662    CustomsClearanceInstructionImport,
663    /// Clearance place requested
664    ClearancePlaceRequested,
665    /// Loading remarks
666    LoadingRemarks,
667    /// Order information
668    OrderInformation,
669    /// Customer remarks
670    CustomerRemarks,
671    /// Customs declaration information
672    CustomsDeclarationInformation,
673    /// Damage remarks
674    DamageRemarks,
675    /// Document issuer declaration
676    DocumentIssuerDeclaration,
677    /// Delivery information
678    DeliveryInformation,
679    /// Delivery instructions
680    DeliveryInstructions,
681    /// Documentation instructions
682    DocumentationInstructions,
683    /// Duty declaration
684    DutyDeclaration,
685    /// Effective used routing
686    EffectiveUsedRouting,
687    /// First block to be printed on the transport contract
688    FirstBlockToBePrintedOnTransportContract,
689    /// Government bill of lading information
690    GovernmentBillLadingInformation,
691    /// Entire transaction set
692    EntireTransactionSet,
693    /// Further information concerning GGVS par. 7
694    FurtherInformationConcerningGgvsPar7,
695    /// Consignment handling instruction
696    ConsignmentHandlingInstruction,
697    /// Hazard information
698    HazardInformation,
699    /// Consignment information for consignee
700    ConsignmentInformationForConsignee,
701    /// Insurance instructions
702    InsuranceInstructions,
703    /// Invoice mailing instructions
704    InvoiceMailingInstructions,
705    /// Commercial invoice item description
706    CommercialInvoiceItemDescription,
707    /// Insurance information
708    InsuranceInformation,
709    /// Invoice instruction
710    InvoiceInstruction,
711    /// Information for railway purpose
712    InformationForRailwayPurpose,
713    /// Inland transport details
714    InlandTransportDetails,
715    /// Testing instructions
716    TestingInstructions,
717    /// Location Alias
718    LocationAlias,
719    /// Line item
720    LineItem,
721    /// Loading instruction
722    LoadingInstruction,
723    /// Miscellaneous charge order
724    MiscellaneousChargeOrder,
725    /// Maritime Declaration of Health
726    MaritimeDeclarationHealth_Dup_Dup,
727    /// Additional marks/numbers information
728    AdditionalMarksNumbersInformation,
729    /// Order instruction
730    OrderInstruction,
731    /// Other service information
732    OtherServiceInformation,
733    /// Packing/marking information
734    PackingMarkingInformation,
735    /// Payment instructions information
736    PaymentInstructionsInformation,
737    /// Payables information
738    PayablesInformation,
739    /// Packaging information
740    PackagingInformation,
741    /// Packaging terms information
742    PackagingTermsInformation,
743    /// Payment detail/remittance information
744    PaymentDetailRemittanceInformation,
745    /// Payment information
746    PaymentInformation,
747    /// Product information
748    ProductInformation,
749    /// Price calculation formula
750    PriceCalculationFormula,
751    /// Priority information
752    PriorityInformation,
753    /// Purchasing information
754    PurchasingInformation,
755    /// Quarantine instructions
756    QuarantineInstructions,
757    /// Quality demands/requirements
758    QualityDemandsRequirements,
759    /// Quotation instruction/information
760    QuotationInstructionInformation,
761    /// Risk and handling information
762    RiskAndHandlingInformation,
763    /// Regulatory information
764    RegulatoryInformation,
765    /// Return to origin information
766    ReturnToOriginInformation,
767    /// Receivables
768    Receivables,
769    /// Consignment route
770    ConsignmentRoute,
771    /// Safety information
772    SafetyInformation,
773    /// Consignment documentary instruction
774    ConsignmentDocumentaryInstruction,
775    /// Special instructions
776    SpecialInstructions,
777    /// Ship line requested
778    ShipLineRequested,
779    /// Special permission for transport, generally
780    SpecialPermissionForTransportGenerally,
781    /// Special permission concerning the goods to be transported
782    SpecialPermissionConcerningGoodsToBeTransported,
783    /// Special handling
784    SpecialHandling,
785    /// Special permission concerning package
786    SpecialPermissionConcerningPackage,
787    /// Special permission concerning transport means
788    SpecialPermissionConcerningTransportMeans,
789    /// Subsidiary risk number (IATA/DGR)
790    SubsidiaryRiskNumberIataDgr,
791    /// Special service request
792    SpecialServiceRequest,
793    /// Supplier remarks
794    SupplierRemarks,
795    /// Consignment tariff
796    ConsignmentTariff,
797    /// Consignment transport
798    ConsignmentTransport,
799    /// Transportation information
800    TransportationInformation,
801    /// Requested tariff
802    RequestedTariff,
803    /// Tax declaration
804    TaxDeclaration,
805    /// Warehouse instruction/information
806    WarehouseInstructionInformation,
807    /// Mutually defined
808    MutuallyDefined,
809}
810
811impl std::fmt::Display for Text {
812    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813        write!(f, "{}", <Self as crate::Code>::code(*self))
814    }
815}
816
817impl std::str::FromStr for Text {
818    type Err = ();
819    fn from_str(s: &str) -> Result<Self, Self::Err> {
820        <Self as crate::FromCode>::from_code(s).ok_or(())
821    }
822}
823
824impl crate::Code for Text {
825    fn code(self) -> &'static str {
826        match self {
827            Text::GoodsItemDescription => "AAA",
828            Text::PaymentTerm => "AAB",
829            Text::DangerousGoodsAdditionalInformation => "AAC",
830            Text::DangerousGoodsTechnicalName => "AAD",
831            Text::AcknowledgementDescription => "AAE",
832            Text::RateAdditionalInformation => "AAF",
833            Text::PartyInstructions => "AAG",
834            Text::GeneralInformation => "AAI",
835            Text::AdditionalConditionsSalePurchase => "AAJ",
836            Text::PriceConditions => "AAK",
837            Text::GoodsDimensionsInCharacters => "AAL",
838            Text::EquipmentReUsageRestrictions => "AAM",
839            Text::HandlingRestriction => "AAN",
840            Text::ErrorDescriptionFreeText => "AAO",
841            Text::ResponseFreeText => "AAP",
842            Text::PackageContentsDescription => "AAQ",
843            Text::TermsDelivery => "AAR",
844            Text::BillLadingRemarks => "AAS",
845            Text::ModeSettlementInformation => "AAT",
846            Text::ConsignmentInvoiceInformation => "AAU",
847            Text::ClearanceInvoiceInformation => "AAV",
848            Text::LetterCreditInformation => "AAW",
849            Text::LicenseInformation => "AAX",
850            Text::CertificationStatements => "AAY",
851            Text::AdditionalExportInformation => "AAZ",
852            Text::TariffStatements => "ABA",
853            Text::MedicalHistory => "ABB",
854            Text::ConditionsSaleOrPurchase => "ABC",
855            Text::ContractDocumentType => "ABD",
856            Text::AdditionalTermsAndOrConditionsDocumentaryCredit => "ABE",
857            Text::InstructionsOrInformationAboutStandbyDocumentary => "ABF",
858            Text::InstructionsOrInformationAboutPartialShipmentS => "ABG",
859            Text::InstructionsOrInformationAboutTranshipmentS => "ABH",
860            Text::AdditionalHandlingInstructionsDocumentaryCredit => "ABI",
861            Text::DomesticRoutingInformation => "ABJ",
862            Text::ChargeableCategoryEquipment => "ABK",
863            Text::GovernmentInformation => "ABL",
864            Text::OnwardRoutingInformation => "ABM",
865            Text::AccountingInformation => "ABN",
866            Text::DiscrepancyInformation => "ABO",
867            Text::ConfirmationInstructions => "ABP",
868            Text::MethodIssuance => "ABQ",
869            Text::DocumentsDeliveryInstructions => "ABR",
870            Text::AdditionalConditions => "ABS",
871            Text::InformationInstructionsAboutAdditionalAmountsCovered => "ABT",
872            Text::DeferredPaymentTermedAdditional => "ABU",
873            Text::AcceptanceTermsAdditional => "ABV",
874            Text::NegotiationTermsAdditional => "ABW",
875            Text::DocumentNameAndDocumentaryRequirements => "ABX",
876            Text::InstructionsInformationAboutRevolvingDocumentaryCredit => "ABZ",
877            Text::DocumentaryRequirements => "ACA",
878            Text::AdditionalInformation => "ACB",
879            Text::FactorAssignmentClause => "ACC",
880            Text::Reason => "ACD",
881            Text::Dispute => "ACE",
882            Text::AdditionalAttributeInformation => "ACF",
883            Text::AbsenceDeclaration => "ACG",
884            Text::AggregationStatement => "ACH",
885            Text::CompilationStatement => "ACI",
886            Text::DefinitionalException => "ACJ",
887            Text::PrivacyStatement => "ACK",
888            Text::QualityStatement => "ACL",
889            Text::StatisticalDescription => "ACM",
890            Text::StatisticalDefinition => "ACN",
891            Text::StatisticalName => "ACO",
892            Text::StatisticalTitle => "ACP",
893            Text::OffDimensionInformation => "ACQ",
894            Text::UnexpectedStopsInformation => "ACR",
895            Text::Principles => "ACS",
896            Text::TermsAndDefinition => "ACT",
897            Text::SegmentName => "ACU",
898            Text::SimpleDataElementName => "ACV",
899            Text::Scope => "ACW",
900            Text::MessageTypeName => "ACX",
901            Text::Introduction => "ACY",
902            Text::Glossary => "ACZ",
903            Text::FunctionalDefinition => "ADA",
904            Text::Examples => "ADB",
905            Text::CoverPage => "ADC",
906            Text::DependencySyntaxNotes => "ADD",
907            Text::CodeValueName => "ADE",
908            Text::CodeListName => "ADF",
909            Text::ClarificationUsage => "ADG",
910            Text::CompositeDataElementName => "ADH",
911            Text::FieldApplication => "ADI",
912            Text::TypeAssetsAndLiabilities => "ADJ",
913            Text::PromotionInformation => "ADK",
914            Text::MeterCondition => "ADL",
915            Text::MeterReadingInformation => "ADM",
916            Text::TypeTransactionReason => "ADN",
917            Text::TypeSurveyQuestion => "ADO",
918            Text::CarriersAgentCounterInformation => "ADP",
919            Text::DescriptionWorkItemOnEquipment => "ADQ",
920            Text::MessageDefinition => "ADR",
921            Text::BookedItemInformation => "ADS",
922            Text::SourceDocument => "ADT",
923            Text::Note => "ADU",
924            Text::FixedPartSegmentClarificationText => "ADV",
925            Text::CharacteristicsGoods => "ADW",
926            Text::AdditionalDischargeInstructions => "ADX",
927            Text::ContainerStrippingInstructions => "ADY",
928            Text::CscContainerSafetyConventionPlateInformation => "ADZ",
929            Text::CargoRemarks => "AEA",
930            Text::TemperatureControlInstructions => "AEB",
931            Text::TextRefersToExpectedData => "AEC",
932            Text::TextRefersToReceivedData => "AED",
933            Text::SectionClarificationText => "AEE",
934            Text::InformationToBeneficiary => "AEF",
935            Text::InformationToApplicant => "AEG",
936            Text::InstructionsToBeneficiary => "AEH",
937            Text::InstructionsToApplicant => "AEI",
938            Text::ControlledAtmosphere => "AEJ",
939            Text::TakeOffAnnotation => "AEK",
940            Text::PriceVariationNarrative => "AEL",
941            Text::DocumentaryCreditAmendmentInstructions => "AEM",
942            Text::StandardMethodNarrative => "AEN",
943            Text::ProjectNarrative => "AEO",
944            Text::RadioactiveGoodsAdditionalInformation => "AEP",
945            Text::BankToBankInformation => "AEQ",
946            Text::ReimbursementInstructions => "AER",
947            Text::ReasonForAmendingAMessage => "AES",
948            Text::InstructionsToPayingAndOrAcceptingAndOr => "AET",
949            Text::InterestInstructions => "AEU",
950            Text::AgentCommission => "AEV",
951            Text::RemittingBankInstructions => "AEW",
952            Text::InstructionsToCollectingBank => "AEX",
953            Text::CollectionAmountInstructions => "AEY",
954            Text::InternalAuditingInformation => "AEZ",
955            Text::Constraint => "AFA",
956            Text::Comment => "AFB",
957            Text::SemanticNote => "AFC",
958            Text::HelpText => "AFD",
959            Text::Legend => "AFE",
960            Text::BatchCodeStructure => "AFF",
961            Text::ProductApplication => "AFG",
962            Text::CustomerComplaint => "AFH",
963            Text::ProbableCauseFault => "AFI",
964            Text::DefectDescription => "AFJ",
965            Text::RepairDescription => "AFK",
966            Text::ReviewComments => "AFL",
967            Text::Title => "AFM",
968            Text::DescriptionAmount => "AFN",
969            Text::Responsibilities => "AFO",
970            Text::Supplier => "AFP",
971            Text::PurchaseRegion => "AFQ",
972            Text::Affiliation => "AFR",
973            Text::Borrower => "AFS",
974            Text::LineBusiness => "AFT",
975            Text::FinancialInstitution => "AFU",
976            Text::BusinessFounder => "AFV",
977            Text::BusinessHistory => "AFW",
978            Text::BankingArrangements => "AFX",
979            Text::BusinessOrigin => "AFY",
980            Text::BrandNamesDescription => "AFZ",
981            Text::BusinessFinancingDetails => "AGA",
982            Text::Competition => "AGB",
983            Text::ConstructionProcessDetails => "AGC",
984            Text::ConstructionSpecialty => "AGD",
985            Text::ContractInformation => "AGE",
986            Text::CorporateFiling => "AGF",
987            Text::CustomerInformation => "AGG",
988            Text::CopyrightNotice => "AGH",
989            Text::ContingentDebt => "AGI",
990            Text::ConvictionDetails => "AGJ",
991            Text::Equipment => "AGK",
992            Text::WorkforceDescription => "AGL",
993            Text::Exemption => "AGM",
994            Text::FuturePlans => "AGN",
995            Text::IntervieweeConversationInformation => "AGO",
996            Text::IntangibleAsset => "AGP",
997            Text::Inventory => "AGQ",
998            Text::Investment => "AGR",
999            Text::IntercompanyRelationsInformation => "AGS",
1000            Text::JointVenture => "AGT",
1001            Text::Loan => "AGU",
1002            Text::LongTermDebt => "AGV",
1003            Text::Location => "AGW",
1004            Text::CurrentLegalStructure => "AGX",
1005            Text::MaritalContract => "AGY",
1006            Text::MarketingActivities => "AGZ",
1007            Text::Merger => "AHA",
1008            Text::MarketableSecurities => "AHB",
1009            Text::BusinessDebt => "AHC",
1010            Text::OriginalLegalStructure => "AHD",
1011            Text::EmployeeSharingArrangements => "AHE",
1012            Text::OrganizationDetails => "AHF",
1013            Text::PublicRecordDetails => "AHG",
1014            Text::PriceRange => "AHH",
1015            Text::Qualifications => "AHI",
1016            Text::RegisteredActivity => "AHJ",
1017            Text::CriminalSentence => "AHK",
1018            Text::SalesMethod => "AHL",
1019            Text::EducationalInstitutionInformation => "AHM",
1020            Text::StatusDetails => "AHN",
1021            Text::Sales => "AHO",
1022            Text::SpouseInformation => "AHP",
1023            Text::EducationalDegreeInformation => "AHQ",
1024            Text::ShareholdingInformation => "AHR",
1025            Text::SalesTerritory => "AHS",
1026            Text::AccountantsComments => "AHT",
1027            Text::ExemptionLawLocation => "AHU",
1028            Text::ShareClassifications => "AHV",
1029            Text::Forecast => "AHW",
1030            Text::EventLocation => "AHX",
1031            Text::FacilityOccupancy => "AHY",
1032            Text::ImportAndExportDetails => "AHZ",
1033            Text::AdditionalFacilityInformation => "AIA",
1034            Text::InventoryValue => "AIB",
1035            Text::Education => "AIC",
1036            Text::Event => "AID",
1037            Text::Agent => "AIE",
1038            Text::DomesticallyAgreedFinancialStatementDetails => "AIF",
1039            Text::OtherCurrentAssetDescription => "AIG",
1040            Text::OtherCurrentLiabilityDescription => "AIH",
1041            Text::FormerBusinessActivity => "AII",
1042            Text::TradeNameUse => "AIJ",
1043            Text::SigningAuthority => "AIK",
1044            Text::Guarantee => "AIL",
1045            Text::HoldingCompanyOperation => "AIM",
1046            Text::ConsignmentRouting => "AIN",
1047            Text::LetterProtest => "AIO",
1048            Text::Question => "AIP",
1049            Text::PartyInformation => "AIQ",
1050            Text::AreaBoundariesDescription => "AIR",
1051            Text::AdvertisementInformation => "AIS",
1052            Text::FinancialStatementDetails => "AIT",
1053            Text::AccessInstructions => "AIU",
1054            Text::Liquidity => "AIV",
1055            Text::CreditLine => "AIW",
1056            Text::WarrantyTerms => "AIX",
1057            Text::DivisionDescription => "AIY",
1058            Text::ReportingInstruction => "AIZ",
1059            Text::ExaminationResult => "AJA",
1060            Text::LaboratoryResult => "AJB",
1061            Text::AllowanceChargeInformation => "ALC",
1062            Text::XRayResult => "ALD",
1063            Text::PathologyResult => "ALE",
1064            Text::InterventionDescription => "ALF",
1065            Text::SummaryAdmittance => "ALG",
1066            Text::MedicalTreatmentCourseDetail => "ALH",
1067            Text::Prognosis => "ALI",
1068            Text::InstructionToPatient => "ALJ",
1069            Text::InstructionToPhysician => "ALK",
1070            Text::AllDocuments => "ALL",
1071            Text::MedicineTreatment => "ALM",
1072            Text::MedicineDosageAndAdministration => "ALN",
1073            Text::AvailabilityPatient => "ALO",
1074            Text::ReasonForServiceRequest => "ALP",
1075            Text::PurposeService => "ALQ",
1076            Text::ArrivalConditions => "ARR",
1077            Text::ServiceRequestersComment => "ARS",
1078            Text::Authentication => "AUT",
1079            Text::RequestedLocationDescription => "AUU",
1080            Text::MedicineAdministrationCondition => "AUV",
1081            Text::PatientInformation => "AUW",
1082            Text::PrecautionaryMeasure => "AUX",
1083            Text::ServiceCharacteristic => "AUY",
1084            Text::PlannedEventComment => "AUZ",
1085            Text::ExpectedDelayComment => "AVA",
1086            Text::TransportRequirementsComment => "AVB",
1087            Text::TemporaryApprovalCondition => "AVC",
1088            Text::CustomsValuationInformation => "AVD",
1089            Text::ValueAddedTaxVatMarginScheme => "AVE",
1090            Text::MaritimeDeclarationHealth => "AVF",
1091            Text::PassengerBaggageInformation => "BAG",
1092            Text::MaritimeDeclarationHealth_Dup => "BAH",
1093            Text::AdditionalProductInformationAddress => "BAI",
1094            Text::InformationToBePrintedOnDespatchAdvice => "BAJ",
1095            Text::MissingGoodsRemarks => "BAK",
1096            Text::NonAcceptanceInformation => "BAL",
1097            Text::ReturnsInformation => "BAM",
1098            Text::SubLineItemInformation => "BAN",
1099            Text::TestInformation => "BAO",
1100            Text::ExternalLink => "BAP",
1101            Text::VatExemptionReason => "BAQ",
1102            Text::ProcessingInstructions => "BAR",
1103            Text::RelayInstructions => "BAS",
1104            Text::SimaApplicable => "BAT",
1105            Text::AppealsProgramCode => "BAU",
1106            Text::SimaSubject => "BAV",
1107            Text::SurtaxApplicable => "BAW",
1108            Text::SimaSecurityBond => "BAX",
1109            Text::SurtaxSubject => "BAY",
1110            Text::SafeguardApplicable => "BAZ",
1111            Text::SafeguardApplicable_Dup => "BBA",
1112            Text::SafeguardSubject => "BBB",
1113            Text::TransportContractDocumentClause => "BLC",
1114            Text::InstructionToPreparePatient => "BLD",
1115            Text::MedicineTreatmentComment => "BLE",
1116            Text::ExaminationResultComment => "BLF",
1117            Text::ServiceRequestComment => "BLG",
1118            Text::PrescriptionReason => "BLH",
1119            Text::PrescriptionComment => "BLI",
1120            Text::ClinicalInvestigationComment => "BLJ",
1121            Text::MedicinalSpecificationComment => "BLK",
1122            Text::EconomicContributionComment => "BLL",
1123            Text::StatusAPlan => "BLM",
1124            Text::RandomSampleTestInformation => "BLN",
1125            Text::PeriodTime => "BLO",
1126            Text::Legislation => "BLP",
1127            Text::SecurityMeasuresRequested => "BLQ",
1128            Text::TransportContractDocumentRemark => "BLR",
1129            Text::PreviousPortCallSecurityInformation => "BLS",
1130            Text::SecurityInformation => "BLT",
1131            Text::WasteInformation => "BLU",
1132            Text::B2cMarketingInformationShortDescription => "BLV",
1133            Text::B2bMarketingInformationLongDescription => "BLW",
1134            Text::B2cMarketingInformationLongDescription => "BLX",
1135            Text::ProductIngredients => "BLY",
1136            Text::LocationShortName => "BLZ",
1137            Text::PackagingMaterialInformation => "BMA",
1138            Text::FillerMaterialInformation => "BMB",
1139            Text::ShipToShipActivityInformation => "BMC",
1140            Text::PackageMaterialDescription => "BMD",
1141            Text::ConsumerLevelPackageMarking => "BME",
1142            Text::SimaMeasureInForce => "BMF",
1143            Text::PreCarm => "BMG",
1144            Text::SimaMeasureType => "BMH",
1145            Text::CustomsClearanceInstructions => "CCI",
1146            Text::SubTypeCode => "CCJ",
1147            Text::SimaInformation => "CCK",
1148            Text::TimeLimitEnd => "CCL",
1149            Text::TimeLimitStart => "CCM",
1150            Text::WarehouseTimeLimit => "CCN",
1151            Text::ValueForDutyInformation => "CCO",
1152            Text::CustomsClearanceInstructionsExport => "CEX",
1153            Text::ChangeInformation => "CHG",
1154            Text::CustomsClearanceInstructionImport => "CIP",
1155            Text::ClearancePlaceRequested => "CLP",
1156            Text::LoadingRemarks => "CLR",
1157            Text::OrderInformation => "COI",
1158            Text::CustomerRemarks => "CUR",
1159            Text::CustomsDeclarationInformation => "CUS",
1160            Text::DamageRemarks => "DAR",
1161            Text::DocumentIssuerDeclaration => "DCL",
1162            Text::DeliveryInformation => "DEL",
1163            Text::DeliveryInstructions => "DIN",
1164            Text::DocumentationInstructions => "DOC",
1165            Text::DutyDeclaration => "DUT",
1166            Text::EffectiveUsedRouting => "EUR",
1167            Text::FirstBlockToBePrintedOnTransportContract => "FBC",
1168            Text::GovernmentBillLadingInformation => "GBL",
1169            Text::EntireTransactionSet => "GEN",
1170            Text::FurtherInformationConcerningGgvsPar7 => "GS7",
1171            Text::ConsignmentHandlingInstruction => "HAN",
1172            Text::HazardInformation => "HAZ",
1173            Text::ConsignmentInformationForConsignee => "ICN",
1174            Text::InsuranceInstructions => "IIN",
1175            Text::InvoiceMailingInstructions => "IMI",
1176            Text::CommercialInvoiceItemDescription => "IND",
1177            Text::InsuranceInformation => "INS",
1178            Text::InvoiceInstruction => "INV",
1179            Text::InformationForRailwayPurpose => "IRP",
1180            Text::InlandTransportDetails => "ITR",
1181            Text::TestingInstructions => "ITS",
1182            Text::LocationAlias => "LAN",
1183            Text::LineItem => "LIN",
1184            Text::LoadingInstruction => "LOI",
1185            Text::MiscellaneousChargeOrder => "MCO",
1186            Text::MaritimeDeclarationHealth_Dup_Dup => "MDH",
1187            Text::AdditionalMarksNumbersInformation => "MKS",
1188            Text::OrderInstruction => "ORI",
1189            Text::OtherServiceInformation => "OSI",
1190            Text::PackingMarkingInformation => "PAC",
1191            Text::PaymentInstructionsInformation => "PAI",
1192            Text::PayablesInformation => "PAY",
1193            Text::PackagingInformation => "PKG",
1194            Text::PackagingTermsInformation => "PKT",
1195            Text::PaymentDetailRemittanceInformation => "PMD",
1196            Text::PaymentInformation => "PMT",
1197            Text::ProductInformation => "PRD",
1198            Text::PriceCalculationFormula => "PRF",
1199            Text::PriorityInformation => "PRI",
1200            Text::PurchasingInformation => "PUR",
1201            Text::QuarantineInstructions => "QIN",
1202            Text::QualityDemandsRequirements => "QQD",
1203            Text::QuotationInstructionInformation => "QUT",
1204            Text::RiskAndHandlingInformation => "RAH",
1205            Text::RegulatoryInformation => "REG",
1206            Text::ReturnToOriginInformation => "RET",
1207            Text::Receivables => "REV",
1208            Text::ConsignmentRoute => "RQR",
1209            Text::SafetyInformation => "SAF",
1210            Text::ConsignmentDocumentaryInstruction => "SIC",
1211            Text::SpecialInstructions => "SIN",
1212            Text::ShipLineRequested => "SLR",
1213            Text::SpecialPermissionForTransportGenerally => "SPA",
1214            Text::SpecialPermissionConcerningGoodsToBeTransported => "SPG",
1215            Text::SpecialHandling => "SPH",
1216            Text::SpecialPermissionConcerningPackage => "SPP",
1217            Text::SpecialPermissionConcerningTransportMeans => "SPT",
1218            Text::SubsidiaryRiskNumberIataDgr => "SRN",
1219            Text::SpecialServiceRequest => "SSR",
1220            Text::SupplierRemarks => "SUR",
1221            Text::ConsignmentTariff => "TCA",
1222            Text::ConsignmentTransport => "TDT",
1223            Text::TransportationInformation => "TRA",
1224            Text::RequestedTariff => "TRR",
1225            Text::TaxDeclaration => "TXD",
1226            Text::WarehouseInstructionInformation => "WHI",
1227            Text::MutuallyDefined => "ZZZ",
1228        }
1229    }
1230}
1231
1232impl crate::Description for Text {
1233    fn description(self) -> &'static str {
1234        match self {
1235            Text::GoodsItemDescription => "Goods item description",
1236            Text::PaymentTerm => "Payment term",
1237            Text::DangerousGoodsAdditionalInformation => "Dangerous goods additional information",
1238            Text::DangerousGoodsTechnicalName => "Dangerous goods technical name",
1239            Text::AcknowledgementDescription => "Acknowledgement description",
1240            Text::RateAdditionalInformation => "Rate additional information",
1241            Text::PartyInstructions => "Party instructions",
1242            Text::GeneralInformation => "General information",
1243            Text::AdditionalConditionsSalePurchase => "Additional conditions of sale/purchase",
1244            Text::PriceConditions => "Price conditions",
1245            Text::GoodsDimensionsInCharacters => "Goods dimensions in characters",
1246            Text::EquipmentReUsageRestrictions => "Equipment re-usage restrictions",
1247            Text::HandlingRestriction => "Handling restriction",
1248            Text::ErrorDescriptionFreeText => "Error description (free text)",
1249            Text::ResponseFreeText => "Response (free text)",
1250            Text::PackageContentsDescription => "Package content's description",
1251            Text::TermsDelivery => "Terms of delivery",
1252            Text::BillLadingRemarks => "Bill of lading remarks",
1253            Text::ModeSettlementInformation => "Mode of settlement information",
1254            Text::ConsignmentInvoiceInformation => "Consignment invoice information",
1255            Text::ClearanceInvoiceInformation => "Clearance invoice information",
1256            Text::LetterCreditInformation => "Letter of credit information",
1257            Text::LicenseInformation => "License information",
1258            Text::CertificationStatements => "Certification statements",
1259            Text::AdditionalExportInformation => "Additional export information",
1260            Text::TariffStatements => "Tariff statements",
1261            Text::MedicalHistory => "Medical history",
1262            Text::ConditionsSaleOrPurchase => "Conditions of sale or purchase",
1263            Text::ContractDocumentType => "Contract document type",
1264            Text::AdditionalTermsAndOrConditionsDocumentaryCredit => {
1265                "Additional terms and/or conditions (documentary credit)"
1266            }
1267            Text::InstructionsOrInformationAboutStandbyDocumentary => {
1268                "Instructions or information about standby documentary"
1269            }
1270            Text::InstructionsOrInformationAboutPartialShipmentS => {
1271                "Instructions or information about partial shipment(s)"
1272            }
1273            Text::InstructionsOrInformationAboutTranshipmentS => {
1274                "Instructions or information about transhipment(s)"
1275            }
1276            Text::AdditionalHandlingInstructionsDocumentaryCredit => {
1277                "Additional handling instructions documentary credit"
1278            }
1279            Text::DomesticRoutingInformation => "Domestic routing information",
1280            Text::ChargeableCategoryEquipment => "Chargeable category of equipment",
1281            Text::GovernmentInformation => "Government information",
1282            Text::OnwardRoutingInformation => "Onward routing information",
1283            Text::AccountingInformation => "Accounting information",
1284            Text::DiscrepancyInformation => "Discrepancy information",
1285            Text::ConfirmationInstructions => "Confirmation instructions",
1286            Text::MethodIssuance => "Method of issuance",
1287            Text::DocumentsDeliveryInstructions => "Documents delivery instructions",
1288            Text::AdditionalConditions => "Additional conditions",
1289            Text::InformationInstructionsAboutAdditionalAmountsCovered => {
1290                "Information/instructions about additional amounts covered"
1291            }
1292            Text::DeferredPaymentTermedAdditional => "Deferred payment termed additional",
1293            Text::AcceptanceTermsAdditional => "Acceptance terms additional",
1294            Text::NegotiationTermsAdditional => "Negotiation terms additional",
1295            Text::DocumentNameAndDocumentaryRequirements => {
1296                "Document name and documentary requirements"
1297            }
1298            Text::InstructionsInformationAboutRevolvingDocumentaryCredit => {
1299                "Instructions/information about revolving documentary credit"
1300            }
1301            Text::DocumentaryRequirements => "Documentary requirements",
1302            Text::AdditionalInformation => "Additional information",
1303            Text::FactorAssignmentClause => "Factor assignment clause",
1304            Text::Reason => "Reason",
1305            Text::Dispute => "Dispute",
1306            Text::AdditionalAttributeInformation => "Additional attribute information",
1307            Text::AbsenceDeclaration => "Absence declaration",
1308            Text::AggregationStatement => "Aggregation statement",
1309            Text::CompilationStatement => "Compilation statement",
1310            Text::DefinitionalException => "Definitional exception",
1311            Text::PrivacyStatement => "Privacy statement",
1312            Text::QualityStatement => "Quality statement",
1313            Text::StatisticalDescription => "Statistical description",
1314            Text::StatisticalDefinition => "Statistical definition",
1315            Text::StatisticalName => "Statistical name",
1316            Text::StatisticalTitle => "Statistical title",
1317            Text::OffDimensionInformation => "Off-dimension information",
1318            Text::UnexpectedStopsInformation => "Unexpected stops information",
1319            Text::Principles => "Principles",
1320            Text::TermsAndDefinition => "Terms and definition",
1321            Text::SegmentName => "Segment name",
1322            Text::SimpleDataElementName => "Simple data element name",
1323            Text::Scope => "Scope",
1324            Text::MessageTypeName => "Message type name",
1325            Text::Introduction => "Introduction",
1326            Text::Glossary => "Glossary",
1327            Text::FunctionalDefinition => "Functional definition",
1328            Text::Examples => "Examples",
1329            Text::CoverPage => "Cover page",
1330            Text::DependencySyntaxNotes => "Dependency (syntax) notes",
1331            Text::CodeValueName => "Code value name",
1332            Text::CodeListName => "Code list name",
1333            Text::ClarificationUsage => "Clarification of usage",
1334            Text::CompositeDataElementName => "Composite data element name",
1335            Text::FieldApplication => "Field of application",
1336            Text::TypeAssetsAndLiabilities => "Type of assets and liabilities",
1337            Text::PromotionInformation => "Promotion information",
1338            Text::MeterCondition => "Meter condition",
1339            Text::MeterReadingInformation => "Meter reading information",
1340            Text::TypeTransactionReason => "Type of transaction reason",
1341            Text::TypeSurveyQuestion => "Type of survey question",
1342            Text::CarriersAgentCounterInformation => "Carrier's agent counter information",
1343            Text::DescriptionWorkItemOnEquipment => "Description of work item on equipment",
1344            Text::MessageDefinition => "Message definition",
1345            Text::BookedItemInformation => "Booked item information",
1346            Text::SourceDocument => "Source of document",
1347            Text::Note => "Note",
1348            Text::FixedPartSegmentClarificationText => "Fixed part of segment clarification text",
1349            Text::CharacteristicsGoods => "Characteristics of goods",
1350            Text::AdditionalDischargeInstructions => "Additional discharge instructions",
1351            Text::ContainerStrippingInstructions => "Container stripping instructions",
1352            Text::CscContainerSafetyConventionPlateInformation => {
1353                "CSC (Container Safety Convention) plate information"
1354            }
1355            Text::CargoRemarks => "Cargo remarks",
1356            Text::TemperatureControlInstructions => "Temperature control instructions",
1357            Text::TextRefersToExpectedData => "Text refers to expected data",
1358            Text::TextRefersToReceivedData => "Text refers to received data",
1359            Text::SectionClarificationText => "Section clarification text",
1360            Text::InformationToBeneficiary => "Information to the beneficiary",
1361            Text::InformationToApplicant => "Information to the applicant",
1362            Text::InstructionsToBeneficiary => "Instructions to the beneficiary",
1363            Text::InstructionsToApplicant => "Instructions to the applicant",
1364            Text::ControlledAtmosphere => "Controlled atmosphere",
1365            Text::TakeOffAnnotation => "Take off annotation",
1366            Text::PriceVariationNarrative => "Price variation narrative",
1367            Text::DocumentaryCreditAmendmentInstructions => {
1368                "Documentary credit amendment instructions"
1369            }
1370            Text::StandardMethodNarrative => "Standard method narrative",
1371            Text::ProjectNarrative => "Project narrative",
1372            Text::RadioactiveGoodsAdditionalInformation => {
1373                "Radioactive goods, additional information"
1374            }
1375            Text::BankToBankInformation => "Bank-to-bank information",
1376            Text::ReimbursementInstructions => "Reimbursement instructions",
1377            Text::ReasonForAmendingAMessage => "Reason for amending a message",
1378            Text::InstructionsToPayingAndOrAcceptingAndOr => {
1379                "Instructions to the paying and/or accepting and/or"
1380            }
1381            Text::InterestInstructions => "Interest instructions",
1382            Text::AgentCommission => "Agent commission",
1383            Text::RemittingBankInstructions => "Remitting bank instructions",
1384            Text::InstructionsToCollectingBank => "Instructions to the collecting bank",
1385            Text::CollectionAmountInstructions => "Collection amount instructions",
1386            Text::InternalAuditingInformation => "Internal auditing information",
1387            Text::Constraint => "Constraint",
1388            Text::Comment => "Comment",
1389            Text::SemanticNote => "Semantic note",
1390            Text::HelpText => "Help text",
1391            Text::Legend => "Legend",
1392            Text::BatchCodeStructure => "Batch code structure",
1393            Text::ProductApplication => "Product application",
1394            Text::CustomerComplaint => "Customer complaint",
1395            Text::ProbableCauseFault => "Probable cause of fault",
1396            Text::DefectDescription => "Defect description",
1397            Text::RepairDescription => "Repair description",
1398            Text::ReviewComments => "Review comments",
1399            Text::Title => "Title",
1400            Text::DescriptionAmount => "Description of amount",
1401            Text::Responsibilities => "Responsibilities",
1402            Text::Supplier => "Supplier",
1403            Text::PurchaseRegion => "Purchase region",
1404            Text::Affiliation => "Affiliation",
1405            Text::Borrower => "Borrower",
1406            Text::LineBusiness => "Line of business",
1407            Text::FinancialInstitution => "Financial institution",
1408            Text::BusinessFounder => "Business founder",
1409            Text::BusinessHistory => "Business history",
1410            Text::BankingArrangements => "Banking arrangements",
1411            Text::BusinessOrigin => "Business origin",
1412            Text::BrandNamesDescription => "Brand names' description",
1413            Text::BusinessFinancingDetails => "Business financing details",
1414            Text::Competition => "Competition",
1415            Text::ConstructionProcessDetails => "Construction process details",
1416            Text::ConstructionSpecialty => "Construction specialty",
1417            Text::ContractInformation => "Contract information",
1418            Text::CorporateFiling => "Corporate filing",
1419            Text::CustomerInformation => "Customer information",
1420            Text::CopyrightNotice => "Copyright notice",
1421            Text::ContingentDebt => "Contingent debt",
1422            Text::ConvictionDetails => "Conviction details",
1423            Text::Equipment => "Equipment",
1424            Text::WorkforceDescription => "Workforce description",
1425            Text::Exemption => "Exemption",
1426            Text::FuturePlans => "Future plans",
1427            Text::IntervieweeConversationInformation => "Interviewee conversation information",
1428            Text::IntangibleAsset => "Intangible asset",
1429            Text::Inventory => "Inventory",
1430            Text::Investment => "Investment",
1431            Text::IntercompanyRelationsInformation => "Intercompany relations information",
1432            Text::JointVenture => "Joint venture",
1433            Text::Loan => "Loan",
1434            Text::LongTermDebt => "Long term debt",
1435            Text::Location => "Location",
1436            Text::CurrentLegalStructure => "Current legal structure",
1437            Text::MaritalContract => "Marital contract",
1438            Text::MarketingActivities => "Marketing activities",
1439            Text::Merger => "Merger",
1440            Text::MarketableSecurities => "Marketable securities",
1441            Text::BusinessDebt => "Business debt",
1442            Text::OriginalLegalStructure => "Original legal structure",
1443            Text::EmployeeSharingArrangements => "Employee sharing arrangements",
1444            Text::OrganizationDetails => "Organization details",
1445            Text::PublicRecordDetails => "Public record details",
1446            Text::PriceRange => "Price range",
1447            Text::Qualifications => "Qualifications",
1448            Text::RegisteredActivity => "Registered activity",
1449            Text::CriminalSentence => "Criminal sentence",
1450            Text::SalesMethod => "Sales method",
1451            Text::EducationalInstitutionInformation => "Educational institution information",
1452            Text::StatusDetails => "Status details",
1453            Text::Sales => "Sales",
1454            Text::SpouseInformation => "Spouse information",
1455            Text::EducationalDegreeInformation => "Educational degree information",
1456            Text::ShareholdingInformation => "Shareholding information",
1457            Text::SalesTerritory => "Sales territory",
1458            Text::AccountantsComments => "Accountant's comments",
1459            Text::ExemptionLawLocation => "Exemption law location",
1460            Text::ShareClassifications => "Share classifications",
1461            Text::Forecast => "Forecast",
1462            Text::EventLocation => "Event location",
1463            Text::FacilityOccupancy => "Facility occupancy",
1464            Text::ImportAndExportDetails => "Import and export details",
1465            Text::AdditionalFacilityInformation => "Additional facility information",
1466            Text::InventoryValue => "Inventory value",
1467            Text::Education => "Education",
1468            Text::Event => "Event",
1469            Text::Agent => "Agent",
1470            Text::DomesticallyAgreedFinancialStatementDetails => {
1471                "Domestically agreed financial statement details"
1472            }
1473            Text::OtherCurrentAssetDescription => "Other current asset description",
1474            Text::OtherCurrentLiabilityDescription => "Other current liability description",
1475            Text::FormerBusinessActivity => "Former business activity",
1476            Text::TradeNameUse => "Trade name use",
1477            Text::SigningAuthority => "Signing authority",
1478            Text::Guarantee => "Guarantee",
1479            Text::HoldingCompanyOperation => "Holding company operation",
1480            Text::ConsignmentRouting => "Consignment routing",
1481            Text::LetterProtest => "Letter of protest",
1482            Text::Question => "Question",
1483            Text::PartyInformation => "Party information",
1484            Text::AreaBoundariesDescription => "Area boundaries description",
1485            Text::AdvertisementInformation => "Advertisement information",
1486            Text::FinancialStatementDetails => "Financial statement details",
1487            Text::AccessInstructions => "Access instructions",
1488            Text::Liquidity => "Liquidity",
1489            Text::CreditLine => "Credit line",
1490            Text::WarrantyTerms => "Warranty terms",
1491            Text::DivisionDescription => "Division description",
1492            Text::ReportingInstruction => "Reporting instruction",
1493            Text::ExaminationResult => "Examination result",
1494            Text::LaboratoryResult => "Laboratory result",
1495            Text::AllowanceChargeInformation => "Allowance/charge information",
1496            Text::XRayResult => "X-ray result",
1497            Text::PathologyResult => "Pathology result",
1498            Text::InterventionDescription => "Intervention description",
1499            Text::SummaryAdmittance => "Summary of admittance",
1500            Text::MedicalTreatmentCourseDetail => "Medical treatment course detail",
1501            Text::Prognosis => "Prognosis",
1502            Text::InstructionToPatient => "Instruction to patient",
1503            Text::InstructionToPhysician => "Instruction to physician",
1504            Text::AllDocuments => "All documents",
1505            Text::MedicineTreatment => "Medicine treatment",
1506            Text::MedicineDosageAndAdministration => "Medicine dosage and administration",
1507            Text::AvailabilityPatient => "Availability of patient",
1508            Text::ReasonForServiceRequest => "Reason for service request",
1509            Text::PurposeService => "Purpose of service",
1510            Text::ArrivalConditions => "Arrival conditions",
1511            Text::ServiceRequestersComment => "Service requester's comment",
1512            Text::Authentication => "Authentication",
1513            Text::RequestedLocationDescription => "Requested location description",
1514            Text::MedicineAdministrationCondition => "Medicine administration condition",
1515            Text::PatientInformation => "Patient information",
1516            Text::PrecautionaryMeasure => "Precautionary measure",
1517            Text::ServiceCharacteristic => "Service characteristic",
1518            Text::PlannedEventComment => "Planned event comment",
1519            Text::ExpectedDelayComment => "Expected delay comment",
1520            Text::TransportRequirementsComment => "Transport requirements comment",
1521            Text::TemporaryApprovalCondition => "Temporary approval condition",
1522            Text::CustomsValuationInformation => "Customs Valuation Information",
1523            Text::ValueAddedTaxVatMarginScheme => "Value Added Tax (VAT) margin scheme",
1524            Text::MaritimeDeclarationHealth => "Maritime Declaration of Health",
1525            Text::PassengerBaggageInformation => "Passenger baggage information",
1526            Text::MaritimeDeclarationHealth_Dup => "Maritime Declaration of Health",
1527            Text::AdditionalProductInformationAddress => "Additional product information address",
1528            Text::InformationToBePrintedOnDespatchAdvice => {
1529                "Information to be printed on despatch advice"
1530            }
1531            Text::MissingGoodsRemarks => "Missing goods remarks",
1532            Text::NonAcceptanceInformation => "Non-acceptance information",
1533            Text::ReturnsInformation => "Returns information",
1534            Text::SubLineItemInformation => "Sub-line item information",
1535            Text::TestInformation => "Test information",
1536            Text::ExternalLink => "External link",
1537            Text::VatExemptionReason => "VAT exemption reason",
1538            Text::ProcessingInstructions => "Processing Instructions",
1539            Text::RelayInstructions => "Relay Instructions",
1540            Text::SimaApplicable => "SIMA applicable",
1541            Text::AppealsProgramCode => "Appeals program code",
1542            Text::SimaSubject => "SIMA subject",
1543            Text::SurtaxApplicable => "Surtax applicable",
1544            Text::SimaSecurityBond => "SIMA security bond",
1545            Text::SurtaxSubject => "Surtax subject",
1546            Text::SafeguardApplicable => "Safeguard applicable",
1547            Text::SafeguardApplicable_Dup => "Safeguard applicable",
1548            Text::SafeguardSubject => "Safeguard subject",
1549            Text::TransportContractDocumentClause => "Transport contract document clause",
1550            Text::InstructionToPreparePatient => "Instruction to prepare the patient",
1551            Text::MedicineTreatmentComment => "Medicine treatment comment",
1552            Text::ExaminationResultComment => "Examination result comment",
1553            Text::ServiceRequestComment => "Service request comment",
1554            Text::PrescriptionReason => "Prescription reason",
1555            Text::PrescriptionComment => "Prescription comment",
1556            Text::ClinicalInvestigationComment => "Clinical investigation comment",
1557            Text::MedicinalSpecificationComment => "Medicinal specification comment",
1558            Text::EconomicContributionComment => "Economic contribution comment",
1559            Text::StatusAPlan => "Status of a plan",
1560            Text::RandomSampleTestInformation => "Random sample test information",
1561            Text::PeriodTime => "Period of time",
1562            Text::Legislation => "Legislation",
1563            Text::SecurityMeasuresRequested => "Security measures requested",
1564            Text::TransportContractDocumentRemark => "Transport contract document remark",
1565            Text::PreviousPortCallSecurityInformation => {
1566                "Previous port of call security information"
1567            }
1568            Text::SecurityInformation => "Security information",
1569            Text::WasteInformation => "Waste information",
1570            Text::B2cMarketingInformationShortDescription => {
1571                "B2C marketing information, short description"
1572            }
1573            Text::B2bMarketingInformationLongDescription => {
1574                "B2B marketing information, long description"
1575            }
1576            Text::B2cMarketingInformationLongDescription => {
1577                "B2C marketing information, long description"
1578            }
1579            Text::ProductIngredients => "Product ingredients",
1580            Text::LocationShortName => "Location short name",
1581            Text::PackagingMaterialInformation => "Packaging material information",
1582            Text::FillerMaterialInformation => "Filler material information",
1583            Text::ShipToShipActivityInformation => "Ship-to-ship activity information",
1584            Text::PackageMaterialDescription => "Package material description",
1585            Text::ConsumerLevelPackageMarking => "Consumer level package marking",
1586            Text::SimaMeasureInForce => "SIMA measure in force",
1587            Text::PreCarm => "Pre-CARM",
1588            Text::SimaMeasureType => "SIMA measure type",
1589            Text::CustomsClearanceInstructions => "Customs clearance instructions",
1590            Text::SubTypeCode => "Sub Type Code",
1591            Text::SimaInformation => "SIMA information",
1592            Text::TimeLimitEnd => "Time limit end",
1593            Text::TimeLimitStart => "Time limit start",
1594            Text::WarehouseTimeLimit => "Warehouse time limit",
1595            Text::ValueForDutyInformation => "Value for duty information",
1596            Text::CustomsClearanceInstructionsExport => "Customs clearance instructions export",
1597            Text::ChangeInformation => "Change information",
1598            Text::CustomsClearanceInstructionImport => "Customs clearance instruction import",
1599            Text::ClearancePlaceRequested => "Clearance place requested",
1600            Text::LoadingRemarks => "Loading remarks",
1601            Text::OrderInformation => "Order information",
1602            Text::CustomerRemarks => "Customer remarks",
1603            Text::CustomsDeclarationInformation => "Customs declaration information",
1604            Text::DamageRemarks => "Damage remarks",
1605            Text::DocumentIssuerDeclaration => "Document issuer declaration",
1606            Text::DeliveryInformation => "Delivery information",
1607            Text::DeliveryInstructions => "Delivery instructions",
1608            Text::DocumentationInstructions => "Documentation instructions",
1609            Text::DutyDeclaration => "Duty declaration",
1610            Text::EffectiveUsedRouting => "Effective used routing",
1611            Text::FirstBlockToBePrintedOnTransportContract => {
1612                "First block to be printed on the transport contract"
1613            }
1614            Text::GovernmentBillLadingInformation => "Government bill of lading information",
1615            Text::EntireTransactionSet => "Entire transaction set",
1616            Text::FurtherInformationConcerningGgvsPar7 => {
1617                "Further information concerning GGVS par. 7"
1618            }
1619            Text::ConsignmentHandlingInstruction => "Consignment handling instruction",
1620            Text::HazardInformation => "Hazard information",
1621            Text::ConsignmentInformationForConsignee => "Consignment information for consignee",
1622            Text::InsuranceInstructions => "Insurance instructions",
1623            Text::InvoiceMailingInstructions => "Invoice mailing instructions",
1624            Text::CommercialInvoiceItemDescription => "Commercial invoice item description",
1625            Text::InsuranceInformation => "Insurance information",
1626            Text::InvoiceInstruction => "Invoice instruction",
1627            Text::InformationForRailwayPurpose => "Information for railway purpose",
1628            Text::InlandTransportDetails => "Inland transport details",
1629            Text::TestingInstructions => "Testing instructions",
1630            Text::LocationAlias => "Location Alias",
1631            Text::LineItem => "Line item",
1632            Text::LoadingInstruction => "Loading instruction",
1633            Text::MiscellaneousChargeOrder => "Miscellaneous charge order",
1634            Text::MaritimeDeclarationHealth_Dup_Dup => "Maritime Declaration of Health",
1635            Text::AdditionalMarksNumbersInformation => "Additional marks/numbers information",
1636            Text::OrderInstruction => "Order instruction",
1637            Text::OtherServiceInformation => "Other service information",
1638            Text::PackingMarkingInformation => "Packing/marking information",
1639            Text::PaymentInstructionsInformation => "Payment instructions information",
1640            Text::PayablesInformation => "Payables information",
1641            Text::PackagingInformation => "Packaging information",
1642            Text::PackagingTermsInformation => "Packaging terms information",
1643            Text::PaymentDetailRemittanceInformation => "Payment detail/remittance information",
1644            Text::PaymentInformation => "Payment information",
1645            Text::ProductInformation => "Product information",
1646            Text::PriceCalculationFormula => "Price calculation formula",
1647            Text::PriorityInformation => "Priority information",
1648            Text::PurchasingInformation => "Purchasing information",
1649            Text::QuarantineInstructions => "Quarantine instructions",
1650            Text::QualityDemandsRequirements => "Quality demands/requirements",
1651            Text::QuotationInstructionInformation => "Quotation instruction/information",
1652            Text::RiskAndHandlingInformation => "Risk and handling information",
1653            Text::RegulatoryInformation => "Regulatory information",
1654            Text::ReturnToOriginInformation => "Return to origin information",
1655            Text::Receivables => "Receivables",
1656            Text::ConsignmentRoute => "Consignment route",
1657            Text::SafetyInformation => "Safety information",
1658            Text::ConsignmentDocumentaryInstruction => "Consignment documentary instruction",
1659            Text::SpecialInstructions => "Special instructions",
1660            Text::ShipLineRequested => "Ship line requested",
1661            Text::SpecialPermissionForTransportGenerally => {
1662                "Special permission for transport, generally"
1663            }
1664            Text::SpecialPermissionConcerningGoodsToBeTransported => {
1665                "Special permission concerning the goods to be transported"
1666            }
1667            Text::SpecialHandling => "Special handling",
1668            Text::SpecialPermissionConcerningPackage => "Special permission concerning package",
1669            Text::SpecialPermissionConcerningTransportMeans => {
1670                "Special permission concerning transport means"
1671            }
1672            Text::SubsidiaryRiskNumberIataDgr => "Subsidiary risk number (IATA/DGR)",
1673            Text::SpecialServiceRequest => "Special service request",
1674            Text::SupplierRemarks => "Supplier remarks",
1675            Text::ConsignmentTariff => "Consignment tariff",
1676            Text::ConsignmentTransport => "Consignment transport",
1677            Text::TransportationInformation => "Transportation information",
1678            Text::RequestedTariff => "Requested tariff",
1679            Text::TaxDeclaration => "Tax declaration",
1680            Text::WarehouseInstructionInformation => "Warehouse instruction/information",
1681            Text::MutuallyDefined => "Mutually defined",
1682        }
1683    }
1684}
1685
1686impl crate::FromCode for Text {
1687    fn from_code(code: &str) -> Option<Self>
1688    where
1689        Self: Sized,
1690    {
1691        match code {
1692            "AAA" => Some(Text::GoodsItemDescription),
1693            "AAB" => Some(Text::PaymentTerm),
1694            "AAC" => Some(Text::DangerousGoodsAdditionalInformation),
1695            "AAD" => Some(Text::DangerousGoodsTechnicalName),
1696            "AAE" => Some(Text::AcknowledgementDescription),
1697            "AAF" => Some(Text::RateAdditionalInformation),
1698            "AAG" => Some(Text::PartyInstructions),
1699            "AAI" => Some(Text::GeneralInformation),
1700            "AAJ" => Some(Text::AdditionalConditionsSalePurchase),
1701            "AAK" => Some(Text::PriceConditions),
1702            "AAL" => Some(Text::GoodsDimensionsInCharacters),
1703            "AAM" => Some(Text::EquipmentReUsageRestrictions),
1704            "AAN" => Some(Text::HandlingRestriction),
1705            "AAO" => Some(Text::ErrorDescriptionFreeText),
1706            "AAP" => Some(Text::ResponseFreeText),
1707            "AAQ" => Some(Text::PackageContentsDescription),
1708            "AAR" => Some(Text::TermsDelivery),
1709            "AAS" => Some(Text::BillLadingRemarks),
1710            "AAT" => Some(Text::ModeSettlementInformation),
1711            "AAU" => Some(Text::ConsignmentInvoiceInformation),
1712            "AAV" => Some(Text::ClearanceInvoiceInformation),
1713            "AAW" => Some(Text::LetterCreditInformation),
1714            "AAX" => Some(Text::LicenseInformation),
1715            "AAY" => Some(Text::CertificationStatements),
1716            "AAZ" => Some(Text::AdditionalExportInformation),
1717            "ABA" => Some(Text::TariffStatements),
1718            "ABB" => Some(Text::MedicalHistory),
1719            "ABC" => Some(Text::ConditionsSaleOrPurchase),
1720            "ABD" => Some(Text::ContractDocumentType),
1721            "ABE" => Some(Text::AdditionalTermsAndOrConditionsDocumentaryCredit),
1722            "ABF" => Some(Text::InstructionsOrInformationAboutStandbyDocumentary),
1723            "ABG" => Some(Text::InstructionsOrInformationAboutPartialShipmentS),
1724            "ABH" => Some(Text::InstructionsOrInformationAboutTranshipmentS),
1725            "ABI" => Some(Text::AdditionalHandlingInstructionsDocumentaryCredit),
1726            "ABJ" => Some(Text::DomesticRoutingInformation),
1727            "ABK" => Some(Text::ChargeableCategoryEquipment),
1728            "ABL" => Some(Text::GovernmentInformation),
1729            "ABM" => Some(Text::OnwardRoutingInformation),
1730            "ABN" => Some(Text::AccountingInformation),
1731            "ABO" => Some(Text::DiscrepancyInformation),
1732            "ABP" => Some(Text::ConfirmationInstructions),
1733            "ABQ" => Some(Text::MethodIssuance),
1734            "ABR" => Some(Text::DocumentsDeliveryInstructions),
1735            "ABS" => Some(Text::AdditionalConditions),
1736            "ABT" => Some(Text::InformationInstructionsAboutAdditionalAmountsCovered),
1737            "ABU" => Some(Text::DeferredPaymentTermedAdditional),
1738            "ABV" => Some(Text::AcceptanceTermsAdditional),
1739            "ABW" => Some(Text::NegotiationTermsAdditional),
1740            "ABX" => Some(Text::DocumentNameAndDocumentaryRequirements),
1741            "ABZ" => Some(Text::InstructionsInformationAboutRevolvingDocumentaryCredit),
1742            "ACA" => Some(Text::DocumentaryRequirements),
1743            "ACB" => Some(Text::AdditionalInformation),
1744            "ACC" => Some(Text::FactorAssignmentClause),
1745            "ACD" => Some(Text::Reason),
1746            "ACE" => Some(Text::Dispute),
1747            "ACF" => Some(Text::AdditionalAttributeInformation),
1748            "ACG" => Some(Text::AbsenceDeclaration),
1749            "ACH" => Some(Text::AggregationStatement),
1750            "ACI" => Some(Text::CompilationStatement),
1751            "ACJ" => Some(Text::DefinitionalException),
1752            "ACK" => Some(Text::PrivacyStatement),
1753            "ACL" => Some(Text::QualityStatement),
1754            "ACM" => Some(Text::StatisticalDescription),
1755            "ACN" => Some(Text::StatisticalDefinition),
1756            "ACO" => Some(Text::StatisticalName),
1757            "ACP" => Some(Text::StatisticalTitle),
1758            "ACQ" => Some(Text::OffDimensionInformation),
1759            "ACR" => Some(Text::UnexpectedStopsInformation),
1760            "ACS" => Some(Text::Principles),
1761            "ACT" => Some(Text::TermsAndDefinition),
1762            "ACU" => Some(Text::SegmentName),
1763            "ACV" => Some(Text::SimpleDataElementName),
1764            "ACW" => Some(Text::Scope),
1765            "ACX" => Some(Text::MessageTypeName),
1766            "ACY" => Some(Text::Introduction),
1767            "ACZ" => Some(Text::Glossary),
1768            "ADA" => Some(Text::FunctionalDefinition),
1769            "ADB" => Some(Text::Examples),
1770            "ADC" => Some(Text::CoverPage),
1771            "ADD" => Some(Text::DependencySyntaxNotes),
1772            "ADE" => Some(Text::CodeValueName),
1773            "ADF" => Some(Text::CodeListName),
1774            "ADG" => Some(Text::ClarificationUsage),
1775            "ADH" => Some(Text::CompositeDataElementName),
1776            "ADI" => Some(Text::FieldApplication),
1777            "ADJ" => Some(Text::TypeAssetsAndLiabilities),
1778            "ADK" => Some(Text::PromotionInformation),
1779            "ADL" => Some(Text::MeterCondition),
1780            "ADM" => Some(Text::MeterReadingInformation),
1781            "ADN" => Some(Text::TypeTransactionReason),
1782            "ADO" => Some(Text::TypeSurveyQuestion),
1783            "ADP" => Some(Text::CarriersAgentCounterInformation),
1784            "ADQ" => Some(Text::DescriptionWorkItemOnEquipment),
1785            "ADR" => Some(Text::MessageDefinition),
1786            "ADS" => Some(Text::BookedItemInformation),
1787            "ADT" => Some(Text::SourceDocument),
1788            "ADU" => Some(Text::Note),
1789            "ADV" => Some(Text::FixedPartSegmentClarificationText),
1790            "ADW" => Some(Text::CharacteristicsGoods),
1791            "ADX" => Some(Text::AdditionalDischargeInstructions),
1792            "ADY" => Some(Text::ContainerStrippingInstructions),
1793            "ADZ" => Some(Text::CscContainerSafetyConventionPlateInformation),
1794            "AEA" => Some(Text::CargoRemarks),
1795            "AEB" => Some(Text::TemperatureControlInstructions),
1796            "AEC" => Some(Text::TextRefersToExpectedData),
1797            "AED" => Some(Text::TextRefersToReceivedData),
1798            "AEE" => Some(Text::SectionClarificationText),
1799            "AEF" => Some(Text::InformationToBeneficiary),
1800            "AEG" => Some(Text::InformationToApplicant),
1801            "AEH" => Some(Text::InstructionsToBeneficiary),
1802            "AEI" => Some(Text::InstructionsToApplicant),
1803            "AEJ" => Some(Text::ControlledAtmosphere),
1804            "AEK" => Some(Text::TakeOffAnnotation),
1805            "AEL" => Some(Text::PriceVariationNarrative),
1806            "AEM" => Some(Text::DocumentaryCreditAmendmentInstructions),
1807            "AEN" => Some(Text::StandardMethodNarrative),
1808            "AEO" => Some(Text::ProjectNarrative),
1809            "AEP" => Some(Text::RadioactiveGoodsAdditionalInformation),
1810            "AEQ" => Some(Text::BankToBankInformation),
1811            "AER" => Some(Text::ReimbursementInstructions),
1812            "AES" => Some(Text::ReasonForAmendingAMessage),
1813            "AET" => Some(Text::InstructionsToPayingAndOrAcceptingAndOr),
1814            "AEU" => Some(Text::InterestInstructions),
1815            "AEV" => Some(Text::AgentCommission),
1816            "AEW" => Some(Text::RemittingBankInstructions),
1817            "AEX" => Some(Text::InstructionsToCollectingBank),
1818            "AEY" => Some(Text::CollectionAmountInstructions),
1819            "AEZ" => Some(Text::InternalAuditingInformation),
1820            "AFA" => Some(Text::Constraint),
1821            "AFB" => Some(Text::Comment),
1822            "AFC" => Some(Text::SemanticNote),
1823            "AFD" => Some(Text::HelpText),
1824            "AFE" => Some(Text::Legend),
1825            "AFF" => Some(Text::BatchCodeStructure),
1826            "AFG" => Some(Text::ProductApplication),
1827            "AFH" => Some(Text::CustomerComplaint),
1828            "AFI" => Some(Text::ProbableCauseFault),
1829            "AFJ" => Some(Text::DefectDescription),
1830            "AFK" => Some(Text::RepairDescription),
1831            "AFL" => Some(Text::ReviewComments),
1832            "AFM" => Some(Text::Title),
1833            "AFN" => Some(Text::DescriptionAmount),
1834            "AFO" => Some(Text::Responsibilities),
1835            "AFP" => Some(Text::Supplier),
1836            "AFQ" => Some(Text::PurchaseRegion),
1837            "AFR" => Some(Text::Affiliation),
1838            "AFS" => Some(Text::Borrower),
1839            "AFT" => Some(Text::LineBusiness),
1840            "AFU" => Some(Text::FinancialInstitution),
1841            "AFV" => Some(Text::BusinessFounder),
1842            "AFW" => Some(Text::BusinessHistory),
1843            "AFX" => Some(Text::BankingArrangements),
1844            "AFY" => Some(Text::BusinessOrigin),
1845            "AFZ" => Some(Text::BrandNamesDescription),
1846            "AGA" => Some(Text::BusinessFinancingDetails),
1847            "AGB" => Some(Text::Competition),
1848            "AGC" => Some(Text::ConstructionProcessDetails),
1849            "AGD" => Some(Text::ConstructionSpecialty),
1850            "AGE" => Some(Text::ContractInformation),
1851            "AGF" => Some(Text::CorporateFiling),
1852            "AGG" => Some(Text::CustomerInformation),
1853            "AGH" => Some(Text::CopyrightNotice),
1854            "AGI" => Some(Text::ContingentDebt),
1855            "AGJ" => Some(Text::ConvictionDetails),
1856            "AGK" => Some(Text::Equipment),
1857            "AGL" => Some(Text::WorkforceDescription),
1858            "AGM" => Some(Text::Exemption),
1859            "AGN" => Some(Text::FuturePlans),
1860            "AGO" => Some(Text::IntervieweeConversationInformation),
1861            "AGP" => Some(Text::IntangibleAsset),
1862            "AGQ" => Some(Text::Inventory),
1863            "AGR" => Some(Text::Investment),
1864            "AGS" => Some(Text::IntercompanyRelationsInformation),
1865            "AGT" => Some(Text::JointVenture),
1866            "AGU" => Some(Text::Loan),
1867            "AGV" => Some(Text::LongTermDebt),
1868            "AGW" => Some(Text::Location),
1869            "AGX" => Some(Text::CurrentLegalStructure),
1870            "AGY" => Some(Text::MaritalContract),
1871            "AGZ" => Some(Text::MarketingActivities),
1872            "AHA" => Some(Text::Merger),
1873            "AHB" => Some(Text::MarketableSecurities),
1874            "AHC" => Some(Text::BusinessDebt),
1875            "AHD" => Some(Text::OriginalLegalStructure),
1876            "AHE" => Some(Text::EmployeeSharingArrangements),
1877            "AHF" => Some(Text::OrganizationDetails),
1878            "AHG" => Some(Text::PublicRecordDetails),
1879            "AHH" => Some(Text::PriceRange),
1880            "AHI" => Some(Text::Qualifications),
1881            "AHJ" => Some(Text::RegisteredActivity),
1882            "AHK" => Some(Text::CriminalSentence),
1883            "AHL" => Some(Text::SalesMethod),
1884            "AHM" => Some(Text::EducationalInstitutionInformation),
1885            "AHN" => Some(Text::StatusDetails),
1886            "AHO" => Some(Text::Sales),
1887            "AHP" => Some(Text::SpouseInformation),
1888            "AHQ" => Some(Text::EducationalDegreeInformation),
1889            "AHR" => Some(Text::ShareholdingInformation),
1890            "AHS" => Some(Text::SalesTerritory),
1891            "AHT" => Some(Text::AccountantsComments),
1892            "AHU" => Some(Text::ExemptionLawLocation),
1893            "AHV" => Some(Text::ShareClassifications),
1894            "AHW" => Some(Text::Forecast),
1895            "AHX" => Some(Text::EventLocation),
1896            "AHY" => Some(Text::FacilityOccupancy),
1897            "AHZ" => Some(Text::ImportAndExportDetails),
1898            "AIA" => Some(Text::AdditionalFacilityInformation),
1899            "AIB" => Some(Text::InventoryValue),
1900            "AIC" => Some(Text::Education),
1901            "AID" => Some(Text::Event),
1902            "AIE" => Some(Text::Agent),
1903            "AIF" => Some(Text::DomesticallyAgreedFinancialStatementDetails),
1904            "AIG" => Some(Text::OtherCurrentAssetDescription),
1905            "AIH" => Some(Text::OtherCurrentLiabilityDescription),
1906            "AII" => Some(Text::FormerBusinessActivity),
1907            "AIJ" => Some(Text::TradeNameUse),
1908            "AIK" => Some(Text::SigningAuthority),
1909            "AIL" => Some(Text::Guarantee),
1910            "AIM" => Some(Text::HoldingCompanyOperation),
1911            "AIN" => Some(Text::ConsignmentRouting),
1912            "AIO" => Some(Text::LetterProtest),
1913            "AIP" => Some(Text::Question),
1914            "AIQ" => Some(Text::PartyInformation),
1915            "AIR" => Some(Text::AreaBoundariesDescription),
1916            "AIS" => Some(Text::AdvertisementInformation),
1917            "AIT" => Some(Text::FinancialStatementDetails),
1918            "AIU" => Some(Text::AccessInstructions),
1919            "AIV" => Some(Text::Liquidity),
1920            "AIW" => Some(Text::CreditLine),
1921            "AIX" => Some(Text::WarrantyTerms),
1922            "AIY" => Some(Text::DivisionDescription),
1923            "AIZ" => Some(Text::ReportingInstruction),
1924            "AJA" => Some(Text::ExaminationResult),
1925            "AJB" => Some(Text::LaboratoryResult),
1926            "ALC" => Some(Text::AllowanceChargeInformation),
1927            "ALD" => Some(Text::XRayResult),
1928            "ALE" => Some(Text::PathologyResult),
1929            "ALF" => Some(Text::InterventionDescription),
1930            "ALG" => Some(Text::SummaryAdmittance),
1931            "ALH" => Some(Text::MedicalTreatmentCourseDetail),
1932            "ALI" => Some(Text::Prognosis),
1933            "ALJ" => Some(Text::InstructionToPatient),
1934            "ALK" => Some(Text::InstructionToPhysician),
1935            "ALL" => Some(Text::AllDocuments),
1936            "ALM" => Some(Text::MedicineTreatment),
1937            "ALN" => Some(Text::MedicineDosageAndAdministration),
1938            "ALO" => Some(Text::AvailabilityPatient),
1939            "ALP" => Some(Text::ReasonForServiceRequest),
1940            "ALQ" => Some(Text::PurposeService),
1941            "ARR" => Some(Text::ArrivalConditions),
1942            "ARS" => Some(Text::ServiceRequestersComment),
1943            "AUT" => Some(Text::Authentication),
1944            "AUU" => Some(Text::RequestedLocationDescription),
1945            "AUV" => Some(Text::MedicineAdministrationCondition),
1946            "AUW" => Some(Text::PatientInformation),
1947            "AUX" => Some(Text::PrecautionaryMeasure),
1948            "AUY" => Some(Text::ServiceCharacteristic),
1949            "AUZ" => Some(Text::PlannedEventComment),
1950            "AVA" => Some(Text::ExpectedDelayComment),
1951            "AVB" => Some(Text::TransportRequirementsComment),
1952            "AVC" => Some(Text::TemporaryApprovalCondition),
1953            "AVD" => Some(Text::CustomsValuationInformation),
1954            "AVE" => Some(Text::ValueAddedTaxVatMarginScheme),
1955            "AVF" => Some(Text::MaritimeDeclarationHealth),
1956            "BAG" => Some(Text::PassengerBaggageInformation),
1957            "BAH" => Some(Text::MaritimeDeclarationHealth_Dup),
1958            "BAI" => Some(Text::AdditionalProductInformationAddress),
1959            "BAJ" => Some(Text::InformationToBePrintedOnDespatchAdvice),
1960            "BAK" => Some(Text::MissingGoodsRemarks),
1961            "BAL" => Some(Text::NonAcceptanceInformation),
1962            "BAM" => Some(Text::ReturnsInformation),
1963            "BAN" => Some(Text::SubLineItemInformation),
1964            "BAO" => Some(Text::TestInformation),
1965            "BAP" => Some(Text::ExternalLink),
1966            "BAQ" => Some(Text::VatExemptionReason),
1967            "BAR" => Some(Text::ProcessingInstructions),
1968            "BAS" => Some(Text::RelayInstructions),
1969            "BAT" => Some(Text::SimaApplicable),
1970            "BAU" => Some(Text::AppealsProgramCode),
1971            "BAV" => Some(Text::SimaSubject),
1972            "BAW" => Some(Text::SurtaxApplicable),
1973            "BAX" => Some(Text::SimaSecurityBond),
1974            "BAY" => Some(Text::SurtaxSubject),
1975            "BAZ" => Some(Text::SafeguardApplicable),
1976            "BBA" => Some(Text::SafeguardApplicable_Dup),
1977            "BBB" => Some(Text::SafeguardSubject),
1978            "BLC" => Some(Text::TransportContractDocumentClause),
1979            "BLD" => Some(Text::InstructionToPreparePatient),
1980            "BLE" => Some(Text::MedicineTreatmentComment),
1981            "BLF" => Some(Text::ExaminationResultComment),
1982            "BLG" => Some(Text::ServiceRequestComment),
1983            "BLH" => Some(Text::PrescriptionReason),
1984            "BLI" => Some(Text::PrescriptionComment),
1985            "BLJ" => Some(Text::ClinicalInvestigationComment),
1986            "BLK" => Some(Text::MedicinalSpecificationComment),
1987            "BLL" => Some(Text::EconomicContributionComment),
1988            "BLM" => Some(Text::StatusAPlan),
1989            "BLN" => Some(Text::RandomSampleTestInformation),
1990            "BLO" => Some(Text::PeriodTime),
1991            "BLP" => Some(Text::Legislation),
1992            "BLQ" => Some(Text::SecurityMeasuresRequested),
1993            "BLR" => Some(Text::TransportContractDocumentRemark),
1994            "BLS" => Some(Text::PreviousPortCallSecurityInformation),
1995            "BLT" => Some(Text::SecurityInformation),
1996            "BLU" => Some(Text::WasteInformation),
1997            "BLV" => Some(Text::B2cMarketingInformationShortDescription),
1998            "BLW" => Some(Text::B2bMarketingInformationLongDescription),
1999            "BLX" => Some(Text::B2cMarketingInformationLongDescription),
2000            "BLY" => Some(Text::ProductIngredients),
2001            "BLZ" => Some(Text::LocationShortName),
2002            "BMA" => Some(Text::PackagingMaterialInformation),
2003            "BMB" => Some(Text::FillerMaterialInformation),
2004            "BMC" => Some(Text::ShipToShipActivityInformation),
2005            "BMD" => Some(Text::PackageMaterialDescription),
2006            "BME" => Some(Text::ConsumerLevelPackageMarking),
2007            "BMF" => Some(Text::SimaMeasureInForce),
2008            "BMG" => Some(Text::PreCarm),
2009            "BMH" => Some(Text::SimaMeasureType),
2010            "CCI" => Some(Text::CustomsClearanceInstructions),
2011            "CCJ" => Some(Text::SubTypeCode),
2012            "CCK" => Some(Text::SimaInformation),
2013            "CCL" => Some(Text::TimeLimitEnd),
2014            "CCM" => Some(Text::TimeLimitStart),
2015            "CCN" => Some(Text::WarehouseTimeLimit),
2016            "CCO" => Some(Text::ValueForDutyInformation),
2017            "CEX" => Some(Text::CustomsClearanceInstructionsExport),
2018            "CHG" => Some(Text::ChangeInformation),
2019            "CIP" => Some(Text::CustomsClearanceInstructionImport),
2020            "CLP" => Some(Text::ClearancePlaceRequested),
2021            "CLR" => Some(Text::LoadingRemarks),
2022            "COI" => Some(Text::OrderInformation),
2023            "CUR" => Some(Text::CustomerRemarks),
2024            "CUS" => Some(Text::CustomsDeclarationInformation),
2025            "DAR" => Some(Text::DamageRemarks),
2026            "DCL" => Some(Text::DocumentIssuerDeclaration),
2027            "DEL" => Some(Text::DeliveryInformation),
2028            "DIN" => Some(Text::DeliveryInstructions),
2029            "DOC" => Some(Text::DocumentationInstructions),
2030            "DUT" => Some(Text::DutyDeclaration),
2031            "EUR" => Some(Text::EffectiveUsedRouting),
2032            "FBC" => Some(Text::FirstBlockToBePrintedOnTransportContract),
2033            "GBL" => Some(Text::GovernmentBillLadingInformation),
2034            "GEN" => Some(Text::EntireTransactionSet),
2035            "GS7" => Some(Text::FurtherInformationConcerningGgvsPar7),
2036            "HAN" => Some(Text::ConsignmentHandlingInstruction),
2037            "HAZ" => Some(Text::HazardInformation),
2038            "ICN" => Some(Text::ConsignmentInformationForConsignee),
2039            "IIN" => Some(Text::InsuranceInstructions),
2040            "IMI" => Some(Text::InvoiceMailingInstructions),
2041            "IND" => Some(Text::CommercialInvoiceItemDescription),
2042            "INS" => Some(Text::InsuranceInformation),
2043            "INV" => Some(Text::InvoiceInstruction),
2044            "IRP" => Some(Text::InformationForRailwayPurpose),
2045            "ITR" => Some(Text::InlandTransportDetails),
2046            "ITS" => Some(Text::TestingInstructions),
2047            "LAN" => Some(Text::LocationAlias),
2048            "LIN" => Some(Text::LineItem),
2049            "LOI" => Some(Text::LoadingInstruction),
2050            "MCO" => Some(Text::MiscellaneousChargeOrder),
2051            "MDH" => Some(Text::MaritimeDeclarationHealth_Dup_Dup),
2052            "MKS" => Some(Text::AdditionalMarksNumbersInformation),
2053            "ORI" => Some(Text::OrderInstruction),
2054            "OSI" => Some(Text::OtherServiceInformation),
2055            "PAC" => Some(Text::PackingMarkingInformation),
2056            "PAI" => Some(Text::PaymentInstructionsInformation),
2057            "PAY" => Some(Text::PayablesInformation),
2058            "PKG" => Some(Text::PackagingInformation),
2059            "PKT" => Some(Text::PackagingTermsInformation),
2060            "PMD" => Some(Text::PaymentDetailRemittanceInformation),
2061            "PMT" => Some(Text::PaymentInformation),
2062            "PRD" => Some(Text::ProductInformation),
2063            "PRF" => Some(Text::PriceCalculationFormula),
2064            "PRI" => Some(Text::PriorityInformation),
2065            "PUR" => Some(Text::PurchasingInformation),
2066            "QIN" => Some(Text::QuarantineInstructions),
2067            "QQD" => Some(Text::QualityDemandsRequirements),
2068            "QUT" => Some(Text::QuotationInstructionInformation),
2069            "RAH" => Some(Text::RiskAndHandlingInformation),
2070            "REG" => Some(Text::RegulatoryInformation),
2071            "RET" => Some(Text::ReturnToOriginInformation),
2072            "REV" => Some(Text::Receivables),
2073            "RQR" => Some(Text::ConsignmentRoute),
2074            "SAF" => Some(Text::SafetyInformation),
2075            "SIC" => Some(Text::ConsignmentDocumentaryInstruction),
2076            "SIN" => Some(Text::SpecialInstructions),
2077            "SLR" => Some(Text::ShipLineRequested),
2078            "SPA" => Some(Text::SpecialPermissionForTransportGenerally),
2079            "SPG" => Some(Text::SpecialPermissionConcerningGoodsToBeTransported),
2080            "SPH" => Some(Text::SpecialHandling),
2081            "SPP" => Some(Text::SpecialPermissionConcerningPackage),
2082            "SPT" => Some(Text::SpecialPermissionConcerningTransportMeans),
2083            "SRN" => Some(Text::SubsidiaryRiskNumberIataDgr),
2084            "SSR" => Some(Text::SpecialServiceRequest),
2085            "SUR" => Some(Text::SupplierRemarks),
2086            "TCA" => Some(Text::ConsignmentTariff),
2087            "TDT" => Some(Text::ConsignmentTransport),
2088            "TRA" => Some(Text::TransportationInformation),
2089            "TRR" => Some(Text::RequestedTariff),
2090            "TXD" => Some(Text::TaxDeclaration),
2091            "WHI" => Some(Text::WarehouseInstructionInformation),
2092            "ZZZ" => Some(Text::MutuallyDefined),
2093            _ => None,
2094        }
2095    }
2096}