Struct protobuf::descriptor::DescriptorProto_ExtensionRange[][src]

pub struct DescriptorProto_ExtensionRange {
    pub options: SingularPtrField<ExtensionRangeOptions>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

options: SingularPtrField<ExtensionRangeOptions>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DescriptorProto_ExtensionRange[src]

pub fn new() -> DescriptorProto_ExtensionRange[src]

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

pub fn clear_start(&mut self)[src]

pub fn has_start(&self) -> bool[src]

pub fn set_start(&mut self, v: i32)[src]

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

pub fn clear_end(&mut self)[src]

pub fn has_end(&self) -> bool[src]

pub fn set_end(&mut self, v: i32)[src]

pub fn get_options(&self) -> &ExtensionRangeOptions[src]

pub fn clear_options(&mut self)[src]

pub fn has_options(&self) -> bool[src]

pub fn set_options(&mut self, v: ExtensionRangeOptions)[src]

pub fn mut_options(&mut self) -> &mut ExtensionRangeOptions[src]

pub fn take_options(&mut self) -> ExtensionRangeOptions[src]

Trait Implementations

impl Clear for DescriptorProto_ExtensionRange[src]

impl Clone for DescriptorProto_ExtensionRange[src]

impl Debug for DescriptorProto_ExtensionRange[src]

impl Default for DescriptorProto_ExtensionRange[src]

impl<'a> Default for &'a DescriptorProto_ExtensionRange[src]

impl<'de> Deserialize<'de> for DescriptorProto_ExtensionRange[src]

impl Message for DescriptorProto_ExtensionRange[src]

impl PartialEq<DescriptorProto_ExtensionRange> for DescriptorProto_ExtensionRange[src]

impl ProtobufValue for DescriptorProto_ExtensionRange[src]

impl Serialize for DescriptorProto_ExtensionRange[src]

impl StructuralPartialEq for DescriptorProto_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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.