Struct protobuf::reflect::FieldDescriptor
[−]
[src]
pub struct FieldDescriptor { /* fields omitted */ }
Methods
impl FieldDescriptor
[src]
fn proto(&self) -> &'static FieldDescriptorProto
fn name(&self) -> &'static str
fn is_repeated(&self) -> bool
fn has_field(&self, m: &Message) -> bool
fn len_field(&self, m: &Message) -> usize
fn get_message<'a>(&self, m: &'a Message) -> &'a Message
fn get_rep_message_item<'a>(&self, m: &'a Message, index: usize) -> &'a Message
fn get_enum(&self, m: &Message) -> &'static EnumValueDescriptor
fn get_rep_enum_item(&self,
m: &Message,
index: usize)
-> &'static EnumValueDescriptor
m: &Message,
index: usize)
-> &'static EnumValueDescriptor