ton_lib 0.0.38

A collection of types and utilities for interacting with the TON network
use ton_lib_core::TLBDerive;

/// ```raw
/// get_static_data#2fcb26a2
///   query_id:uint64
/// = InternalMsgBody;
/// ```
#[derive(Clone, Debug, PartialEq, TLBDerive)]
#[tlb_derive(prefix = 0x2fcb26a2, bits_len = 32, ensure_empty = true)]
pub struct NftGetStaticDataMsg {
    pub query_id: u64,
}

impl Default for NftGetStaticDataMsg {
    fn default() -> Self { Self::new(0) }
}

impl NftGetStaticDataMsg {
    pub fn new(query_id: u64) -> Self { NftGetStaticDataMsg { query_id } }
}