Set an explicit expiry.
(mut self, expires: DateTime<Utc>)
| 688 | |
| 689 | /// Set an explicit expiry. |
| 690 | pub fn with_expiry(mut self, expires: DateTime<Utc>) -> Self { |
| 691 | self.expires = Some(expires); |
| 692 | self |
| 693 | } |
| 694 | |
| 695 | /// Expire after a duration from the issue time. |
| 696 | pub fn expires_in(mut self, duration: Duration) -> Self { |
no outgoing calls