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

Method description

atomic-identity/src/usage.rs:79–87  ·  view source on GitHub ↗

Get a human-readable description.

(&self)

Source from the content-addressed store, hash-verified

77impl IdentityUsage {
78 /// Get a human-readable description.
79 pub fn description(&self) -> String {
80 match self {
81 IdentityUsage::Personal => "Personal".to_string(),
82 IdentityUsage::Work => "Work".to_string(),
83 IdentityUsage::Community => "Community".to_string(),
84 IdentityUsage::Bot => "Bot".to_string(),
85 IdentityUsage::Custom(name) => format!("Custom: {}", name),
86 }
87 }
88
89 /// Get a short code for compact display.
90 pub fn short_code(&self) -> &str {

Callers 1

logMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected