Enum avro::Schema [] [src]

pub enum Schema<'a> {
    Null,
    Boolean,
    Int,
    Long,
    Float,
    Double,
    Bytes,
    String,
    Record(Rc<RecordSchema<'a>>),
    Error(Rc<RecordSchema<'a>>),
    Enum(Rc<EnumSchema<'a>>),
    Array {
        items: Box<Schema<'a>>,
    },
    Map {
        values: Box<Schema<'a>>,
    },
    Union {
        tys: Vec<Schema<'a>>,
    },
    Fixed(Rc<FixedSchema<'a>>),
}

Variants

Fields of Array

Fields of Map

Fields of Union

Trait Implementations

impl<'a> Debug for Schema<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Schema<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Schema<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.