Skip to content

Commit 771fb3c

Browse files
committed
add asset id
1 parent 7410d1e commit 771fb3c

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
@@ -33,6 +33,11 @@ pub use crate::{
3333
symbol_state::SymbolState,
3434
};
3535

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

0 commit comments

Comments
 (0)