pub trait FromMetadata {
// Required method
fn from_metadata(client: HttpClient, metadata: Metadata) -> Self;
}
Required Methods§
Sourcefn from_metadata(client: HttpClient, metadata: Metadata) -> Self
fn from_metadata(client: HttpClient, metadata: Metadata) -> Self
Creates an item given the http configuration and item metadata. No validation is performed that the metadata is correct.
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.