CdrReport

Type Alias CdrReport 

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

The result of calling cdr::parse_and_report.

Aliased Type§

pub struct CdrReport<'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.