[][src]Struct protobuf::descriptor::EnumDescriptorProto

pub struct EnumDescriptorProto { /* fields omitted */ }

Methods

impl EnumDescriptorProto[src]

pub fn new() -> EnumDescriptorProto[src]

pub fn default_instance() -> &'static EnumDescriptorProto[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_value(&mut self)[src]

pub fn set_value(&mut self, v: RepeatedField<EnumValueDescriptorProto>)[src]

pub fn mut_value(&mut self) -> &mut RepeatedField<EnumValueDescriptorProto>[src]

pub fn take_value(&mut self) -> RepeatedField<EnumValueDescriptorProto>[src]

pub fn get_value(&self) -> &[EnumValueDescriptorProto][src]

pub fn clear_options(&mut self)[src]

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

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

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

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

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

Trait Implementations

impl Message for EnumDescriptorProto[src]

impl MessageStatic for EnumDescriptorProto[src]

impl Clear for EnumDescriptorProto[src]

impl ProtobufValue for EnumDescriptorProto[src]

impl Default for EnumDescriptorProto[src]

impl Sync for EnumDescriptorProto[src]

impl Clone for EnumDescriptorProto[src]

impl PartialEq<EnumDescriptorProto> for EnumDescriptorProto[src]

impl Debug for EnumDescriptorProto[src]

Auto Trait Implementations

impl Send for EnumDescriptorProto

impl Unpin for EnumDescriptorProto

impl UnwindSafe for EnumDescriptorProto

impl !RefUnwindSafe for EnumDescriptorProto

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]