pub struct LaunchRequestArguments {
pub no_debug: bool,
pub restart: Option<Value>,
pub additional_attributes: Map<String, Value>,
/* private fields */
}
Fields§
§no_debug: bool
If noDebug is true the launch request should launch the program without enabling debugging.
restart: Option<Value>
Optional 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.
additional_attributes: Map<String, Value>
Additional attributes are implementation specific.
Implementations§
Source§impl LaunchRequestArguments
impl LaunchRequestArguments
Sourcepub fn builder() -> LaunchRequestArgumentsBuilder<((), (), ())>
pub fn builder() -> LaunchRequestArgumentsBuilder<((), (), ())>
Create a builder for building LaunchRequestArguments
.
On the builder, call .no_debug(...)
(optional), .restart(...)
(optional), .additional_attributes(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of LaunchRequestArguments
.
Trait Implementations§
Source§impl Clone for LaunchRequestArguments
impl Clone for LaunchRequestArguments
Source§fn clone(&self) -> LaunchRequestArguments
fn clone(&self) -> LaunchRequestArguments
Returns a copy 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<'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
Source§impl From<LaunchRequestArguments> for ProtocolMessageContent
impl From<LaunchRequestArguments> for ProtocolMessageContent
Source§fn from(args: LaunchRequestArguments) -> Self
fn from(args: LaunchRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<LaunchRequestArguments> for Request
impl From<LaunchRequestArguments> for Request
Source§fn from(args: LaunchRequestArguments) -> Self
fn from(args: LaunchRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LaunchRequestArguments
impl PartialEq for LaunchRequestArguments
Source§impl Serialize for LaunchRequestArguments
impl Serialize for LaunchRequestArguments
impl Eq for LaunchRequestArguments
impl StructuralPartialEq for LaunchRequestArguments
Auto Trait Implementations§
impl Freeze for LaunchRequestArguments
impl RefUnwindSafe for LaunchRequestArguments
impl Send for LaunchRequestArguments
impl Sync for LaunchRequestArguments
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.