pub struct ShellExecuteUserRequestedRequest {
pub command: String,
pub request_id: RequestId,
}Expand description
User-requested shell command and cancellation handle.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§command: StringShell command to execute
request_id: RequestIdCaller-provided cancellation handle for this execution
Trait Implementations§
Source§impl Clone for ShellExecuteUserRequestedRequest
impl Clone for ShellExecuteUserRequestedRequest
Source§fn clone(&self) -> ShellExecuteUserRequestedRequest
fn clone(&self) -> ShellExecuteUserRequestedRequest
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 Default for ShellExecuteUserRequestedRequest
impl Default for ShellExecuteUserRequestedRequest
Source§fn default() -> ShellExecuteUserRequestedRequest
fn default() -> ShellExecuteUserRequestedRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellExecuteUserRequestedRequest
impl<'de> Deserialize<'de> for ShellExecuteUserRequestedRequest
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 ShellExecuteUserRequestedRequest
impl RefUnwindSafe for ShellExecuteUserRequestedRequest
impl Send for ShellExecuteUserRequestedRequest
impl Sync for ShellExecuteUserRequestedRequest
impl Unpin for ShellExecuteUserRequestedRequest
impl UnsafeUnpin for ShellExecuteUserRequestedRequest
impl UnwindSafe for ShellExecuteUserRequestedRequest
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