Enum protobuf::codegen::RustType [] [src]

pub enum RustType {
    Int(boolu32),
    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(boolu32)Float(u32)BoolVec(Box<RustType>)StringSlice(Box<RustType>)StrOption(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 Eq for RustType
[src]

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 !=.

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 Display for RustType
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.