Struct protobuf::descriptorx::OneofVariantWithContext
[−]
[src]
pub struct OneofVariantWithContext<'a> { pub oneof: &'a OneofWithContext<'a>, pub field: &'a FieldDescriptorProto, }
Fields
oneof: &'a OneofWithContext<'a>
field: &'a FieldDescriptorProto
Methods
impl<'a> OneofVariantWithContext<'a>
[src]
fn field_name(&self) -> &str
Trait Implementations
impl<'a> Clone for OneofVariantWithContext<'a>
[src]
fn clone(&self) -> OneofVariantWithContext<'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