Skip to main content

Provider

Trait Provider 

Source
pub trait Provider: Scope {
    // Required method
    fn to_schema(&self) -> (String, Map<String, Value>);
}

Required Methods§

Source

fn to_schema(&self) -> (String, Map<String, Value>)

Returns the provider version and configuration.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§