pub struct TokenPropertyArguments {
pub can_freeze: Option<bool>,
pub can_wipe: Option<bool>,
pub can_pause: Option<bool>,
pub can_transfer_create_role: Option<bool>,
pub can_mint: Option<bool>,
pub can_burn: Option<bool>,
pub can_change_owner: Option<bool>,
pub can_upgrade: Option<bool>,
pub can_add_special_roles: Option<bool>,
}
Expand description
Represents property arguments to be sent to the system SC.
Fields set to None will not be mentioned at all. When upgrading tokens, this means leaving the old value in place.
Fields§
§can_freeze: Option<bool>
§can_wipe: Option<bool>
§can_pause: Option<bool>
§can_transfer_create_role: Option<bool>
§can_mint: Option<bool>
§can_burn: Option<bool>
§can_change_owner: Option<bool>
§can_upgrade: Option<bool>
§can_add_special_roles: Option<bool>
Trait Implementations§
Source§impl Default for TokenPropertyArguments
impl Default for TokenPropertyArguments
Source§fn default() -> TokenPropertyArguments
fn default() -> TokenPropertyArguments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TokenPropertyArguments
impl RefUnwindSafe for TokenPropertyArguments
impl Send for TokenPropertyArguments
impl Sync for TokenPropertyArguments
impl Unpin for TokenPropertyArguments
impl UnwindSafe for TokenPropertyArguments
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