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
start: Option<i32>
Inclusive.
end: Option<i32>
Exclusive.
Methods
impl ReservedRange
[src]
Trait Implementations
impl Clone for ReservedRange
[src]
fn clone(&self) -> ReservedRange
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
impl Debug for ReservedRange
[src]
impl PartialEq for ReservedRange
[src]
fn eq(&self, __arg_0: &ReservedRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReservedRange) -> bool
This method tests for !=
.