Expire after a duration from the issue time.
(mut self, duration: Duration)
| 694 | |
| 695 | /// Expire after a duration from the issue time. |
| 696 | pub fn expires_in(mut self, duration: Duration) -> Self { |
| 697 | self.expires = Some(self.issued + duration); |
| 698 | self |
| 699 | } |
| 700 | |
| 701 | /// Has this delegation passed its expiry? |
| 702 | pub fn is_expired(&self) -> bool { |
no outgoing calls