Struct protobuf::descriptor::MessageOptions[][src]

pub struct MessageOptions {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl MessageOptions[src]

pub fn new() -> MessageOptions[src]

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

pub fn clear_message_set_wire_format(&mut self)[src]

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

pub fn set_message_set_wire_format(&mut self, v: bool)[src]

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

pub fn clear_no_standard_descriptor_accessor(&mut self)[src]

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

pub fn set_no_standard_descriptor_accessor(&mut self, v: bool)[src]

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

pub fn clear_deprecated(&mut self)[src]

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

pub fn set_deprecated(&mut self, v: bool)[src]

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

pub fn clear_map_entry(&mut self)[src]

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

pub fn set_map_entry(&mut self, v: bool)[src]

pub fn get_uninterpreted_option(&self) -> &[UninterpretedOption]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn clear_uninterpreted_option(&mut self)[src]

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

pub fn mut_uninterpreted_option(
    &mut self
) -> &mut RepeatedField<UninterpretedOption>
[src]

pub fn take_uninterpreted_option(
    &mut self
) -> RepeatedField<UninterpretedOption>
[src]

Trait Implementations

impl Clear for MessageOptions[src]

impl Clone for MessageOptions[src]

impl Debug for MessageOptions[src]

impl Default for MessageOptions[src]

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

impl Message for MessageOptions[src]

impl PartialEq<MessageOptions> for MessageOptions[src]

impl ProtobufValue for MessageOptions[src]

impl StructuralPartialEq for MessageOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for MessageOptions

impl Send for MessageOptions

impl Sync for MessageOptions

impl Unpin for MessageOptions

impl UnwindSafe for MessageOptions

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.