pub struct WalletExtMsgBodyV4 {
pub subwallet_id: i32,
pub valid_until: u32,
pub msg_seqno: u32,
pub opcode: u32,
pub msgs_modes: Vec<u8>,
pub msgs: Vec<ArcCell>,
}Expand description
https://docs.ton.org/participate/wallets/contracts#wallet-v4 signature is not considered as part of msg body
Fields§
§subwallet_id: i32§valid_until: u32§msg_seqno: u32§opcode: u32§msgs_modes: Vec<u8>§msgs: Vec<ArcCell>Trait Implementations§
Source§impl Clone for WalletExtMsgBodyV4
impl Clone for WalletExtMsgBodyV4
Source§fn clone(&self) -> WalletExtMsgBodyV4
fn clone(&self) -> WalletExtMsgBodyV4
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 WalletExtMsgBodyV4
impl Debug for WalletExtMsgBodyV4
Source§impl PartialEq for WalletExtMsgBodyV4
impl PartialEq for WalletExtMsgBodyV4
Source§impl TLB for WalletExtMsgBodyV4
impl TLB for WalletExtMsgBodyV4
Source§fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TonCellError>
fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TonCellError>
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, dst: &mut CellBuilder) -> Result<(), TonCellError>
const PREFIX: TLBPrefix = TLBPrefix::NULL
fn read(parser: &mut CellParser<'_>) -> Result<Self, TonCellError>
fn write(&self, dst: &mut CellBuilder) -> Result<(), TonCellError>
fn from_boc(boc: &[u8]) -> Result<Self, TonCellError>
fn from_boc_hex(boc_hex: &str) -> Result<Self, TonCellError>
fn from_boc_b64(boc_b64: &str) -> Result<Self, TonCellError>
fn to_boc(&self, add_crc32: bool) -> Result<Vec<u8>, TonCellError>
fn to_boc_hex(&self, add_crc32: bool) -> Result<String, TonCellError>
fn to_boc_b64(&self, add_crc32: bool) -> Result<String, TonCellError>
Source§fn verify_prefix(parser: &mut CellParser<'_>) -> Result<(), TonCellError>
fn verify_prefix(parser: &mut CellParser<'_>) -> Result<(), TonCellError>
Helpers - for internal use
fn write_prefix(builder: &mut CellBuilder) -> Result<(), TonCellError>
impl StructuralPartialEq for WalletExtMsgBodyV4
Auto Trait Implementations§
impl Freeze for WalletExtMsgBodyV4
impl RefUnwindSafe for WalletExtMsgBodyV4
impl Send for WalletExtMsgBodyV4
impl Sync for WalletExtMsgBodyV4
impl Unpin for WalletExtMsgBodyV4
impl UnsafeUnpin for WalletExtMsgBodyV4
impl UnwindSafe for WalletExtMsgBodyV4
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