fn patch<'a, 'c: 'a, P>(
        &'a mut self,
        db: impl Executor<'c, Database = Db> + 'a,
        patch: P,
    ) -> BoxFuture<'a, Result<()>>
    where
        P: Patch<Table = Self>,
    {
        Box::pin(async move {
            let patch: P = patch;
            patch.patch_row(db, self.id()).await?;
            patch.apply_to(self);
            Ok(())
        })
    }
/// Applies a patch to this row.
Applies a patch to this row.
Applies a patch to this row .
fn patch<'a, 'c: 'a, P>(
        &'a mut self,
        db: impl Executor<'c, Database = Db> + 'a,
        patch: P,
    ) -> BoxFuture<'a, Result<()>>
    where
        P: Patch<Table = Self>,
    {
        Box::pin(async move {
            let patch: P = patch;
            patch.patch_row(db, self.id()).await?;
            patch.apply_to(self);
            Ok(())
        })
    }
fn patch < ' a , ' c : ' a , P > ( & ' a mut self , db : impl Executor < ' c , Database = Db > + ' a , patch : P , ) -> BoxFuture < ' a , Result < ( ) > > where P : Patch < Table = Self > , { Box :: pin ( async move { let patch : P = patch ; patch . patch_row ( db , self . id ( ) ) . await ? ; patch . apply_to ( self ) ; Ok ( ( ) ) } ) }
Applies a patch to this row.
Applies a patch to this row .
&'a mut self
db
impl Executor<'c, Database = Db> + 'a
patch
P
&'a mut self
db
impl Executor<'c, Database = Db> + 'a
patch
P