summaryrefslogtreecommitdiff
path: root/systems/sheet/src/index_source.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-02-25 09:50:53 +0800
committer魏曹先生 <1992414357@qq.com>2026-02-25 09:50:53 +0800
commitb1509e9ecac1f28daefd7cb1078176d47d585252 (patch)
tree38398a783e79a1351cc06acadea2de64dfd969a5 /systems/sheet/src/index_source.rs
parentce7222fbde5b260508e350afd5f17b5e635ede76 (diff)
Add serde derive to sheet system structs
Diffstat (limited to 'systems/sheet/src/index_source.rs')
-rw-r--r--systems/sheet/src/index_source.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/systems/sheet/src/index_source.rs b/systems/sheet/src/index_source.rs
index a2fc43d..b22f5a6 100644
--- a/systems/sheet/src/index_source.rs
+++ b/systems/sheet/src/index_source.rs
@@ -1,6 +1,8 @@
+use serde::{Deserialize, Serialize};
+
/// IndexSource
/// Points to a unique resource address in Vault
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct IndexSource {
/// The index ID of the resource
id: u32,