Struct prost_types::descriptor_proto::ExtensionRange [−][src]
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
impl RefUnwindSafe for ExtensionRange
impl Send for ExtensionRange
impl Sync for ExtensionRange
impl Unpin for ExtensionRange
impl UnwindSafe for ExtensionRange
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,