stable-structures icon indicating copy to clipboard operation
stable-structures copied to clipboard

derive macro for `Storable` and `BoundedStorable`

Open 0kenx opened this issue 2 years ago • 0 comments

It would be very useful to support the following:

#[derive(CandidType, Deserialize, Storable, BoundedStorable)]
struct UserProfile {
    token0_balance: u64,
    token1_balance: u64,
}

0kenx avatar Jun 21 '23 15:06 0kenx