pub async fn keep_alive(&mut self, duration: Duration) -> Result<(), sqlx::Error> {
        sqlx::query("SELECT mq_keep_alive(ARRAY[$1], $2)")
            .bind(self.id)
            .bind(duration)
            .execute(self.pool())
            .await?;
        Ok(())
    }
/// Prevent this job from being retried for the specified interval.
Prevent this job from being retried for the specified interval.
Prevent this job from being retried for the specified interval .
pub async fn keep_alive(&mut self, duration: Duration) -> Result<(), sqlx::Error> {
        sqlx::query("SELECT mq_keep_alive(ARRAY[$1], $2)")
            .bind(self.id)
            .bind(duration)
            .execute(self.pool())
            .await?;
        Ok(())
    }
pub async fn keep_alive ( & mut self , duration : Duration ) -> Result < ( ) , sqlx :: Error > { sqlx :: query ( " " ) . bind ( self . id ) . bind ( duration ) . execute ( self . pool ( ) ) . await ? ; Ok ( ( ) ) }
Prevent this job from being retried for the specified interval.
Prevent this job from being retried for the specified interval .
&mut self
duration
Duration
&mut self
duration
Duration