Skip to main content

ViewResponseGenerator

Trait ViewResponseGenerator 

Source
pub trait ViewResponseGenerator: Serialize {
    // Provided method
    fn gen(&self) -> String { ... }
}

Provided Methods§

Source

fn gen(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ViewResponseGenerator for Value

Implementors§