[][src]Struct prost_types::GeneratedCodeInfo

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

annotation: Vec<Annotation>

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]

impl Debug for GeneratedCodeInfo[src]

impl Default for GeneratedCodeInfo[src]

impl Message for GeneratedCodeInfo[src]

impl PartialEq<GeneratedCodeInfo> for GeneratedCodeInfo[src]

impl StructuralPartialEq for GeneratedCodeInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.