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]

[src]

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

[src]

Return the fullname of this Name

More information about fullnames can be found in the Avro specification

Trait Implementations

impl Clone for Name
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Name
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Name
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Name

impl Sync for Name