pub trait InspectEnumerable<AccountId>: Inspect<AccountId> {
    fn items() -> Box<dyn Iterator<Item = Self::ItemId>>;
    fn owned(who: &AccountId) -> Box<dyn Iterator<Item = Self::ItemId>>;
}
Expand description

Interface for enumerating items in existence or owned by a given account over a collection of NFTs.

Required Methods§

Returns an iterator of the items within a collection in existence.

Returns an iterator of the items of all collections owned by who.

Implementors§