Check if the identity has expired.
(&self)
| 212 | |
| 213 | /// Check if the identity has expired. |
| 214 | pub fn is_expired(&self) -> bool { |
| 215 | self.expires_at.map(|exp| exp < Utc::now()).unwrap_or(false) |
| 216 | } |
| 217 | |
| 218 | /// Set the description. |
| 219 | pub fn with_description(mut self, description: impl Into<String>) -> Self { |
no outgoing calls
no test coverage detected