(mut self, criteria: Vec<String>)
| 332 | } |
| 333 | |
| 334 | pub fn with_criteria(mut self, criteria: Vec<String>) -> Self { |
| 335 | self.success_criteria = criteria; |
| 336 | self |
| 337 | } |
| 338 | |
| 339 | pub fn update_progress(&mut self, progress: f32) { |
| 340 | self.progress = progress.clamp(0.0, 1.0); |
no outgoing calls