mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
eme: Restore docstrings.
This commit is contained in:
parent
4fb909cfd1
commit
8aa51bd047
1 changed files with 5 additions and 4 deletions
|
@ -12,13 +12,14 @@ use error::Error;
|
|||
|
||||
use ns;
|
||||
|
||||
generate_element_with_only_attributes!(
|
||||
/// Structure representing an `<encryption xmlns='urn:xmpp:eme:0'/>` element.
|
||||
generate_element_with_only_attributes!(ExplicitMessageEncryption, "encryption", ns::EME, [
|
||||
// Namespace of the encryption scheme used.
|
||||
ExplicitMessageEncryption, "encryption", ns::EME, [
|
||||
/// Namespace of the encryption scheme used.
|
||||
namespace: String = "namespace" => required,
|
||||
|
||||
// User-friendly name for the encryption scheme, should be `None` for OTR,
|
||||
// legacy OpenPGP and OX.
|
||||
/// User-friendly name for the encryption scheme, should be `None` for OTR,
|
||||
/// legacy OpenPGP and OX.
|
||||
name: Option<String> = "name" => optional,
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue