Struct avro::RecordSchema
[−]
[src]
pub struct RecordSchema<'a> { pub name: Cow<'a, str>, pub doc: Option<Cow<'a, str>>, pub properties: Vec<Property<'a>>, pub fields: Vec<Field<'a>>, pub field_indexes: HashMap<Cow<'a, str>, usize>, }
Fields
name: Cow<'a, str>
doc: Option<Cow<'a, str>>
properties: Vec<Property<'a>>
fields: Vec<Field<'a>>
field_indexes: HashMap<Cow<'a, str>, usize>
Methods
impl<'a> RecordSchema<'a>
[src]
fn new(
name: Cow<'a, str>,
doc: Option<Cow<'a, str>>,
properties: Vec<Property<'a>>,
fields: Vec<Field<'a>>
) -> RecordSchema<'a>
name: Cow<'a, str>,
doc: Option<Cow<'a, str>>,
properties: Vec<Property<'a>>,
fields: Vec<Field<'a>>
) -> RecordSchema<'a>
Trait Implementations
impl<'a> Debug for RecordSchema<'a>
[src]
impl<'a> Clone for RecordSchema<'a>
[src]
fn clone(&self) -> RecordSchema<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> PartialEq for RecordSchema<'a>
[src]
fn eq(&self, __arg_0: &RecordSchema<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RecordSchema<'a>) -> bool
This method tests for !=
.