mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +03:00
Add documentation
This commit is contained in:
@@ -119,8 +119,13 @@ pub fn split_armored_data(buf: &[u8]) -> Result<(BlockType, BTreeMap<String, Str
|
||||
/// keys together as they are one unit.
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub struct KeyPair {
|
||||
/// Email address.
|
||||
pub addr: EmailAddress,
|
||||
|
||||
/// Public key.
|
||||
pub public: SignedPublicKey,
|
||||
|
||||
/// Secret key.
|
||||
pub secret: SignedSecretKey,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user