mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
types: make some fields optional as in spec
This commit is contained in:
parent
e529f4eb21
commit
b5b79e3656
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue