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
Double
Float
Signed
Fields of Signed
size: Option<usize> |
Unsigned
Fields of Unsigned
size: Option<usize> |
Boolean
String
Bytes
Any
DateTime
ISO-8601 for date and time.
Name
Fields of Name
name: Name |
Array
Fields of Array
inner: Box<Type> |
Map
Fields 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 !=
.