Skip to main content

IntoActiveModel

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<A> IntoActiveModel<A> for A