Skip to content

Commit a9c9b47

Browse files
committed
fix: add PartialEq to some types
1 parent 1c28088 commit a9c9b47

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

codetracer_trace_types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codetracer_trace_types"
3-
version = "0.16.0"
3+
version = "0.16.1"
44
edition = "2024"
55
authors = ["Metacraft Labs Ltd"]
66
description = "A library for the schema for the CodeTracer db trace format"

codetracer_trace_types/src/types.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ pub struct VariableRecord {
301301
pub value: ValueRecord,
302302
}
303303

304-
#[derive(Debug, Clone, Serialize, Deserialize)]
304+
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
305305
pub struct TypeRecord {
306306
pub kind: TypeKind,
307307
pub lang_type: String,
@@ -311,13 +311,13 @@ pub struct TypeRecord {
311311
pub specific_info: TypeSpecificInfo,
312312
}
313313

314-
#[derive(Debug, Clone, Serialize, Deserialize)]
314+
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
315315
pub struct FieldTypeRecord {
316316
pub name: String,
317317
pub type_id: TypeId,
318318
}
319319

320-
#[derive(Debug, Clone, Serialize, Deserialize)]
320+
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
321321
#[serde(tag = "kind")]
322322
pub enum TypeSpecificInfo {
323323
None,

0 commit comments

Comments
 (0)