message: Add to_str() for Name and NonNullString
diff: @@ -78,6 +78,12 @@ impl TryFrom<&str> for Name {
  }
  }
  +impl Name {
  + pub fn to_str(&self) -> &str {
  + self.0.as_str()
  + }
  +}
  +
  // TODO: move out of manifest.rs
  #[derive(Clone, Eq, PartialOrd, PartialEq, Debug, Hash, Serialize, Deserialize)]
  pub struct NonNullString(String);
  @@ -120,6 +126,12 @@ impl TryFrom<String> for NonNullString {
  }
  }
  +impl NonNullString {
  + pub fn to_str(&self) -> &str {
  + self.0.as_str()
  + }
  +}
  +
  impl TryFrom<&str> for NonNullString {
  type Error = NonNullStringError;
  