Skip to content

Commit

Permalink
fix: add missing derives
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Mar 7, 2024
1 parent 939a1a4 commit 3f244cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pop-api/src/v0/nfts.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use super::RuntimeCall;
use crate::{PopApiError::UnknownStatusCode, *};
use ink::prelude::vec::Vec;
use primitives::{ApprovalsLimit, BoundedBTreeMap, CollectionId, ItemId, KeyLimit, MultiAddress};
use primitives::{ApprovalsLimit, BoundedBTreeMap, KeyLimit, MultiAddress};
pub use primitives::{CollectionId, ItemId};
use scale::Encode;
pub use types::*;

Expand Down Expand Up @@ -675,7 +676,7 @@ mod types {
}

/// Information about a collection.
#[derive(Decode)]
#[derive(Decode, Debug, Encode, Eq, PartialEq)]
pub struct CollectionDetails {
/// Collection's owner.
pub owner: AccountId,
Expand Down Expand Up @@ -715,7 +716,7 @@ mod types {
}

/// Information concerning the ownership of a single unique item.
#[derive(Decode)]
#[derive(Decode, Debug, Encode, Eq, PartialEq)]
pub struct ItemDetails {
/// The owner of this item.
pub owner: AccountId,
Expand Down

0 comments on commit 3f244cf

Please sign in to comment.