macros: Rename generate_element_with_only_attributes!() into generate_element!().

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-28 16:42:35 +02:00
commit 9c598fbdf9
16 changed files with 80 additions and 52 deletions

View file

@ -6,7 +6,8 @@
use jid::Jid;
generate_element_with_only_attributes!(Open, "open", WEBSOCKET, [
generate_element!(Open, "open", WEBSOCKET,
attributes: [
from: Option<Jid> = "from" => optional,
to: Option<Jid> = "to" => optional,
id: Option<String> = "id" => optional,