pub struct LaunchRequestArguments {
pub no_debug: Option<bool>,
pub restart_data: Option<Value>,
pub additional_data: Option<Value>,
}Expand description
Arguments for a Launch request.
Fields§
§no_debug: Option<bool>If true, the launch request should launch the program without enabling debugging.
restart_data: Option<Value>Arbitrary data from the previous, restarted session.
The data is sent as the restart attribute of the terminated event.
The client should leave the data intact.
Rust-specific: this data must be a string. Server requiring storing binary data should use an encoding that is suitable for string (e.g. base85 or similar).
additional_data: Option<Value>The request may include additional implementation specific attributes.
Trait Implementations§
Source§impl Clone for LaunchRequestArguments
impl Clone for LaunchRequestArguments
Source§fn clone(&self) -> LaunchRequestArguments
fn clone(&self) -> LaunchRequestArguments
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 LaunchRequestArguments
impl Debug for LaunchRequestArguments
Source§impl Default for LaunchRequestArguments
impl Default for LaunchRequestArguments
Source§fn default() -> LaunchRequestArguments
fn default() -> LaunchRequestArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LaunchRequestArguments
impl<'de> Deserialize<'de> for LaunchRequestArguments
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 LaunchRequestArguments
impl RefUnwindSafe for LaunchRequestArguments
impl Send for LaunchRequestArguments
impl Sync for LaunchRequestArguments
impl Unpin for LaunchRequestArguments
impl UnsafeUnpin for LaunchRequestArguments
impl UnwindSafe for LaunchRequestArguments
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