fn to_string()

in confidence/src/details.rs [58:71]


  fn to_string(&self) -> String {
    match self {
      Self::Static => "STATIC",
      Self::Default => "DEFAULT",
      Self::TargetingMatch => "TARGETING_MATCH",
      Self::Split => "SPLIT",
      Self::Cached => "CACHED",
      Self::Disabled => "DISABLED",
      Self::Unknown => "UNKNOWN",
      Self::Error => "ERROR",
      Self::Other(reason) => reason.as_str(),
    }
    .to_string()
  }