pub struct Cw721Contract<'a, T, C, E, Q>where
    T: Serialize + DeserializeOwned + Clone,
    Q: CustomMsg,
    E: CustomMsg,
{ pub contract_info: Item<'a, ContractInfoResponse>, pub minter: Item<'a, Addr>, pub token_count: Item<'a, u64>, pub operators: Map<'a, (&'a Addr, &'a Addr), Expiration>, pub tokens: IndexedMap<'a, &'a str, TokenInfo<T>, TokenIndexes<'a, T>>, /* private fields */ }

Fields

contract_info: Item<'a, ContractInfoResponse>minter: Item<'a, Addr>token_count: Item<'a, u64>operators: Map<'a, (&'a Addr, &'a Addr), Expiration>

Stored as (granter, operator) giving operator full control over granter’s account

tokens: IndexedMap<'a, &'a str, TokenInfo<T>, TokenIndexes<'a, T>>

Implementations

returns true iff the sender can execute approve or reject on the contract

returns true iff the sender can transfer ownership of the token

Trait Implementations

operators returns all operators owner given access to

approvals returns all approvals owner given access to

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.