pub struct Nep171TokenId {
pub contract_id: AccountId,
pub nft_token_id: TokenId,
}Fields§
§contract_id: AccountId§nft_token_id: TokenIdImplementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for Nep171TokenId
impl<'arbitrary> Arbitrary<'arbitrary> for Nep171TokenId
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 Nep171TokenId
impl BorshDeserialize for Nep171TokenId
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 Nep171TokenId
impl BorshSerialize for Nep171TokenId
Source§impl Clone for Nep171TokenId
impl Clone for Nep171TokenId
Source§fn clone(&self) -> Nep171TokenId
fn clone(&self) -> Nep171TokenId
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 Nep171TokenId
impl Debug for Nep171TokenId
Source§impl Display for Nep171TokenId
impl Display for Nep171TokenId
Source§impl From<&Nep171TokenId> for TokenIdType
impl From<&Nep171TokenId> for TokenIdType
Source§fn from(_: &Nep171TokenId) -> Self
fn from(_: &Nep171TokenId) -> Self
Converts to this type from the input type.
Source§impl From<Nep171TokenId> for TokenId
impl From<Nep171TokenId> for TokenId
Source§fn from(value: Nep171TokenId) -> Self
fn from(value: Nep171TokenId) -> Self
Converts to this type from the input type.
Source§impl FromStr for Nep171TokenId
impl FromStr for Nep171TokenId
Source§impl Hash for Nep171TokenId
impl Hash for Nep171TokenId
Source§impl Ord for Nep171TokenId
impl Ord for Nep171TokenId
Source§fn cmp(&self, other: &Nep171TokenId) -> Ordering
fn cmp(&self, other: &Nep171TokenId) -> 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 Nep171TokenId
impl PartialEq for Nep171TokenId
Source§impl PartialOrd for Nep171TokenId
impl PartialOrd for Nep171TokenId
impl Eq for Nep171TokenId
impl StructuralPartialEq for Nep171TokenId
Auto Trait Implementations§
impl Freeze for Nep171TokenId
impl RefUnwindSafe for Nep171TokenId
impl Send for Nep171TokenId
impl Sync for Nep171TokenId
impl Unpin for Nep171TokenId
impl UnwindSafe for Nep171TokenId
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.