pub struct RunCommandRequestPacket {
pub key: Option<String>,
pub request_command_list: Option<bool>,
}Expand description
This packet is a runcommand status update.
https://invent.kde.org/network/kdeconnect-meta/blob/master/protocol.md#kdeconnectruncommandrequest
Fields§
§key: Option<String>If the packet body contains this field it is a request to execute the command with the ID key.
request_command_list: Option<bool>If the packet body contains this field it is a request for the command list.
Trait Implementations§
Source§impl Clone for RunCommandRequestPacket
impl Clone for RunCommandRequestPacket
Source§fn clone(&self) -> RunCommandRequestPacket
fn clone(&self) -> RunCommandRequestPacket
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 RunCommandRequestPacket
impl Debug for RunCommandRequestPacket
Source§impl<'de> Deserialize<'de> for RunCommandRequestPacket
impl<'de> Deserialize<'de> for RunCommandRequestPacket
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 RunCommandRequestPacket
impl RefUnwindSafe for RunCommandRequestPacket
impl Send for RunCommandRequestPacket
impl Sync for RunCommandRequestPacket
impl Unpin for RunCommandRequestPacket
impl UnsafeUnpin for RunCommandRequestPacket
impl UnwindSafe for RunCommandRequestPacket
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