Convert this identity to an Author for change headers. This creates an Author struct compatible with atomic-core's change header format.
(&self)
| 359 | /// This creates an Author struct compatible with atomic-core's |
| 360 | /// change header format. |
| 361 | pub fn to_author(&self) -> crate::Author { |
| 362 | crate::Author { |
| 363 | name: self.name.clone(), |
| 364 | email: self.email.clone(), |
| 365 | identity: Some(self.public_key_base32()), |
| 366 | } |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | impl fmt::Display for Identity { |