Enum reproto_parser::ast::Type [] [src]

pub enum Type {
    Double,
    Float,
    Signed {
        size: Option<usize>,
    },
    Unsigned {
        size: Option<usize>,
    },
    Boolean,
    String,
    Bytes,
    Any,
    DateTime,
    Name {
        name: Name,
    },
    Array {
        inner: Box<Type>,
    },
    Map {
        key: Box<Type>,
        value: Box<Type>,
    },
}

Variants

Fields of Signed

Fields of Unsigned

ISO-8601 for date and time.

Fields of Name

Fields of Array

Fields of Map

Trait Implementations

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Type
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Type
[src]