types: make some fields optional as in spec

pull/574/head
Dmitry Sharshakov 3 years ago
parent e529f4eb21
commit b5b79e3656
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -634,14 +634,14 @@ pub mod events {
pub name: String, pub name: String,
pub system_process_id: Option<usize>, pub system_process_id: Option<usize>,
pub is_local_process: Option<bool>, pub is_local_process: Option<bool>,
pub start_method: String, // TODO: use enum pub start_method: Option<String>, // TODO: use enum
pub pointer_size: Option<usize>, pub pointer_size: Option<usize>,
} }
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct Capabilities { pub struct Capabilities {
pub module: super::DebuggerCapabilities, pub capabilities: super::DebuggerCapabilities,
} }
// #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] // #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]

Loading…
Cancel
Save