pub struct OpBuilderRef<'c> { /* private fields */ }
Implementations§
Source§impl<'c> OpBuilderRef<'c>
impl<'c> OpBuilderRef<'c>
pub fn new( api: &'c Api, contract_id: ContractId, call_id: CallId, sys: &'c TypeSystem, ) -> Self
pub fn add_global( self, name: impl Into<StateName>, data: StrictVal, raw: Option<StrictVal>, ) -> Self
pub fn add_owned( self, name: impl Into<StateName>, auth: AuthToken, data: StrictVal, lock: Option<CellLock>, ) -> Self
pub fn access(self, addr: CellAddr) -> Self
pub fn destroy(self, addr: CellAddr) -> Self
pub fn destroy_satisfy( self, addr: CellAddr, name: impl Into<StateName>, witness: StrictVal, api: &Api, sys: &TypeSystem, ) -> Self
pub fn finalize(self) -> Operation
Trait Implementations§
Source§impl<'c> Clone for OpBuilderRef<'c>
impl<'c> Clone for OpBuilderRef<'c>
Source§fn clone(&self) -> OpBuilderRef<'c>
fn clone(&self) -> OpBuilderRef<'c>
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 moreAuto Trait Implementations§
impl<'c> Freeze for OpBuilderRef<'c>
impl<'c> RefUnwindSafe for OpBuilderRef<'c>
impl<'c> Send for OpBuilderRef<'c>
impl<'c> Sync for OpBuilderRef<'c>
impl<'c> Unpin for OpBuilderRef<'c>
impl<'c> UnwindSafe for OpBuilderRef<'c>
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