Skip to content
Snippets Groups Projects
Unverified Commit 6292542b authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

add serialize for ordered set (#177)

parent 3f43e6c1
No related branches found
No related tags found
No related merge requests found
use codec::{Decode, Encode};
#[cfg(feature = "std")]
use serde::{Deserialize, Serialize};
use sp_runtime::RuntimeDebug;
use sp_std::prelude::*;
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[derive(RuntimeDebug, PartialEq, Eq, Encode, Decode, Default)]
pub struct OrderedSet<T>(pub Vec<T>);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment