pub struct NotificationActionPacket {
pub key: String,
pub action: String,
}Expand description
This packet is an activation of a notification action.
https://invent.kde.org/network/kdeconnect-meta/blob/master/protocol.md#kdeconnectnotificationaction
Fields§
§key: StringThe notification ID.
action: StringThe notification action name.
Trait Implementations§
Source§impl Clone for NotificationActionPacket
impl Clone for NotificationActionPacket
Source§fn clone(&self) -> NotificationActionPacket
fn clone(&self) -> NotificationActionPacket
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 NotificationActionPacket
impl Debug for NotificationActionPacket
Source§impl<'de> Deserialize<'de> for NotificationActionPacket
impl<'de> Deserialize<'de> for NotificationActionPacket
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 NotificationActionPacket
impl RefUnwindSafe for NotificationActionPacket
impl Send for NotificationActionPacket
impl Sync for NotificationActionPacket
impl Unpin for NotificationActionPacket
impl UnsafeUnpin for NotificationActionPacket
impl UnwindSafe for NotificationActionPacket
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