pub trait IntoActiveModel<A>where
    A: ActiveModelTrait,{
    // Required method
    fn into_active_model(self) -> A;
}
Expand description

A Trait for any type that can be converted into an ActiveModel

Required Methods§

source

fn into_active_model(self) -> A

Method to call to perform the conversion

Implementations on Foreign Types§

source§

impl IntoActiveModel<ActiveModel> for <Entity as EntityTrait>::Model

Implementors§