Impl MessagePayload for PubSubEvent
This commit is contained in:
parent
48ce51b4ad
commit
3d53baf128
1 changed files with 3 additions and 0 deletions
|
@ -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::*;
|
||||
|
|
Loading…
Reference in a new issue