Struct apache_avro::schema::RecordSchema
source · pub struct RecordSchema {
pub name: Name,
pub aliases: Aliases,
pub doc: Documentation,
pub fields: Vec<RecordField>,
pub lookup: BTreeMap<String, usize>,
pub attributes: BTreeMap<String, Value>,
}Expand description
A description of an Enum schema.
Fields§
§name: NameThe name of the schema
aliases: AliasesThe aliases of the schema
doc: DocumentationThe documentation of the schema
fields: Vec<RecordField>The set of fields of the schema
lookup: BTreeMap<String, usize>The lookup table maps field names to their position in the Vec
of fields.
attributes: BTreeMap<String, Value>The custom attributes of the schema
Trait Implementations§
source§impl Clone for RecordSchema
impl Clone for RecordSchema
source§fn clone(&self) -> RecordSchema
fn clone(&self) -> RecordSchema
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for RecordSchema
impl Send for RecordSchema
impl Sync for RecordSchema
impl Unpin for RecordSchema
impl UnwindSafe for RecordSchema
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