pub struct NotificationPayload {
pub subscription_id: String,
pub event_xml: String,
}Expand description
Generic notification payload for UPnP event notifications.
This represents an unparsed UPnP event notification that has been received via HTTP callback. It contains only the subscription ID and raw XML body, with no device-specific context.
Fields§
§subscription_id: StringThe subscription ID from the UPnP SID header
event_xml: StringThe raw XML event body
Trait Implementations§
Source§impl Clone for NotificationPayload
impl Clone for NotificationPayload
Source§fn clone(&self) -> NotificationPayload
fn clone(&self) -> NotificationPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NotificationPayload
impl RefUnwindSafe for NotificationPayload
impl Send for NotificationPayload
impl Sync for NotificationPayload
impl Unpin for NotificationPayload
impl UnsafeUnpin for NotificationPayload
impl UnwindSafe for NotificationPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more