pub trait SampleConfig {
    const SAMPLE_OUTPUT_TYPE: OutputType;

    fn generate_sample_yaml(&self) -> String;
}
Expand description

Generate sample configs for Rust data constructs automatically using an example instance.

Required Associated Constants

Whether this data construct produces a value (e.g. String) or fields (e.g. a struct).

Required Methods

Generate a string containing the sample config in Yaml format.

Implementations on Foreign Types

Implementors