Enum avro::Value [] [src]

pub enum Value<'a, 'b> {
    Null,
    Boolean(bool),
    Int(i32),
    Long(i64),
    Float(f32),
    Double(f64),
    Bytes(Cow<'b, [u8]>),
    String(Cow<'b, str>),
    Record(Rc<RecordSchema<'a>>, Vec<Value<'a, 'b>>),
    Enum(Rc<EnumSchema<'a>>, i32),
    Array(Vec<Value<'a, 'b>>),
    Map(HashMap<Cow<'b, str>, Value<'a, 'b>>),
    Fixed(Rc<FixedSchema<'a>>, Cow<'b, [u8]>),
}

Variants

Methods

impl<'a, 'b> Value<'a, 'b>
[src]

Trait Implementations

impl<'a, 'b> Debug for Value<'a, 'b>
[src]

Formats the value using the given formatter.

impl<'a, 'b> Clone for Value<'a, 'b>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, 'b> PartialEq for Value<'a, 'b>
[src]

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

This method tests for !=.