Impl MessagePayload for PubSubEvent

This commit is contained in:
Paul Fariello 2021-01-18 08:52:46 +01:00
parent 48ce51b4ad
commit 3d53baf128

View file

@ -6,6 +6,7 @@
use crate::data_forms::DataForm;
use crate::date::DateTime;
use crate::message::MessagePayload;
use crate::ns;
use crate::pubsub::{Item as PubSubItem, ItemId, NodeName, Subscription, SubscriptionId};
use crate::util::error::Error;
@ -241,6 +242,8 @@ impl From<PubSubEvent> for Element {
}
}
impl MessagePayload for PubSubEvent {}
#[cfg(test)]
mod tests {
use super::*;