#[non_exhaustive]pub struct LaunchContext {
pub invocation_id: Option<String>,
pub invocation_context: Option<String>,
}Expand description
InitializeResult.launchContext: the two launcher variables of the serve
process’s environment, verbatim, read once at process start; one value for
every connection and session the process hosts. Each member is null when
its variable is unset.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.invocation_id: Option<String>META_3PAI_INVOCATION_ID (required, nullable).
invocation_context: Option<String>META_3PAI_INVOCATION_CONTEXT (required, nullable).
Trait Implementations§
Source§impl Clone for LaunchContext
impl Clone for LaunchContext
Source§impl Debug for LaunchContext
impl Debug for LaunchContext
Source§impl<'de> Deserialize<'de> for LaunchContext
impl<'de> Deserialize<'de> for LaunchContext
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
impl Eq for LaunchContext
Source§impl PartialEq for LaunchContext
impl PartialEq for LaunchContext
Source§impl Serialize for LaunchContext
impl Serialize for LaunchContext
impl StructuralPartialEq for LaunchContext
Auto Trait Implementations§
impl Forget for LaunchContext
impl Freeze for LaunchContext
impl Move for LaunchContext
impl RefUnwindSafe for LaunchContext
impl Send for LaunchContext
impl Sync for LaunchContext
impl Unpin for LaunchContext
impl UnsafeUnpin for LaunchContext
impl UnwindSafe for LaunchContext
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