Skip to main content

NovaRequestModel

Trait NovaRequestModel 

Source
pub trait NovaRequestModel {
    // Provided method
    fn request_model_name() -> &'static str
       where Self: Sized { ... }
}
Expand description

Marker trait for request models. Implementations can override request_model_name to provide a readable type name for docs and telemetry.

Provided Methods§

Source

fn request_model_name() -> &'static str
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§