Struct protobuf::descriptorx::FieldWithContext
[−]
[src]
pub struct FieldWithContext<'a> {
pub field: &'a FieldDescriptorProto,
pub message: MessageWithScope<'a>,
}Fields
field: &'a FieldDescriptorProto
message: MessageWithScope<'a>
Methods
impl<'a> FieldWithContext<'a>[src]
fn oneof(&'a self) -> Option<OneofWithContext<'a>>
fn number(&self) -> u32
fn name(&self) -> &str
Shortcut
fn rust_name(&self) -> String
fn containing_messages(&self) -> Vec<&'a DescriptorProto>
Trait Implementations
impl<'a> Clone for FieldWithContext<'a>[src]
fn clone(&self) -> FieldWithContext<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more