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
name_part: String
is_extension: bool
Trait Implementations
impl Clone for NamePart
[src]
fn clone(&self) -> NamePart
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