referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::token::tokens::asset_ops

Trait InspectStrategy

pub trait InspectStrategy {
    type Value;
}
Expand description

A strategy for use in the Inspect implementations.

The common inspect strategies are:

Required Associated Types§

type Value

The value representing the asset’s state related to this InspectStrategy.

Implementors§

§

impl<AccountId> InspectStrategy for Admin<AccountId>

§

type Value = AccountId

§

impl<AccountId> InspectStrategy for Owner<AccountId>

§

type Value = AccountId

§

impl<Condition> InspectStrategy for CanCreate<Condition>

§

type Value = bool

§

impl<Condition> InspectStrategy for CanDestroy<Condition>

§

type Value = bool

§

impl<Flavor> InspectStrategy for CanUpdate<Flavor>

§

type Value = bool

§

impl<Request> InspectStrategy for Bytes<Request>

§

type Value = Vec<u8>

§

impl<WitnessData> InspectStrategy for Witness<WitnessData>

§

type Value = WitnessData