Enum protobuf::codegen::RustType
[−]
[src]
pub enum RustType { Int(bool, u32), Float(u32), Bool, Vec(Box<RustType>), String, Slice(Box<RustType>), Str, Option(Box<RustType>), SingularField(Box<RustType>), SingularPtrField(Box<RustType>), RepeatedField(Box<RustType>), Uniq(Box<RustType>), Ref(Box<RustType>), Message(String), Enum(String), Oneof(String), Group, }
Variants
Int(bool, u32)
Float(u32)
Bool
Vec(Box<RustType>)
String
Slice(Box<RustType>)
Str
Option(Box<RustType>)
SingularField(Box<RustType>)
SingularPtrField(Box<RustType>)
RepeatedField(Box<RustType>)
Uniq(Box<RustType>)
Ref(Box<RustType>)
Message(String)
Enum(String)
Oneof(String)
Group
Trait Implementations
impl Clone for RustType
[src]
fn clone(&self) -> RustType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for RustType
[src]
fn eq(&self, __arg_0: &RustType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RustType) -> bool
This method tests for !=
.