Trait PondRepositoryInterface

Source
pub trait PondRepositoryInterface:
    Repository<Pond>
    + Send
    + Sync {
    // Required method
    fn find_by_user(
        &self,
        owner_user: &User,
    ) -> Result<Vec<Pond>, GameRepositoryError>;
}

Required Methods§

Source

fn find_by_user( &self, owner_user: &User, ) -> Result<Vec<Pond>, GameRepositoryError>

Implementors§