pub struct JettonInternalTransferMsg {
pub query_id: u64,
pub amount: Coins,
pub from_address: MsgAddress,
pub response_address: MsgAddress,
pub forward_amount: Coins,
pub forward_payload: TLBEitherRef<TonCell>,
}Expand description
internal_transfer#178d4519 query_id:uint64 amount:(VarUInteger 16)
from:MsgAddress
response_address:MsgAddress
forward_ton_amount:(VarUInteger 16)
forward_payload:(Either Cell ^Cell)
= InternalMsgBody;Fields§
§query_id: u64§amount: Coins§from_address: MsgAddress§response_address: MsgAddress§forward_amount: Coins§forward_payload: TLBEitherRef<TonCell>Trait Implementations§
Source§impl Clone for JettonInternalTransferMsg
impl Clone for JettonInternalTransferMsg
Source§fn clone(&self) -> JettonInternalTransferMsg
fn clone(&self) -> JettonInternalTransferMsg
Returns a duplicate 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 JettonInternalTransferMsg
impl Debug for JettonInternalTransferMsg
Source§impl From<JettonInternalTransferMsg> for JettonWalletMsgBody
impl From<JettonInternalTransferMsg> for JettonWalletMsgBody
Source§fn from(v: JettonInternalTransferMsg) -> Self
fn from(v: JettonInternalTransferMsg) -> Self
Converts to this type from the input type.
Source§impl TLB for JettonInternalTransferMsg
impl TLB for JettonInternalTransferMsg
const PREFIX: TLBPrefix
Source§fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
read-write definition
https://docs.ton.org/v3/documentation/data-formats/tlb/tl-b-language#overview
must be implemented by all TLB objects
doesn’t include prefix handling
fn write_definition(&self, builder: &mut CellBuilder) -> Result<(), TLCoreError>
Source§fn read(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
fn read(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
interface - must be used by external code to read/write TLB objects
fn write(&self, builder: &mut CellBuilder) -> Result<(), TLCoreError>
fn cell_hash(&self) -> Result<TonHash, TLCoreError>
fn from_boc(boc: &[u8]) -> Result<Self, TLCoreError>
fn from_boc_hex(boc: &str) -> Result<Self, TLCoreError>
fn from_boc_b64(boc: &str) -> Result<Self, TLCoreError>
fn to_cell_ref(&self) -> Result<TonCellRef, TLCoreError>
fn to_boc(&self) -> Result<Vec<u8>, TLCoreError>
fn to_boc_hex(&self) -> Result<String, TLCoreError>
fn to_boc_base64(&self) -> Result<String, TLCoreError>
fn to_boc_extra(&self, add_crc32: bool) -> Result<Vec<u8>, TLCoreError>
fn to_boc_hex_extra(&self, add_crc32: bool) -> Result<String, TLCoreError>
fn to_boc_base64_extra(&self, add_crc32: bool) -> Result<String, TLCoreError>
Source§fn verify_prefix(reader: &mut CellParser<'_>) -> Result<(), TLCoreError>
fn verify_prefix(reader: &mut CellParser<'_>) -> Result<(), TLCoreError>
Helpers - mostly for internal use
fn write_prefix(builder: &mut CellBuilder) -> Result<(), TLCoreError>
fn cell_type(&self) -> CellType
impl StructuralPartialEq for JettonInternalTransferMsg
Auto Trait Implementations§
impl !Freeze for JettonInternalTransferMsg
impl RefUnwindSafe for JettonInternalTransferMsg
impl Send for JettonInternalTransferMsg
impl Sync for JettonInternalTransferMsg
impl Unpin for JettonInternalTransferMsg
impl UnsafeUnpin for JettonInternalTransferMsg
impl UnwindSafe for JettonInternalTransferMsg
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