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, Option<N>)
where M: ModelTrait, N: ModelTrait,

source§

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

source§

impl<T> IntoMockRow for BTreeMap<T, Value>
where T: Into<String>,

Implementors§