Usually I can use an &String in any function call that accepts an &str, I believe this is because String implements Der
&String
&str
String
Der