fix(codec): Make Int struct copy (#170)
This commit is contained in:
parent
bf2e8a7c88
commit
bfc46a7ccb
1 changed files with 3 additions and 1 deletions
|
|
@ -751,7 +751,9 @@ impl From<Bytes> for String {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Encode, Decode, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[derive(
|
||||
Serialize, Deserialize, Clone, Copy, Encode, Decode, Debug, PartialEq, Eq, PartialOrd, Ord,
|
||||
)]
|
||||
#[cbor(transparent)]
|
||||
#[serde(into = "i128")]
|
||||
#[serde(try_from = "i128")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue