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

Method expires_at

atomic-identity/src/identity.rs:476–479  ·  view source on GitHub ↗

Set an expiration date.

(mut self, expires_at: DateTime<Utc>)

Source from the content-addressed store, hash-verified

474
475 /// Set an expiration date.
476 pub fn expires_at(mut self, expires_at: DateTime<Utc>) -> Self {
477 self.expires_at = Some(expires_at);
478 self
479 }
480
481 /// Set the delegating identity (for delegated identities).
482 pub fn delegated_by(mut self, delegator: IdentityId) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected