Trait protobuf::OneofFull

source ·
pub trait OneofFull: Oneof {
    // Required method
    fn descriptor() -> OneofDescriptor;
}
Expand description

Implemented by all oneof types when lite runtime is not enabled.

Required Methods§

source

fn descriptor() -> OneofDescriptor

Descriptor object for this oneof.

Object Safety§

This trait is not object safe.

Implementors§