eme: Restore docstrings.

This commit is contained in:
Emmanuel Gil Peyrot 2017-11-01 00:24:23 +00:00
parent 4fb909cfd1
commit 8aa51bd047

View file

@ -12,13 +12,14 @@ use error::Error;
use ns; use ns;
generate_element_with_only_attributes!(
/// Structure representing an `<encryption xmlns='urn:xmpp:eme:0'/>` element. /// Structure representing an `<encryption xmlns='urn:xmpp:eme:0'/>` element.
generate_element_with_only_attributes!(ExplicitMessageEncryption, "encryption", ns::EME, [ ExplicitMessageEncryption, "encryption", ns::EME, [
// Namespace of the encryption scheme used. /// Namespace of the encryption scheme used.
namespace: String = "namespace" => required, namespace: String = "namespace" => required,
// User-friendly name for the encryption scheme, should be `None` for OTR, /// User-friendly name for the encryption scheme, should be `None` for OTR,
// legacy OpenPGP and OX. /// legacy OpenPGP and OX.
name: Option<String> = "name" => optional, name: Option<String> = "name" => optional,
]); ]);