[][src]Struct protobuf::reflect::FieldDescriptor

pub struct FieldDescriptor { /* fields omitted */ }

Methods

impl FieldDescriptor[src]

pub fn proto(&self) -> &'static FieldDescriptorProto[src]

pub fn name(&self) -> &'static str[src]

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

pub fn has_field(&self, m: &dyn Message) -> bool[src]

pub fn len_field(&self, m: &dyn Message) -> usize[src]

pub fn get_message<'a>(&self, m: &'a dyn Message) -> &'a dyn Message[src]

pub fn get_rep_message_item<'a>(
    &self,
    m: &'a dyn Message,
    index: usize
) -> &'a dyn Message
[src]

pub fn get_enum(&self, m: &dyn Message) -> &'static EnumValueDescriptor[src]

pub fn get_rep_enum_item(
    &self,
    m: &dyn Message,
    index: usize
) -> &'static EnumValueDescriptor
[src]

pub fn get_str<'a>(&self, m: &'a dyn Message) -> &'a str[src]

pub fn get_rep_str<'a>(&self, m: &'a dyn Message) -> &'a [String][src]

pub fn get_rep_str_item<'a>(&self, m: &'a dyn Message, index: usize) -> &'a str[src]

pub fn get_bytes<'a>(&self, m: &'a dyn Message) -> &'a [u8][src]

pub fn get_rep_bytes<'a>(&self, m: &'a dyn Message) -> &'a [Vec<u8>][src]

pub fn get_rep_bytes_item<'a>(
    &self,
    m: &'a dyn Message,
    index: usize
) -> &'a [u8]
[src]

pub fn get_u32(&self, m: &dyn Message) -> u32[src]

pub fn get_rep_u32<'a>(&self, m: &'a dyn Message) -> &'a [u32][src]

pub fn get_u64(&self, m: &dyn Message) -> u64[src]

pub fn get_rep_u64<'a>(&self, m: &'a dyn Message) -> &'a [u64][src]

pub fn get_i32(&self, m: &dyn Message) -> i32[src]

pub fn get_rep_i32<'a>(&self, m: &'a dyn Message) -> &'a [i32][src]

pub fn get_i64(&self, m: &dyn Message) -> i64[src]

pub fn get_rep_i64<'a>(&self, m: &'a dyn Message) -> &'a [i64][src]

pub fn get_bool(&self, m: &dyn Message) -> bool[src]

pub fn get_rep_bool<'a>(&self, m: &'a dyn Message) -> &'a [bool][src]

pub fn get_f32(&self, m: &dyn Message) -> f32[src]

pub fn get_rep_f32<'a>(&self, m: &'a dyn Message) -> &'a [f32][src]

pub fn get_f64(&self, m: &dyn Message) -> f64[src]

pub fn get_rep_f64<'a>(&self, m: &'a dyn Message) -> &'a [f64][src]

pub fn get_reflect<'a>(&self, m: &'a dyn Message) -> ReflectFieldRef<'a>[src]

pub fn get_rep_item<'a>(
    &self,
    m: &'a dyn Message,
    index: usize
) -> ProtobufValueRef<'a>
[src]

Auto Trait Implementations

impl !Send for FieldDescriptor

impl Unpin for FieldDescriptor

impl !Sync for FieldDescriptor

impl !UnwindSafe for FieldDescriptor

impl !RefUnwindSafe for FieldDescriptor

Blanket Implementations

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]