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

Trait Implementations

impl Clone for RustType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RustType
[src]

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

This method tests for !=.

impl Eq for RustType
[src]

impl Display for RustType
[src]

Formats the value using the given formatter.