pub struct MockCep78OperatorContractRef { /* private fields */ }Expand description
MockCep78Operator Contract Ref.
Implementations§
Source§impl MockCep78OperatorContractRef
impl MockCep78OperatorContractRef
pub fn set_address(&mut self, nft_contract: &Address)
pub fn mint(&mut self, token_metadata: String, is_reverse_lookup_enabled: bool)
pub fn mint_with_hash(&mut self, token_metadata: String, token_hash: String)
pub fn burn(&mut self, token_id: u64)
pub fn mint_for(&mut self, token_owner: Address, token_metadata: String)
pub fn transfer(&mut self, token_id: u64, target: Address)
pub fn transfer_from(&mut self, token_id: u64, source: Address, target: Address)
pub fn approve(&mut self, spender: Address, token_id: u64)
pub fn revoke(&mut self, token_id: u64)
Trait Implementations§
Source§impl SchemaEvents for MockCep78OperatorContractRef
impl SchemaEvents for MockCep78OperatorContractRef
Source§fn custom_types() -> Vec<Option<CustomType>>
fn custom_types() -> Vec<Option<CustomType>>
Returns a vector of CustomTypes. Read more
Auto Trait Implementations§
impl Freeze for MockCep78OperatorContractRef
impl !RefUnwindSafe for MockCep78OperatorContractRef
impl !Send for MockCep78OperatorContractRef
impl !Sync for MockCep78OperatorContractRef
impl Unpin for MockCep78OperatorContractRef
impl !UnwindSafe for MockCep78OperatorContractRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more