pub trait InspectEnumerable<AccountId>: Inspect<AccountId> {
    type ItemsIterator: Iterator<Item = Self::ItemId>;
    type OwnedIterator: Iterator<Item = Self::ItemId>;

    fn items() -> Self::ItemsIterator;
    fn owned(who: &AccountId) -> Self::OwnedIterator;
}
Expand description

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

Required Associated Types§

The iterator type for Self::items.

The iterator type for Self::owned.

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§