pub fn sync_db(&mut self, conn: &PgConnection) -> Result<(), Error> {
        ConfigRepr::sync_db(conn, self.asset_group_id, &mut self.configs)?;
        ServiceRepr::sync_db(conn, self.asset_group_id, &mut self.services)?;
        Ok(())
    }
/// Given a representation, make the database match what we have configured.
Given a representation, make the database match what we have configured.
Given a representation make the database match what we have configured .
pub fn sync_db(&mut self, conn: &PgConnection) -> Result<(), Error> {
        ConfigRepr::sync_db(conn, self.asset_group_id, &mut self.configs)?;
        ServiceRepr::sync_db(conn, self.asset_group_id, &mut self.services)?;
        Ok(())
    }
pub fn sync_db ( & mut self , conn : & PgConnection ) -> Result < ( ) , Error > { ConfigRepr :: sync_db ( conn , self . asset_group_id , & mut self . configs ) ? ; ServiceRepr :: sync_db ( conn , self . asset_group_id , & mut self . services ) ? ; Ok ( ( ) ) }
Given a representation, make the database match what we have configured.
Given a representation make the database match what we have configured .
&mut self
conn
&PgConnection
&mut self
conn
&PgConnection