pub trait HasFields {
type Fields;
// Required method
fn fields() -> Self::Fields;
}Expand description
Users shouldn’t need to touch this directly; use the Fields derive
and the HasFields trait generated for their own types.
Trait implemented for every type that derives Fields.
Obtain the root builder with Foo::fields() and then chain the
generated methods (.bar().baz()…) to build dotted paths.
Required Associated Types§
Required Methods§
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.