WithForwardPayload

Trait WithForwardPayload 

Source
pub trait WithForwardPayload: TonMessage {
    // Required method
    fn set_forward_payload(
        &mut self,
        forward_payload: ArcCell,
        forward_ton_amount: BigUint,
    );

    // Provided method
    fn with_forward_payload(
        &mut self,
        forward_ton_amount: BigUint,
        forward_payload: ArcCell,
    ) -> &mut Self { ... }
}

Required Methods§

Source

fn set_forward_payload( &mut self, forward_payload: ArcCell, forward_ton_amount: BigUint, )

Provided Methods§

Source

fn with_forward_payload( &mut self, forward_ton_amount: BigUint, forward_payload: ArcCell, ) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§