pub fn prover_by_id(&self, prover_id: i32) -> QueryResult<ActiveProver> {
        use crate::schema::active_provers::dsl::*;

        let ret: ActiveProver = active_provers
            .filter(id.eq(prover_id))
            .get_result(self.0.conn())?;
        Ok(ret)
    }
/// Gets a prover descriptor by its numeric ID.
Gets a prover descriptor by its numeric ID.
Gets a prover descriptor by its numeric ID .
pub fn prover_by_id(&self, prover_id: i32) -> QueryResult<ActiveProver> {
        use crate::schema::active_provers::dsl::*;
        let ret: ActiveProver = active_provers
            .filter(id.eq(prover_id))
            .get_result(self.0.conn())?;
        Ok(ret)
    }
pub fn prover_by_id ( & self , prover_id : i32 ) -> QueryResult < ActiveProver > { use crate :: schema :: active_provers :: dsl :: * ; let ret : ActiveProver = active_provers . filter ( id . eq ( prover_id ) ) . get_result ( self . 0 . conn ( ) ) ? ; Ok ( ret ) }
Gets a prover descriptor by its numeric ID.
Gets a prover descriptor by its numeric ID .
&self
prover_id
i32