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

Method with_description

atomic-identity/src/identity.rs:251–254  ·  view source on GitHub ↗

Set the description.

(mut self, description: impl Into<String>)

Source from the content-addressed store, hash-verified

249
250 /// Set the description.
251 pub fn with_description(mut self, description: impl Into<String>) -> Self {
252 self.description = Some(description.into());
253 self
254 }
255
256 /// Set the expiration date.
257 pub fn with_expiry(mut self, expires_at: DateTime<Utc>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected