pub fn set_resource_info(
        &mut self,
        resource_type: impl Into<String>,
        resource_name: impl Into<String>,
        owner: impl Into<String>,
        description: impl Into<String>,
    ) -> &mut Self {
        self.resource_info = Some(ResourceInfo::new(
            resource_type,
            resource_name,
            owner,
            description,
        ));
        self
    }
Set [`ResourceInfo`] details. Can be chained with other `.set_` and
`.add_` [`ErrorDetails`] methods.

# Examples

```
use tonic_types::ErrorDetails;

let mut err_details = ErrorDetails::new();

err_details.set_resource_info("res_type", "res_name", "owner", "description");
```
tonic-types/src/richer_error/error_details/mod.rs