difftreelog
fix EquippableList default
in: master
1 file changed
primitives/data-structs/src/rmrk.rsdiffbeforeafterboth1use codec::{Decode, Encode, MaxEncodedLen};1use codec::{Decode, Encode, MaxEncodedLen};2use scale_info::TypeInfo;2use scale_info::TypeInfo;334use derivative::Derivative;455#[cfg(feature = "std")]6#[cfg(feature = "std")]6use serde::Serialize;7use serde::Serialize;360}361}361362362#[cfg_attr(feature = "std", derive(Serialize))]363#[cfg_attr(feature = "std", derive(Serialize))]363#[derive(Encode, Decode, Debug, Default, TypeInfo, Clone, PartialEq, Eq, MaxEncodedLen)]364#[derive(Encode, Decode, Debug, Derivative, TypeInfo, Clone, PartialEq, Eq, MaxEncodedLen)]364#[cfg_attr(365#[cfg_attr(365 feature = "std",366 feature = "std",366 serde(bound = "BoundedCollectionList: AsRef<[CollectionId]>")367 serde(bound = "BoundedCollectionList: AsRef<[CollectionId]>")367)]368)]369#[derivative(Default(bound=""))]368pub enum EquippableList<BoundedCollectionList> {370pub enum EquippableList<BoundedCollectionList> {369 All,371 All,372370 #[default] Empty,373 #[derivative(Default)]374 Empty,375371 Custom(376 Custom(