pub struct OpBuilder { /* private fields */ }
Implementations§
Source§impl OpBuilder
impl OpBuilder
pub fn new(contract_id: ContractId, call_id: CallId) -> Self
pub fn add_global( self, name: impl Into<StateName>, data: StrictVal, raw: Option<StrictVal>, api: &Api, sys: &TypeSystem, ) -> Self
pub fn add_owned( self, name: impl Into<StateName>, auth: AuthToken, data: StrictVal, lock: Option<CellLock>, api: &Api, sys: &TypeSystem, ) -> 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§
Auto Trait Implementations§
impl Freeze for OpBuilder
impl RefUnwindSafe for OpBuilder
impl Send for OpBuilder
impl Sync for OpBuilder
impl Unpin for OpBuilder
impl UnwindSafe for OpBuilder
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