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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more