SetOwnerBuilder

Trait SetOwnerBuilder 

Source
pub trait SetOwnerBuilder: CanAddOwner {
    // Provided method
    fn owner_non_fungible_badge(
        self,
        owner_badge: NonFungibleGlobalId,
    ) -> Self::OutputBuilder { ... }
}

Provided Methods§

Source

fn owner_non_fungible_badge( self, owner_badge: NonFungibleGlobalId, ) -> Self::OutputBuilder

Sets the owner badge to be the given non-fungible.

The owner badge is given starting permissions to update the metadata/data associated with the resource, and to change any of the access rules after creation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<B: CanAddOwner> SetOwnerBuilder for B