Trait ProtoConfigBuilder

Source
pub trait ProtoConfigBuilder {
    // Required methods
    fn schema_config(&mut self, schema: Value) -> &mut Self;
    fn tool_config(&mut self, config: impl Serialize) -> &mut Self;
}

Required Methods§

Source

fn schema_config(&mut self, schema: Value) -> &mut Self

Source

fn tool_config(&mut self, config: impl Serialize) -> &mut Self

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.

Implementations on Foreign Types§

Source§

impl ProtoConfigBuilder for ConfigBuilder

Source§

fn schema_config(&mut self, schema: Value) -> &mut Self

Source§

fn tool_config(&mut self, config: impl Serialize) -> &mut Self

Implementors§