Skip to main content

AdminCreateForm

Trait AdminCreateForm 

Source
pub trait AdminCreateForm<S> {
    // Required methods
    fn entity_name() -> &'static str;
    fn get_form() -> Form<S>;
    fn create_query(self, state: &S) -> impl Future<Output = Result<()>> + Send;
}

Required Methods§

Source

fn entity_name() -> &'static str

Source

fn get_form() -> Form<S>

Source

fn create_query(self, state: &S) -> impl Future<Output = Result<()>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§