pub enum OutAction {
SendMsg {
mode: SendMsgFlags,
out_msg: Lazy<OwnedRelaxedMessage>,
},
SetCode {
new_code: Cell,
},
ReserveCurrency {
mode: ReserveCurrencyFlags,
value: CurrencyCollection,
},
ChangeLibrary {
mode: ChangeLibraryMode,
lib: LibRef,
},
CopyLeft {
license: u8,
address: HashBytes,
},
}Expand description
Output action.
Variants§
SendMsg
Sends a raw message contained in cell.
SetCode
Creates an output action that would change this smart contract code to that given by cell.
ReserveCurrency
Creates an output action which would reserve exactly some balance.
ChangeLibrary
Creates an output action that would modify the collection of this smart contract libraries by adding or removing library with code given in cell.
CopyLeft
Copyleft action.
Trait Implementations§
Source§impl Store for OutAction
impl Store for OutAction
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Auto Trait Implementations§
impl Freeze for OutAction
impl !RefUnwindSafe for OutAction
impl Send for OutAction
impl Sync for OutAction
impl Unpin for OutAction
impl !UnwindSafe for OutAction
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