1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
use serde::{Deserialize, Serialize};
use strum_macros::{Display, EnumString};
/// 1225 Message function code
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, EnumString, Display)]
#[strum(serialize_all = "camelCase")]
pub enum _1225 {
/// Cancellation
///
/// Message cancelling a previous transmission for a given
/// transaction.
#[serde(rename = "1")]
_1,
/// Addition
#[serde(rename = "2")]
_2,
/// Deletion
#[serde(rename = "3")]
_3,
/// Change
#[serde(rename = "4")]
_4,
/// Replace
#[serde(rename = "5")]
_5,
#[serde(rename = "6")]
_6,
#[serde(rename = "7")]
_7,
#[serde(rename = "8")]
_8,
#[serde(rename = "9")]
_9,
#[serde(rename = "10")]
_10,
#[serde(rename = "11")]
_11,
#[serde(rename = "12")]
_12,
#[serde(rename = "13")]
_13,
#[serde(rename = "14")]
_14,
#[serde(rename = "15")]
_15,
#[serde(rename = "16")]
_16,
#[serde(rename = "17")]
_17,
#[serde(rename = "18")]
_18,
#[serde(rename = "19")]
_19,
#[serde(rename = "20")]
_20,
#[serde(rename = "21")]
_21,
#[serde(rename = "22")]
_22,
#[serde(rename = "23")]
_23,
#[serde(rename = "24")]
_24,
#[serde(rename = "25")]
_25,
#[serde(rename = "26")]
_26,
#[serde(rename = "27")]
_27,
#[serde(rename = "28")]
_28,
#[serde(rename = "29")]
_29,
#[serde(rename = "30")]
_30,
#[serde(rename = "31")]
_31,
#[serde(rename = "32")]
_32,
#[serde(rename = "33")]
_33,
#[serde(rename = "34")]
_34,
#[serde(rename = "35")]
_35,
#[serde(rename = "36")]
_36,
#[serde(rename = "37")]
_37,
#[serde(rename = "38")]
_38,
#[serde(rename = "39")]
_39,
#[serde(rename = "40")]
_40,
#[serde(rename = "41")]
_41,
#[serde(rename = "42")]
_42,
#[serde(rename = "43")]
_43,
#[serde(rename = "44")]
_44,
#[serde(rename = "45")]
_45,
#[serde(rename = "46")]
_46,
#[serde(rename = "47")]
_47,
#[serde(rename = "48")]
_48,
#[serde(rename = "49")]
_49,
#[serde(rename = "50")]
_50,
#[serde(rename = "51")]
_51,
#[serde(rename = "52")]
_52,
/// 53 Test
///
/// Code indicating the message is to be considered as a
/// test.
#[serde(rename = "53")]
_53,
}
/// 2379 Date or time or period format code
#[derive(Debug, Serialize, Deserialize, Clone)]
pub enum _2379 {
/// DDMMYY
///
/// Calendar date: D = Day; M = Month; Y = Year.
#[serde(rename = "2")]
_2,
/// MMDDYY
///
/// Calendar date: M = Month; D = Day; Y = Year.
#[serde(rename = "3")]
_3,
/// DDMMCCYY
///
/// Calendar date C=Century; Y=Year; M=Month; D=Day.
_4,
/// DDMMCCYYHHMM
///
/// Calendar date and time: C=Century; Y=Year; M=Month;
/// D=Day; H=Hour; M=Minute.
_5,
/// YYMMDD
///
/// Calendar date: Y = Year; M = Month; D = Day.
_101,
/// CCYYMMDD
///
/// Calendar date: C = Century ; Y = Year ; M = Month ; D =
/// Day.
_102,
/// YYWWD
///
/// Calendar week day: Y = Year ; W = Week ; D = Day Week
/// number 01 is always first week of January Day number 1
/// is always Monday.
_103,
/// YYDDD
///
/// Calendar day: Y = Year ; D = Day January the first = Day
/// 001 Always start numbering the days of the year from
/// January 1st through December 31st.
_105,
/// MMDD
///
/// Day of a month: M = Month; D = Day.
#[serde(rename = "106")]
_106,
/// DDD
///
/// Day's number within a specific year: D = Day.
#[serde(rename = "107")]
_107,
/// WW
///
/// Week's number within a specific year: W = Week.
#[serde(rename = "108")]
_108,
/// MM
///
/// Month's number within a specific year: M = Month.
#[serde(rename = "109")]
_109,
/// DD
///
/// Day's number within is a specific month: D = Day.
#[serde(rename = "110")]
_110,
/// YYMMDDHHMM
///
/// Calendar date including time without seconds: Y = Year;
/// M = Month; D = Day; H = Hour; M = Minute.
#[serde(rename = "201")]
_201,
/// YYMMDDHHMMSS
///
/// Calendar date including time with seconds: Y = Year; M =
/// Month; D = Day; H = Hour; m = Minutes = Seconds.
#[serde(rename = "202")]
_202,
/// CCYYMMDDHHMM
///
/// Calendar date including time with minutes: C=Century;
/// Y=Year; M=Month; D=Day; H=Hour; M=Minutes.
#[serde(rename = "203")]
_203,
/// CCYYMMDDHHMMSS
///
/// Calendar date including time with seconds:
/// C=Century;Y=Year;
/// M=Month;D=Day;H=Hour;M=Minute;S=Second.
_204,
/// CCYYMMDDHHMMZHHMM
///
/// Calendar date including time and time zone expressed in
/// hours and minutes.
/// ZHHMM = time zone given as offset from Coordinated
/// Universal Time (UTC).
_205,
/// YYMMDDHHMMZZZ
///
/// See 201 + Z = Time zone.
_301,
/// YYMMDDHHMMSSZZZ
///
/// See 202 + Z = Time zone.
_302,
/// CCYYMMDDHHMMZZZ
///
/// See 203 plus Z=Time zone.
_303,
/// CCYYMMDDHHMMSSZZZ
///
/// See 204 plus Z=Time zone.
_304,
/// MMDDHHMM
///
/// Month, day, hours, minutes; M = Month; D = Day; H =
/// Hour; M = Minute.
_305,
/// DDHHMM
///
/// Day, hours, minutes; D = Day; H = Hour; M = Minute.
_306,
/// HHMM
///
/// Time without seconds: H = Hour; m = Minute.
_401,
/// HHMMSS
///
/// Time with seconds: H = Hour; m = Minute; s = Seconds.
_402,
/// HHMMSSZZZ
///
/// See 402 plus Z=Time zone.
_404,
/// MMMMSS
///
/// Time without hours: m=minutes, s=seconds.
_405,
/// ZHHMM
///
/// Offset from Coordinated Universal Time (UTC) where Z is
/// plus (+) or minus (-).
_406,
/// HHMMHHMM
///
/// Time span without seconds: H = Hour; m = Minute;.
_501,
/// HHMMSS-HHMMSS
///
/// Format of period to be given without hyphen.
_502,
/// HHMMSSZZZ-HHMMSSZZZ
///
/// Format of period to be given without hyphen.
_503,
/// CC
/// Century.
_600,
/// YY
/// Calendar year: Y = Year.
_601,
/// CCYY
/// Calendar year including century: C = Century; Y = Year.
_602,
/// YYS
/// Semester in a calendar year: Y = Year; S = Semester.
_603,
/// CCYYS
///
/// Semester in a calendar year: C = Century; Y = Year; S =
/// Semester.
_604,
/// CCYYQ
///
/// Quarter in a calendar year: C = Century; Y = Year; Q =
/// Quarter.
_608,
/// YYMM
///
/// Month within a calendar year: Y = Year; M = Month.
_609,
/// CCYYMM
///
/// Month within a calendar year: CC = Century; Y = Year; M
/// = Month.
_610,
/// YYMMA
///
/// Format of period to be given without hyphen (A = ten
/// days period).
_613,
/// CCYYMMA
///
/// Format of period to be given without hyphen (A = ten
/// days period).
_614,
/// YYWW
/// Week within a calendar year: Y = Year; W = Week 1st week
/// of January = week 01.
_615,
/// CCYYWW
///
/// Week within a calendar year: CC = Century; Y = Year; W =
/// Week (1st week of January = week 01).
_616,
/// YY-YY
///
/// Format of period to be given in actual message without
/// hyphen.
_701,
/// CCYY-CCYY
///
/// Format of period to be given in actual message without
/// hyphen.
_702,
/// YYS-YYS
///
/// Format of period to be given without hyphen.
_703,
/// CCYYS-CCYYS
///
/// Format of period to be given in actual message without
/// hyphen.
_704,
/// YYPYYP
///
/// Format of period to be given without hyphen (P = period
/// of 4 months).
_705,
/// CCYYP-CCYYP
///
/// Format of period to be given without hyphen (P = period
/// of 4 months).
_706,
/// YYQ-YYQ
///
/// Format of period to be given without hyphen.
_707,
/// CCYYQ-CCYYQ
///
/// Format of period to be given in actual message without
/// hyphen.
_708,
/// YYMM-YYMM
///
/// Format of period to be given in actual message without
/// hyphen.
_709,
/// CCYYMM-CCYYMM
///
/// Format of period to be given in actual message without
/// hyphen.
#[serde(rename = "710")]
_710,
/// CCYYMMDD-CCYYMMDD
///
/// Format of period to be given in actual message without
/// hyphen.
_711,
/// YYMMDDHHMM-YYMMDDHHMM
///
/// Format of period to be given in actual message without
/// hyphen.
_713,
/// YYWW-YYWW
///
/// Format of period to be given in actual message without
/// hyphen.
_715,
/// CCYYWW-CCYYWW
///
/// Format of period to be given without hyphen.
_716,
/// YYMMDD-YYMMDD
///
/// Format of period to be given in actual message without
/// hyphen.
_717,
/// CCYYMMDD-CCYYMMDD
///
/// Format of period to be given without hyphen.
_718,
/// CCYYMMDDHHMM-CCYYMMDDHHMM
///
/// A period of time which includes the century, year,
/// month, day, hour and minute. Format of period to be
/// given in actual message without hyphen.
_719,
/// DHHMM-DHHMM
///
/// Format of period to be given without hyphen (D=day of
/// the week, 1=Monday; 2=Tuesday; ... 7=Sunday).
_720,
/// Year
///
/// To indicate a quantity of years.
_901,
/// Month
///
/// To indicate a quantity of months.
_902,
/// Week
///
/// To indicate a quantity of weeks.
_903,
/// Day
///
/// To indicate a quantity of days.
_904,
/// Hour
///
/// To indicate a quantity of hours.
_905,
/// Minute
///
/// To indicate a quantity of minutes.
_906,
/// Second
///
/// To indicate a quantity of seconds.
#[serde(rename = "807")]
_807,
/// Semester
///
/// To indicate a quantity of semesters (six months).
_808,
/// Four months period
///
/// To indicate a quantity of four months periods.
#[serde(rename = "809")]
_809,
/// Trimester
///
/// To indicate a quantity of trimesters (three months).
_810,
/// Half month
///
/// To indicate a quantity of half months.
#[serde(rename = "811")]
_811,
/// Ten days
///
/// To indicate a quantity of ten days periods.
#[serde(rename = "812")]
_812,
/// Day of the week
///
/// Numeric representation of the day (Monday = 1).
#[serde(rename = "813")]
_813,
/// Working days
///
/// Number of working days.
#[serde(rename = "814")]
_814,
}
/// 4343 Response type code
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Clone, EnumString, Display)]
pub enum _4343 {
AA,
AB,
AC,
AD,
AE,
AF,
AG,
AH,
AI,
AJ,
AP,
AQ,
AR,
AS,
CA,
CO,
NA,
RE,
UR,
US,
}