Expand description
Data type used for defining the contents for a new non-fungible token.
Fields
data: String
An additional chunk of data of the non-fungible token’s contents.
encoding: Encoding
The encoding of the contents data chunk.
Trait Implementations
sourceimpl Clone for NewNonFungibleTokenContents
impl Clone for NewNonFungibleTokenContents
sourcefn clone(&self) -> NewNonFungibleTokenContents
fn clone(&self) -> NewNonFungibleTokenContents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NewNonFungibleTokenContents
impl Debug for NewNonFungibleTokenContents
sourceimpl PartialEq<NewNonFungibleTokenContents> for NewNonFungibleTokenContents
impl PartialEq<NewNonFungibleTokenContents> for NewNonFungibleTokenContents
sourcefn eq(&self, other: &NewNonFungibleTokenContents) -> bool
fn eq(&self, other: &NewNonFungibleTokenContents) -> bool
impl Eq for NewNonFungibleTokenContents
impl StructuralEq for NewNonFungibleTokenContents
impl StructuralPartialEq for NewNonFungibleTokenContents
Auto Trait Implementations
impl RefUnwindSafe for NewNonFungibleTokenContents
impl Send for NewNonFungibleTokenContents
impl Sync for NewNonFungibleTokenContents
impl Unpin for NewNonFungibleTokenContents
impl UnwindSafe for NewNonFungibleTokenContents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.