pub struct NftReportStaticDataMessage {
pub query_id: u64,
pub index: BigUint,
pub collection: TonAddress,
}
Expand description
Creates a body for nft report_static_data according to TL-B schema:
report_static_data query_id:uint64 index:uint256 collection:MsgAddress = InternalMsgBody
Fields§
§query_id: u64
arbitrary request number.
index: BigUint
numerical index of this NFT in the collection, usually serial number of deployment.
collection: TonAddress
address of the smart contract of the collection to which this NFT belongs.
Implementations§
Source§impl NftReportStaticDataMessage
impl NftReportStaticDataMessage
pub fn new(index: BigUint, collection: TonAddress) -> Self
Trait Implementations§
Source§impl Clone for NftReportStaticDataMessage
impl Clone for NftReportStaticDataMessage
Source§fn clone(&self) -> NftReportStaticDataMessage
fn clone(&self) -> NftReportStaticDataMessage
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 NftReportStaticDataMessage
impl Debug for NftReportStaticDataMessage
Source§impl PartialEq for NftReportStaticDataMessage
impl PartialEq for NftReportStaticDataMessage
Source§fn eq(&self, other: &NftReportStaticDataMessage) -> bool
fn eq(&self, other: &NftReportStaticDataMessage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for NftReportStaticDataMessage
Auto Trait Implementations§
impl Freeze for NftReportStaticDataMessage
impl RefUnwindSafe for NftReportStaticDataMessage
impl Send for NftReportStaticDataMessage
impl Sync for NftReportStaticDataMessage
impl Unpin for NftReportStaticDataMessage
impl UnwindSafe for NftReportStaticDataMessage
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