[][src]Struct prost_types::descriptor_proto::ExtensionRange

pub struct ExtensionRange {
    pub start: Option<i32>,
    pub end: Option<i32>,
    pub options: Option<ExtensionRangeOptions>,
}

Fields

start: Option<i32>

Inclusive.

end: Option<i32>

Exclusive.

options: Option<ExtensionRangeOptions>

Implementations

impl ExtensionRange[src]

pub fn start(&self) -> i32[src]

Returns the value of start, or the default value if start is unset.

pub fn end(&self) -> i32[src]

Returns the value of end, or the default value if end is unset.

Trait Implementations

impl Clone for ExtensionRange[src]

impl Debug for ExtensionRange[src]

impl Default for ExtensionRange[src]

impl Message for ExtensionRange[src]

impl PartialEq<ExtensionRange> for ExtensionRange[src]

impl StructuralPartialEq for ExtensionRange[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.