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

Method description

atomic-identity/src/identity.rs:166–172  ·  view source on GitHub ↗

Get a human-readable description.

(&self)

Source from the content-addressed store, hash-verified

164impl IdentityType {
165 /// Get a human-readable description.
166 pub fn description(&self) -> &'static str {
167 match self {
168 IdentityType::User => "User",
169 IdentityType::Agent => "Agent",
170 IdentityType::Delegated => "Delegated Agent",
171 }
172 }
173
174 /// Check if this is a human user identity.
175 #[inline]

Callers 2

Calls

no outgoing calls

Tested by 2