pub trait NormalizeImageGenerationResponse {
// Required method
fn normalize(self) -> Result<ImageGenerationResponse, ProviderError>;
}Available on crate feature
image only.Expand description
Normalizes provider image payloads. The driver writes the provider, request
id and raw afterwards.
Required Methods§
Sourcefn normalize(self) -> Result<ImageGenerationResponse, ProviderError>
fn normalize(self) -> Result<ImageGenerationResponse, ProviderError>
Normalize this payload.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".