/// Update the cohort and user counting for each app from Omaha app response.
Update the cohort and user counting for each app from Omaha app response.
Update the cohort and user counting for each app from Omaha app response .
fn update_from_omaha(&mut self, app_responses: &[AppResponse]) {
        for app in self.iter_mut_apps() {
            for app_response in app_responses {
                if app.id == app_response.app_id {
                    app.cohort.update_from_omaha(app_response.cohort.clone());
                    app.user_counting = app_response.user_counting.clone();
                    break;
                }
            }
        }
    }
fn update_from_omaha ( & mut self , app_responses : & [ AppResponse ] ) { for app in self . iter_mut_apps ( ) { for app_response in app_responses { if app . id == app_response . app_id { app . cohort . update_from_omaha ( app_response . cohort . clone ( ) ) ; app . user_counting = app_response . user_counting . clone ( ) ; break ; } } } }
Update the cohort and user counting for each app from Omaha app response.
Update the cohort and user counting for each app from Omaha app response .
&mut self
app_responses
&[AppResponse]