Skip to content

Commit f9e3a2c

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)