pub struct ImtTokenId {
pub minter_id: AccountId,
pub token_id: String,
}Fields§
§minter_id: AccountId§token_id: StringImplementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for ImtTokenId
impl<'arbitrary> Arbitrary<'arbitrary> for ImtTokenId
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§impl BorshDeserialize for ImtTokenId
impl BorshDeserialize for ImtTokenId
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for ImtTokenId
impl BorshSerialize for ImtTokenId
Source§impl Clone for ImtTokenId
impl Clone for ImtTokenId
Source§fn clone(&self) -> ImtTokenId
fn clone(&self) -> ImtTokenId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImtTokenId
impl Debug for ImtTokenId
Source§impl Display for ImtTokenId
impl Display for ImtTokenId
Source§impl From<&ImtTokenId> for TokenIdType
impl From<&ImtTokenId> for TokenIdType
Source§fn from(_: &ImtTokenId) -> Self
fn from(_: &ImtTokenId) -> Self
Converts to this type from the input type.
Source§impl From<ImtTokenId> for TokenId
impl From<ImtTokenId> for TokenId
Source§fn from(value: ImtTokenId) -> Self
fn from(value: ImtTokenId) -> Self
Converts to this type from the input type.
Source§impl FromStr for ImtTokenId
impl FromStr for ImtTokenId
Source§impl Hash for ImtTokenId
impl Hash for ImtTokenId
Source§impl Ord for ImtTokenId
impl Ord for ImtTokenId
Source§fn cmp(&self, other: &ImtTokenId) -> Ordering
fn cmp(&self, other: &ImtTokenId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ImtTokenId
impl PartialEq for ImtTokenId
Source§impl PartialOrd for ImtTokenId
impl PartialOrd for ImtTokenId
impl Eq for ImtTokenId
impl StructuralPartialEq for ImtTokenId
Auto Trait Implementations§
impl Freeze for ImtTokenId
impl RefUnwindSafe for ImtTokenId
impl Send for ImtTokenId
impl Sync for ImtTokenId
impl Unpin for ImtTokenId
impl UnwindSafe for ImtTokenId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.