Struct avro_rs::schema::Name[][src]

pub struct Name {
    pub name: String,
    pub namespace: Option<String>,
    pub aliases: Option<Vec<String>>,
}

Represents names for record, enum and fixed Avro schemas.

Each of these Schemas have a fullname composed of two parts:

  • a name
  • a namespace

aliases can also be defined, to facilitate schema evolution.

More information about schema names can be found in the Avro specification

Fields

Methods

impl Name
[src]

Create a new Name. No namespace nor aliases will be defined.

Return the fullname of this Name

More information about fullnames can be found in the Avro specification

Trait Implementations

impl Clone for Name
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Name
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Name
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Name

impl Sync for Name