[][src]Function rusoto_route53::util::quote_txt_record

pub fn quote_txt_record(record_contents: &str) -> String

Route53 TXT entries require quotations around their values. Use this function to add quotes if needed. These examples show how this adds quotes if needed:

This example is not tested
let rr = vec![
  ResourceRecord {
    value: quote_txt_record("foo"),
  },
  ResourceRecord {
    value: quote_txt_record("\"baz\""),
  },
];