Struct prost_codegen::google::protobuf::uninterpreted_option::NamePart [] [src]

pub struct NamePart {
    pub name_part: String,
    pub is_extension: bool,
}

The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents "foo.(bar.baz).qux".

Fields

Trait Implementations

impl Clone for NamePart
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NamePart
[src]

Formats the value using the given formatter.

impl PartialEq for NamePart
[src]

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

This method tests for !=.