mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 16:47:57 +00:00
remove Default from AssetId trait bound (#9062)
* update AssetId trait * try again
This commit is contained in:
@@ -161,8 +161,8 @@ impl WithdrawReasons {
|
||||
}
|
||||
|
||||
/// Simple amalgamation trait to collect together properties for an AssetId under one roof.
|
||||
pub trait AssetId: FullCodec + Copy + Default + Eq + PartialEq + Debug {}
|
||||
impl<T: FullCodec + Copy + Default + Eq + PartialEq + Debug> AssetId for T {}
|
||||
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug {}
|
||||
impl<T: FullCodec + Copy + Eq + PartialEq + Debug> AssetId for T {}
|
||||
|
||||
/// Simple amalgamation trait to collect together properties for a Balance under one roof.
|
||||
pub trait Balance: AtLeast32BitUnsigned + FullCodec + Copy + Default + Debug {}
|
||||
|
||||
Reference in New Issue
Block a user