sea_orm

Trait 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§