mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 15:07:59 +00:00
expose the fields of Dust type to public (#14388)
This commit is contained in:
@@ -109,7 +109,7 @@ pub trait Inspect<AccountId>: Sized {
|
||||
|
||||
/// Special dust type which can be type-safely converted into a `Credit`.
|
||||
#[must_use]
|
||||
pub struct Dust<A, T: Inspect<A>>(pub(crate) T::Balance);
|
||||
pub struct Dust<A, T: Inspect<A>>(pub T::Balance);
|
||||
|
||||
impl<A, T: Balanced<A>> Dust<A, T> {
|
||||
/// Convert `Dust` into an instance of `Credit`.
|
||||
|
||||
@@ -121,7 +121,7 @@ pub trait Inspect<AccountId>: Sized {
|
||||
|
||||
/// Special dust type which can be type-safely converted into a `Credit`.
|
||||
#[must_use]
|
||||
pub struct Dust<A, T: Unbalanced<A>>(pub(crate) T::AssetId, pub(crate) T::Balance);
|
||||
pub struct Dust<A, T: Unbalanced<A>>(pub T::AssetId, pub T::Balance);
|
||||
|
||||
impl<A, T: Balanced<A>> Dust<A, T> {
|
||||
/// Convert `Dust` into an instance of `Credit`.
|
||||
|
||||
Reference in New Issue
Block a user