pub struct NotificationReplyPacket {
pub message: String,
pub request_reply_id: String,
}Expand description
This packet is a reply for a repliable notification.
https://invent.kde.org/network/kdeconnect-meta/blob/master/protocol.md#kdeconnectnotificationreply
Fields§
§message: StringThe message to reply with.
request_reply_id: StringThe reply ID of the notification.
Trait Implementations§
Source§impl Clone for NotificationReplyPacket
impl Clone for NotificationReplyPacket
Source§fn clone(&self) -> NotificationReplyPacket
fn clone(&self) -> NotificationReplyPacket
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 moreSource§impl Debug for NotificationReplyPacket
impl Debug for NotificationReplyPacket
Source§impl<'de> Deserialize<'de> for NotificationReplyPacket
impl<'de> Deserialize<'de> for NotificationReplyPacket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NotificationReplyPacket
impl RefUnwindSafe for NotificationReplyPacket
impl Send for NotificationReplyPacket
impl Sync for NotificationReplyPacket
impl Unpin for NotificationReplyPacket
impl UnsafeUnpin for NotificationReplyPacket
impl UnwindSafe for NotificationReplyPacket
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