Trait sea_orm::IntoMockRow

source ·
pub trait IntoMockRow {
    // Required method
    fn into_mock_row(self) -> MockRow;
}
Available on crate feature mock only.
Expand description

A trait to get a MockRow from a type useful for testing in the MockDatabase

Required Methods§

source

fn into_mock_row(self) -> MockRow

The method to perform this operation

Implementations on Foreign Types§

source§

impl<M, N> IntoMockRow for (M, N)where M: ModelTrait, N: ModelTrait,

source§

impl IntoMockRow for BTreeMap<&str, Value>

source§

impl IntoMockRow for BTreeMap<String, Value>

Implementors§