pub struct CollectionConfig {
pub mutable_description: bool,
pub mutable_royalty: bool,
pub mutable_uri: bool,
pub mutable_token_description: bool,
pub mutable_token_name: bool,
pub mutable_token_properties: bool,
pub mutable_token_uri: bool,
pub tokens_burnable_by_creator: bool,
pub tokens_freezable_by_creator: bool,
}Expand description
Mutability and permission configuration for
InputEntryFunctionData::create_collection.
Default enables every mutability flag and both burn/freeze permissions,
matching the most permissive collection configuration. Set individual fields
to false to lock down a collection.
Fields§
§mutable_description: boolWhether the collection description can be changed later.
mutable_royalty: boolWhether the collection royalty can be changed later.
mutable_uri: boolWhether the collection URI can be changed later.
mutable_token_description: boolWhether token descriptions can be changed later.
mutable_token_name: boolWhether token names can be changed later.
mutable_token_properties: boolWhether token properties can be changed later.
mutable_token_uri: boolWhether token URIs can be changed later.
tokens_burnable_by_creator: boolWhether the creator may burn tokens in this collection.
tokens_freezable_by_creator: boolWhether the creator may freeze token transfers in this collection.
Trait Implementations§
Source§impl Clone for CollectionConfig
impl Clone for CollectionConfig
Source§fn clone(&self) -> CollectionConfig
fn clone(&self) -> CollectionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CollectionConfig
Source§impl Debug for CollectionConfig
impl Debug for CollectionConfig
Source§impl Default for CollectionConfig
impl Default for CollectionConfig
impl Eq for CollectionConfig
Source§impl PartialEq for CollectionConfig
impl PartialEq for CollectionConfig
impl StructuralPartialEq for CollectionConfig
Auto Trait Implementations§
impl Freeze for CollectionConfig
impl RefUnwindSafe for CollectionConfig
impl Send for CollectionConfig
impl Sync for CollectionConfig
impl Unpin for CollectionConfig
impl UnsafeUnpin for CollectionConfig
impl UnwindSafe for CollectionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.