pub struct Deserializer<'de> { /* private fields */ }

Implementations

Deserialize sequence of character digits without commas or decimals. Value must be positive and may not contain leading zeros.

Deserialize sequence of character digits without commas or decimals and optional sign character (characters “-” and “0” – “9” ). The sign character utilizes one octet (i.e., positive int is “99999” while negative int is “-99999”).

Note that int values may contain leading zeros (e.g. “00023” = “23”).

Deserialize sequence of character digits without commas or decimals. Value must be positive.

Deserialize sequence of character digits without commas or decimals. Value must be positive.

Deserialize sequence of character digits without commas or decimals (values 1 to 31).

Deserialize sequence of character digits with optional decimal point and sign character (characters “-”, “0” – “9” and “.”); the absence of the decimal point within the string will be interpreted as the float representation of an integer value. Note that float values may contain leading zeros (e.g. “00023.23” = “23.23”) and may contain or omit trailing zeros after the decimal point (e.g. “23.0” = “23.0000” = “23” = “23.”).

All float fields must accommodate up to fifteen significant digits. The number of decimal places used should be a factor of business/market needs and mutual agreement between counterparties.

Deserialize any ASCII character except control characters.

Deserialize string containing one or more space-delimited single character values, e.g. “2 A F”.

Deserialize alphanumeric free-format strings can include any character except control characters.

Deserialize alphanumeric free-format strings can include any character except control characters.

Deserialize string containing one or more space-delimited multiple character values, e.g. “AV AN A”.

Deserialize ISO 3166-1:2013 Codes for the representation of names of countries and their subdivision (2-character code).

Deserialize ISO 4217:2015 Codes for the representation of currencies and funds (3-character code).

Deserialize ISO 10383:2012 Securities and related financial instruments – Codes for exchanges and market identification (MIC) (4-character code).

Deserialize string representing month of a year. An optional day of the month can be appended or an optional week code.

Valid formats:

YYYYMM YYYYMMDD YYYYMMWW

Valid values:

YYYY = 0000-9999; MM = 01-12; DD = 01-31; WW = w1, w2, w3, w4, w5.

Deserialize ISO 639-1:2002 Codes for the representation of names of languages (2-character code).

Deserialize string representing time/date combination represented in UTC (Universal Time Coordinated) in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss* format, colons, dash, and period required.

Valid values:
  • YYYY = 0000-9999,
  • MM = 01-12,
  • DD = 01-31,
  • HH = 00-23,
  • MM = 00-59,
  • SS = 00-60 (60 only if UTC leap second),
  • sss* fractions of seconds. The fractions of seconds may be empty when no fractions of seconds are conveyed (in such a case the period is not conveyed), it may include 3 digits to convey milliseconds, 6 digits to convey microseconds, 9 digits to convey nanoseconds, 12 digits to convey picoseconds;

Deserialize string representing time-only represented in UTC (Universal Time Coordinated) in either HH:MM:SS (whole seconds) or HH:MM:SS.sss* (milliseconds) format, colons, and period required.

This special-purpose field is paired with UTCDateOnly to form a proper UTCTimestamp for bandwidth-sensitive messages.

Valid values:
  • HH = 00-23,
  • MM = 00-59,
  • SS = 00-60 (60 only if UTC leap second),
  • sss* fractions of seconds. The fractions of seconds may be empty when no fractions of seconds are conveyed (in such a case the period is not conveyed), it may include 3 digits to convey milliseconds, 6 digits to convey microseconds, 9 digits to convey nanoseconds, 12 digits to convey picoseconds; // TODO: set precision!

Deserialize date represented in UTC (Universal Time Coordinated) in YYYYMMDD format.

Valid values:
  • YYYY = 0000-9999,
  • MM = 01-12,
  • DD = 01-31.

Deserialize time local to a market center. Used where offset to UTC varies throughout the year and the defining market center is identified in a corresponding field.

Format is HH:MM:SS where:

  • HH = 00-23 hours,
  • MM = 00-59 minutes,
  • SS = 00-59 seconds.

In general only the hour token is non-zero.

Deserialize date of local market (as opposed to UTC) in YYYYMMDD format.

Valid values:
  • YYYY = 0000-9999,
  • MM = 01-12,
  • DD = 01-31.

Deserialize string representing a time/date combination representing local time with an offset to UTC to allow identification of local time and time zone offset of that time.

The representation is based on ISO 8601.

Format is YYYYMMDD-HH:MM:SS.sss*[Z | [ + | – hh[:mm]]] where:

  • YYYY = 0000 to 9999,
  • MM = 01-12,
  • DD = 01-31 HH = 00-23 hours,
  • MM = 00-59 minutes,
  • SS = 00-59 seconds,
  • hh = 01-12 offset hours,
  • mm = 00-59 offset minutes,
  • sss* fractions of seconds. The fractions of seconds may be empty when no fractions of seconds are conveyed (in such a case the period is not conveyed), it may include 3 digits to convey milliseconds, 6 digits to convey microseconds, 9 digits to convey nanoseconds, 12 digits to convey picoseconds;

Deserialize time of day with timezone. Time represented based on ISO 8601. This is the time with a UTC offset to allow identification of local time and time zone of that time.

Format is HH:MM[:SS][Z | [ + | – hh[:mm]]] where:

  • HH = 00-23 hours,
  • MM = 00-59 minutes,
  • SS = 00-59 seconds,
  • hh = 01-12 offset hours,
  • mm = 00-59 offset minutes.

Deserialize sequence of character digits without commas or decimals. Value must be positive. Fields of datatype Length are referred to as Length fields.

The Length field must be associated with a field of datatype data.

The Length field must specify the number of octets of the value contained in the associated data field up to but not including the terminating .

Deserialize raw data with no format or content restrictions, or a character string encoded as specified by MessageEncoding(347). Fields of datatype data must have an associated field of type Length. Fields of datatype data must be immediately preceded by their associated Length field.

Deserialize XML document with characterstring repertoire specified as value of XML encoding declaration.

Requirements
  • A field of datatype XMLData must contain a well-formed document, as defined by the W3C XML recommendation.
  • Fields of datatype XMLData must have an associated field of type Length.
  • Fields of datatype XMLData must be immediately preceded by their associated Length field.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.