Struct wemo::subscriptions::Notification
[−]
[src]
pub struct Notification { pub notification_type: NotificationType, pub subscription_key: String, }
Individual subscription notifications.
Fields
notification_type: NotificationType
subscription_key: String
Original device subscribed to, in "IP:PORT" form. Note that the port may have been changed by the Wemo device, and that the IP could differ if the router changed it.
Trait Implementations
impl Clone for Notification
[src]
fn clone(&self) -> Notification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Notification
[src]
impl PartialEq for Notification
[src]
fn eq(&self, __arg_0: &Notification) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Notification) -> bool
This method tests for !=
.