pub struct NftTxData {
pub collection_id: [u8; 32],
pub token_id: u64,
pub operation: NftOperation,
pub data: Vec<u8>,
}Expand description
NFT-specific transaction data
Fields§
§collection_id: [u8; 32]Collection ID (32 bytes)
token_id: u64Token ID (0 for collection-level operations)
operation: NftOperationNFT operation code
data: Vec<u8>Operation-specific data (serialized)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NftTxData
impl<'de> Deserialize<'de> for NftTxData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NftTxData
impl StructuralPartialEq for NftTxData
Auto Trait Implementations§
impl Freeze for NftTxData
impl RefUnwindSafe for NftTxData
impl Send for NftTxData
impl Sync for NftTxData
impl Unpin for NftTxData
impl UnsafeUnpin for NftTxData
impl UnwindSafe for NftTxData
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