Skip to content

Commit 51b0d50

Browse files
committed
add asset id
1 parent e95f035 commit 51b0d50

File tree

1 file changed

+5
-0
lines changed
  • lazer/sdk/rust/protocol/src

1 file changed

+5
-0
lines changed

lazer/sdk/rust/protocol/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ pub use crate::{
3434
symbol_state::SymbolState,
3535
};
3636

37+
#[derive(
38+
Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, From, Into,
39+
)]
40+
pub struct AssetId(pub u32);
41+
3742
#[derive(
3843
Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, From, Into,
3944
)]

0 commit comments

Comments
 (0)