pub struct TransferMessage {
pub common_msg_info: CommonMsgInfo,
pub state_init: Option<ArcCell>,
pub data: Option<ArcCell>,
}
Fields§
§common_msg_info: CommonMsgInfo
§state_init: Option<ArcCell>
§data: Option<ArcCell>
Implementations§
Source§impl TransferMessage
impl TransferMessage
pub fn new(common_msg_info: CommonMsgInfo) -> Self
pub fn with_state_init(&mut self, state_init: Cell) -> &mut Self
pub fn with_state_init_ref(&mut self, state_init: &ArcCell) -> &mut Self
pub fn with_data(&mut self, data: ArcCell) -> &mut Self
Trait Implementations§
Source§impl Clone for TransferMessage
impl Clone for TransferMessage
Source§fn clone(&self) -> TransferMessage
fn clone(&self) -> TransferMessage
Returns a copy 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 TransferMessage
impl Debug for TransferMessage
Source§impl PartialEq for TransferMessage
impl PartialEq for TransferMessage
Source§impl TonMessage for TransferMessage
impl TonMessage for TransferMessage
impl StructuralPartialEq for TransferMessage
Auto Trait Implementations§
impl Freeze for TransferMessage
impl RefUnwindSafe for TransferMessage
impl Send for TransferMessage
impl Sync for TransferMessage
impl Unpin for TransferMessage
impl UnwindSafe for TransferMessage
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