/// escape any characters in name as needed, otherwise return string as is
escape any characters in name as needed, otherwise return string as is
escape any characters in name as needed otherwise return string as is
fn quote_and_escape(value: &'_ str) -> Cow<'_, str> {
    if needs_quotes_and_escaping(value) {
        Cow::Owned(format!("{:?}", value))
    } else {
        Cow::Borrowed(value)
    }
}
fn quote_and_escape ( value : & ' _ str ) -> Cow < ' _ , str > { if needs_quotes_and_escaping ( value ) { Cow :: Owned ( format ! ( " " value ) ) } else { Cow :: Borrowed ( value ) } }
escape any characters in name as needed, otherwise return string as is
escape any characters in name as needed otherwise return string as is
value
&'_ str