Type Alias hedera::TokenNftInfoQuery

source ·
pub type TokenNftInfoQuery = Query<TokenNftInfoQueryData>;
Expand description

Gets info on an NFT for a given TokenID and serial number.

Aliased Type§

struct TokenNftInfoQuery { /* private fields */ }

Implementations§

source§

impl TokenNftInfoQuery

source

pub fn get_nft_id(&self) -> Option<NftId>

Returns the ID of the NFT for which information is requested.

source

pub fn nft_id(&mut self, nft_id: impl Into<NftId>) -> &mut Self

Sets the ID of the NFT for which information is requested.