pub trait ProtoOneof {
// Required method
fn proto_schema() -> Oneof;
}Expand description
Trait responsible for generating the schema representation of a oneof.
Required Methods§
Sourcefn proto_schema() -> Oneof
fn proto_schema() -> Oneof
Returns the protobuf schema representation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.