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

Method custom_name

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

Get the custom name if this is a custom usage.

(&self)

Source from the content-addressed store, hash-verified

129
130 /// Get the custom name if this is a custom usage.
131 pub fn custom_name(&self) -> Option<&str> {
132 match self {
133 IdentityUsage::Custom(name) => Some(name),
134 _ => None,
135 }
136 }
137
138 /// Create a custom usage context.
139 pub fn custom(name: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected