pub struct ProveOwnershipMessage {
pub query_id: u64,
pub dest: TonAddress,
pub forward_payload: ArcCell,
pub with_content: bool,
}
Expand description
Creates a body for sbt prove according to TL-B schema:
prove_ownership#04ded148
query_id:uint64
dest:MsgAddress
forward_payload:^Cell
with_content:Bool
= InternalMsgBody;
Fields§
§query_id: u64
arbitrary request number.
dest: TonAddress
address of the contract to which the ownership of SBT should be proven.
forward_payload: ArcCell
arbitrary data required by target contract.
with_content: bool
if true, SBT’s content cell will be included in message to contract.
Implementations§
Source§impl ProveOwnershipMessage
impl ProveOwnershipMessage
pub fn new(dest: &TonAddress, with_content: bool) -> Self
Trait Implementations§
Source§impl Clone for ProveOwnershipMessage
impl Clone for ProveOwnershipMessage
Source§fn clone(&self) -> ProveOwnershipMessage
fn clone(&self) -> ProveOwnershipMessage
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 ProveOwnershipMessage
impl Debug for ProveOwnershipMessage
Source§impl HasOpcode for ProveOwnershipMessage
impl HasOpcode for ProveOwnershipMessage
Source§impl PartialEq for ProveOwnershipMessage
impl PartialEq for ProveOwnershipMessage
Source§impl TonMessage for ProveOwnershipMessage
impl TonMessage for ProveOwnershipMessage
Source§impl WithForwardPayload for ProveOwnershipMessage
impl WithForwardPayload for ProveOwnershipMessage
fn set_forward_payload( &mut self, forward_payload: ArcCell, _forward_ton_amount: BigUint, )
fn with_forward_payload( &mut self, forward_ton_amount: BigUint, forward_payload: ArcCell, ) -> &mut Self
impl StructuralPartialEq for ProveOwnershipMessage
Auto Trait Implementations§
impl Freeze for ProveOwnershipMessage
impl RefUnwindSafe for ProveOwnershipMessage
impl Send for ProveOwnershipMessage
impl Sync for ProveOwnershipMessage
impl Unpin for ProveOwnershipMessage
impl UnwindSafe for ProveOwnershipMessage
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