pub trait MessageFields {
const FIELDS: &'static [&'static MessageField];
const ONEOFS: &'static [&'static str] = _;
}Required Associated Constants§
const FIELDS: &'static [&'static MessageField]
Provided Associated Constants§
Sourceconst ONEOFS: &'static [&'static str] = _
const ONEOFS: &'static [&'static str] = _
Oneof group names declared in this message.
A oneof name acts as a virtual parent path for its variant fields
during read mask validation. For example, a message with
oneof execution_result { CommandResults command_results = 3; ... }
lists "execution_result" here so that paths like
"execution_result.command_results" are accepted by validate().
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.