pub struct RunCommandValue {
pub name: String,
pub command: String,
}Expand description
A value of the map in the list of commands of the RunCommandPacket::command_list field.
Fields§
§name: StringA displayed name for the command.
command: StringThe command to execute.
Trait Implementations§
Source§impl Clone for RunCommandValue
impl Clone for RunCommandValue
Source§fn clone(&self) -> RunCommandValue
fn clone(&self) -> RunCommandValue
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 RunCommandValue
impl Debug for RunCommandValue
Source§impl<'de> Deserialize<'de> for RunCommandValue
impl<'de> Deserialize<'de> for RunCommandValue
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 RunCommandValue
impl RefUnwindSafe for RunCommandValue
impl Send for RunCommandValue
impl Sync for RunCommandValue
impl Unpin for RunCommandValue
impl UnsafeUnpin for RunCommandValue
impl UnwindSafe for RunCommandValue
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