pub struct ParsedRecordSchema {
pub properties: IndexMap<String, ParsedRecordFieldSchema>,
pub flatten: Vec<NodeId>,
pub unknown_fields: ParsedUnknownFieldsPolicy,
}Expand description
Parsed record schema with NodeId references.
Fields§
§properties: IndexMap<String, ParsedRecordFieldSchema>Fixed field schemas (field name -> field schema with metadata)
flatten: Vec<NodeId>Schemas to be flattened into this record
unknown_fields: ParsedUnknownFieldsPolicyPolicy for unknown/additional fields
Trait Implementations§
Source§impl Clone for ParsedRecordSchema
impl Clone for ParsedRecordSchema
Source§fn clone(&self) -> ParsedRecordSchema
fn clone(&self) -> ParsedRecordSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedRecordSchema
impl Debug for ParsedRecordSchema
Source§impl Default for ParsedRecordSchema
impl Default for ParsedRecordSchema
Source§fn default() -> ParsedRecordSchema
fn default() -> ParsedRecordSchema
Returns the “default value” for a type. Read more
Source§impl FromEure<'_> for ParsedRecordSchema
impl FromEure<'_> for ParsedRecordSchema
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Auto Trait Implementations§
impl Freeze for ParsedRecordSchema
impl RefUnwindSafe for ParsedRecordSchema
impl Send for ParsedRecordSchema
impl Sync for ParsedRecordSchema
impl Unpin for ParsedRecordSchema
impl UnwindSafe for ParsedRecordSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more