Struct avro_rs::schema::RecordField[][src]

pub struct RecordField {
    pub name: String,
    pub doc: Documentation,
    pub default: Option<Value>,
    pub schema: Schema,
    pub order: RecordFieldOrder,
    pub position: usize,
}

Represents a field in a record Avro schema.

Fields

Name of the field.

Documentation of the field.

Default value of the field. This value will be used when reading Avro datum if schema resolution is enabled.

Schema of the field.

Order of the field.

NOTE This currently has no effect.

Position of the field in the list of field of its parent Schema

Trait Implementations

impl Clone for RecordField
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RecordField
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RecordField
[src]

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

This method tests for !=.

impl Serialize for RecordField
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for RecordField

impl Sync for RecordField