TariffReport

Type Alias TariffReport 

Source
pub type TariffReport<'buf> = Report<'buf, Versioned<'buf>, Unversioned<'buf>>;
Expand description

The result of calling tariff::parse_and_report.

Aliased Type§

pub struct TariffReport<'buf> {
    pub unexpected_fields: UnexpectedFields<'buf>,
    pub version: Version<Versioned<'buf>, Unversioned<'buf>>,
}

Fields§

§unexpected_fields: UnexpectedFields<'buf>

A list of fields that were not expected: The schema did not define them.

This list will always be empty if the guessed Version is Uncertain.

§version: Version<Versioned<'buf>, Unversioned<'buf>>

The guessed version.

The unexpected_fields list will always be empty if the guessed Version is Uncertain.