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

Method description

atomic-identity/src/identity.rs:134–140  ·  view source on GitHub ↗

Get a human-readable description.

(&self)

Source from the content-addressed store, hash-verified

132impl IdentityType {
133 /// Get a human-readable description.
134 pub fn description(&self) -> &'static str {
135 match self {
136 IdentityType::User => "User",
137 IdentityType::Agent => "Agent",
138 IdentityType::Delegated => "Delegated Agent",
139 }
140 }
141
142 /// Check if this is a human user identity.
143 #[inline]

Callers 2

Calls

no outgoing calls

Tested by 2