mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
pallet macro: always generate storage info on pallet struct (#9246)
* always implement storage info on Pallet * fix UI test * Fold span computation into trait and method computation Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f93074d086
commit
f96c5df754
@@ -74,3 +74,11 @@ impl StorageInfoTrait for Tuple {
|
||||
res
|
||||
}
|
||||
}
|
||||
|
||||
/// Similar to [`StorageInfoTrait`], a trait to give partial information about storage.
|
||||
///
|
||||
/// This is useful when a type can give some partial information with its generic parameter doesn't
|
||||
/// implement some bounds.
|
||||
pub trait PartialStorageInfoTrait {
|
||||
fn partial_storage_info() -> Vec<StorageInfo>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user