Skip to main content

GenerationFields

Trait GenerationFields 

Source
pub trait GenerationFields: Send + Sync {
    // Required method
    fn field(&self, name: &str, value: TextValue);
}
Expand description

Receives complete candidate fields during a generation attempt. The runtime validates each field before exposing it. Core never invokes this seam.

Required Methods§

Source

fn field(&self, name: &str, value: TextValue)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§