pub struct TokenPropertiesResult {Show 13 fields
pub num_decimals: usize,
pub is_paused: bool,
pub can_upgrade: bool,
pub can_mint: bool,
pub can_burn: bool,
pub can_change_owner: bool,
pub can_pause: bool,
pub can_freeze: bool,
pub can_wipe: bool,
pub can_add_special_roles: bool,
pub can_transfer_nft_create_role: bool,
pub nft_create_stopped: bool,
pub num_wiped: usize,
}
Fields§
§num_decimals: usize
§is_paused: bool
§can_upgrade: bool
§can_mint: bool
§can_burn: bool
§can_change_owner: bool
§can_pause: bool
§can_freeze: bool
§can_wipe: bool
§can_add_special_roles: bool
§can_transfer_nft_create_role: bool
§nft_create_stopped: bool
§num_wiped: usize
Trait Implementations§
Source§impl Clone for TokenPropertiesResult
impl Clone for TokenPropertiesResult
Source§fn clone(&self) -> TokenPropertiesResult
fn clone(&self) -> TokenPropertiesResult
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TokenPropertiesResult
impl Debug for TokenPropertiesResult
Source§impl Default for TokenPropertiesResult
impl Default for TokenPropertiesResult
Source§fn default() -> TokenPropertiesResult
fn default() -> TokenPropertiesResult
Returns the “default value” for a type. Read more
Source§impl TopDecodeMulti for TokenPropertiesResult
impl TopDecodeMulti for TokenPropertiesResult
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<TokenPropertiesResult, <H as DecodeErrorHandler>::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
Auto Trait Implementations§
impl Freeze for TokenPropertiesResult
impl RefUnwindSafe for TokenPropertiesResult
impl Send for TokenPropertiesResult
impl Sync for TokenPropertiesResult
impl Unpin for TokenPropertiesResult
impl UnwindSafe for TokenPropertiesResult
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,
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 Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
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