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

Method with_expiry

atomic-identity/src/identity.rs:257–260  ·  view source on GitHub ↗

Set the expiration date.

(mut self, expires_at: DateTime<Utc>)

Source from the content-addressed store, hash-verified

255
256 /// Set the expiration date.
257 pub fn with_expiry(mut self, expires_at: DateTime<Utc>) -> Self {
258 self.expires_at = Some(expires_at);
259 self
260 }
261
262 /// Mark as modified now.
263 pub fn touch(&mut self) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected