Create metadata with the current timestamp.
()
| 239 | impl IdentityMetadata { |
| 240 | /// Create metadata with the current timestamp. |
| 241 | pub fn new() -> Self { |
| 242 | Self::default() |
| 243 | } |
| 244 | |
| 245 | /// Check if the identity has expired. |
| 246 | pub fn is_expired(&self) -> bool { |