Struct prost_codegen::google::protobuf::descriptor_proto::ReservedRange [] [src]

pub struct ReservedRange {
    pub start: Option<i32>,
    pub end: Option<i32>,
}

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

Fields

Inclusive.

Exclusive.

Methods

impl ReservedRange
[src]

Trait Implementations

impl Clone for ReservedRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ReservedRange
[src]

Formats the value using the given formatter.

impl PartialEq for ReservedRange
[src]

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

This method tests for !=.