Enum sway_types::Context [−][src]
pub enum Context {
CallFrame(CallFrame),
TransactionScript(TransactionScript),
}
Variants
CallFrame(CallFrame)
Tuple Fields
0: CallFrame
TransactionScript(TransactionScript)
Tuple Fields
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Context
impl UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more