Set the resource being operated on # Arguments `name` - The name of the resource being operated on `resource_type` - The type of the resource being operated on `result` - The result of the operation
(&mut self, name: &str, resource_type: &FullyQualifiedTypeName)
| 141 | /// * `result` - The result of the operation |
| 142 | /// |
| 143 | pub fn set_resource(&mut self, name: &str, resource_type: &FullyQualifiedTypeName) { |
| 144 | self.progress_value.resource_name = Some(name.to_string()); |
| 145 | self.progress_value.resource_type = Some(resource_type.clone()); |
| 146 | self.progress_value.result = None; |
| 147 | self.progress_value.failure = None; |
| 148 | } |
| 149 | |
| 150 | /// Set the result of the operation. This will clear any error. |
| 151 | /// |
no outgoing calls
no test coverage detected