Struct prost_codegen::google::protobuf::GeneratedCodeInfo [] [src]

pub struct GeneratedCodeInfo {
    pub annotation: Vec<Annotation>,
}

Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.

Fields

An Annotation connects some span of text in generated code to an element of its generating .proto file.

Trait Implementations

impl Clone for GeneratedCodeInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GeneratedCodeInfo
[src]

Formats the value using the given formatter.

impl PartialEq for GeneratedCodeInfo
[src]

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

This method tests for !=.