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
DoubleFloatSignedFields of Signed
size: Option<usize> |
UnsignedFields of Unsigned
size: Option<usize> |
BooleanStringBytesAnyDateTimeISO-8601 for date and time.
NameFields of Name
name: Name |
ArrayFields of Array
inner: Box<Type> |
MapFields of Map
key: Box<Type> | |
value: Box<Type> |
Trait Implementations
impl Debug for Type[src]
impl PartialEq for Type[src]
fn eq(&self, __arg_0: &Type) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Type) -> bool[src]
This method tests for !=.