Optimization #4591: Fix Rust clippy lints
Fix warning about "inherent to string"
We are working on cleaning our Rust code from lint warnings.
For resolving this issue, please check the rust code and fix warnings related to "implementation of inherent method `to_string(&self) -> String` for type".
For more details on this warning, check
More information on the parent issue.