Struct avro_rs::schema::UnionSchema[][src]

pub struct UnionSchema { /* fields omitted */ }

Methods

impl UnionSchema
[src]

Returns a slice to all variants of this schema.

Returns true if the first variant of this UnionSchema is Null.

Optionally returns a reference to the schema matched by this value, as well as its position within this enum.

Trait Implementations

impl Debug for UnionSchema
[src]

Formats the value using the given formatter. Read more

impl Clone for UnionSchema
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UnionSchema
[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 UnionSchema

impl Sync for UnionSchema