pub struct CommandExecuteData {
pub args: String,
pub command: String,
pub command_name: String,
pub request_id: RequestId,
}Expand description
Registered command dispatch request routed to the owning client
Fields§
§args: StringRaw argument string after the command name
command: StringThe full command text (e.g., /deploy production)
command_name: StringCommand name without leading /
request_id: RequestIdUnique identifier; used to respond via session.commands.handlePendingCommand()
Trait Implementations§
Source§impl Clone for CommandExecuteData
impl Clone for CommandExecuteData
Source§fn clone(&self) -> CommandExecuteData
fn clone(&self) -> CommandExecuteData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandExecuteData
impl Debug for CommandExecuteData
Source§impl<'de> Deserialize<'de> for CommandExecuteData
impl<'de> Deserialize<'de> for CommandExecuteData
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 CommandExecuteData
impl RefUnwindSafe for CommandExecuteData
impl Send for CommandExecuteData
impl Sync for CommandExecuteData
impl Unpin for CommandExecuteData
impl UnsafeUnpin for CommandExecuteData
impl UnwindSafe for CommandExecuteData
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