(&self, f: &mut fmt::Formatter<'_>)
| 164 | |
| 165 | impl fmt::Display for IdentityUsage { |
| 166 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 167 | match self { |
| 168 | IdentityUsage::Personal => write!(f, "personal"), |
| 169 | IdentityUsage::Work => write!(f, "work"), |
| 170 | IdentityUsage::Community => write!(f, "community"), |
| 171 | IdentityUsage::Bot => write!(f, "bot"), |
| 172 | IdentityUsage::Custom(name) => write!(f, "{}", name), |
| 173 | } |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | impl From<&str> for IdentityUsage { |
nothing calls this directly
no outgoing calls
no test coverage detected