sea_orm::entity

Trait IntoActiveModel

Source
pub trait IntoActiveModel<A>{
    // 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

Implementors§

Source§

impl<A> IntoActiveModel<A> for A