MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-identity/src/usage.rs:166–174  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

164
165impl 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
177impl From<&str> for IdentityUsage {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected