pub struct Report<'buf, V, U>{
pub unexpected_fields: UnexpectedFields<'buf>,
pub version: Version<V, U>,
}Expand description
The guess version report.
This contains the guessed version of the given JSON object and a list of unexpected fields if the JSON contains fields not specified in the guessed version of the OCPI spec.
The unexpected_fields list will always be empty if the guessed Version is Uncertain.
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<V, U>The guessed version.
The unexpected_fields list will always be empty if the guessed Version is Uncertain.
Trait Implementations§
Auto Trait Implementations§
impl<'buf, V, U> Freeze for Report<'buf, V, U>
impl<'buf, V, U> RefUnwindSafe for Report<'buf, V, U>where
V: RefUnwindSafe,
U: RefUnwindSafe,
impl<'buf, V, U> !Send for Report<'buf, V, U>
impl<'buf, V, U> !Sync for Report<'buf, V, U>
impl<'buf, V, U> Unpin for Report<'buf, V, U>
impl<'buf, V, U> UnwindSafe for Report<'buf, V, U>where
V: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more