git.delta.rocks / unique-network / refs/commits / 613cf3957190

difftreelog

fix CreateCollectionData Default bound

Yaroslav Bolyukin2022-02-10parent: #e3f5fcb.patch.diff
in: master

1 file changed

modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
265265
266#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, Debug, Derivative, MaxEncodedLen)]266#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, Debug, Derivative, MaxEncodedLen)]
267#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]267#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
268#[derivative(Default)]268#[derivative(Default(bound = ""))]
269pub struct CreateCollectionData<AccountId> {269pub struct CreateCollectionData<AccountId> {
270 #[derivative(Default(value = "CollectionMode::NFT"))]270 #[derivative(Default(value = "CollectionMode::NFT"))]
271 pub mode: CollectionMode,271 pub mode: CollectionMode,