[][src]Struct protobuf::descriptor::FieldOptions

pub struct FieldOptions { /* fields omitted */ }

Methods

impl FieldOptions[src]

pub fn new() -> FieldOptions[src]

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

pub fn clear_ctype(&mut self)[src]

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

pub fn set_ctype(&mut self, v: FieldOptions_CType)[src]

pub fn get_ctype(&self) -> FieldOptions_CType[src]

pub fn clear_packed(&mut self)[src]

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

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

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

pub fn clear_jstype(&mut self)[src]

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

pub fn set_jstype(&mut self, v: FieldOptions_JSType)[src]

pub fn get_jstype(&self) -> FieldOptions_JSType[src]

pub fn clear_lazy(&mut self)[src]

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

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

pub fn get_lazy(&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_deprecated(&self) -> bool[src]

pub fn clear_weak(&mut self)[src]

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

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

pub fn get_weak(&self) -> bool[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]

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

Trait Implementations

impl Message for FieldOptions[src]

impl MessageStatic for FieldOptions[src]

impl Clear for FieldOptions[src]

impl ProtobufValue for FieldOptions[src]

impl Default for FieldOptions[src]

impl Sync for FieldOptions[src]

impl Clone for FieldOptions[src]

impl PartialEq<FieldOptions> for FieldOptions[src]

impl Debug for FieldOptions[src]

Auto Trait Implementations

impl Send for FieldOptions

impl Unpin for FieldOptions

impl UnwindSafe for FieldOptions

impl !RefUnwindSafe for FieldOptions

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]