[][src]Struct protobuf::descriptor::EnumValueDescriptorProto

pub struct EnumValueDescriptorProto { /* fields omitted */ }

Methods

impl EnumValueDescriptorProto[src]

pub fn new() -> EnumValueDescriptorProto[src]

pub fn default_instance() -> &'static EnumValueDescriptorProto[src]

pub fn clear_name(&mut self)[src]

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

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_number(&mut self)[src]

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

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

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

pub fn clear_options(&mut self)[src]

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

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

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

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

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

Trait Implementations

impl Message for EnumValueDescriptorProto[src]

impl MessageStatic for EnumValueDescriptorProto[src]

impl Clear for EnumValueDescriptorProto[src]

impl ProtobufValue for EnumValueDescriptorProto[src]

impl EnumValueDescriptorEx for EnumValueDescriptorProto[src]

impl Default for EnumValueDescriptorProto[src]

impl Sync for EnumValueDescriptorProto[src]

impl Clone for EnumValueDescriptorProto[src]

impl PartialEq<EnumValueDescriptorProto> for EnumValueDescriptorProto[src]

impl Debug for EnumValueDescriptorProto[src]

Auto Trait Implementations

impl Send for EnumValueDescriptorProto

impl Unpin for EnumValueDescriptorProto

impl UnwindSafe for EnumValueDescriptorProto

impl !RefUnwindSafe for EnumValueDescriptorProto

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]