Trait sea_orm::TryGetable

source ·
pub trait TryGetable: Sized {
    fn try_get(
        res: &QueryResult,
        pre: &str,
        col: &str
    ) -> Result<Self, TryGetError>; }
Expand description

Constrain any type trying to get a Row in a database

Required Methods§

Ensure the type implements this method

Implementations on Foreign Types§

Implementors§