pub enum ScriptCall {}
Expand description
Structured representation of a call into a known Move script.
ⓘ
impl ScriptCall {
pub fn encode(self) -> Script { .. }
pub fn decode(&Script) -> Option<ScriptCall> { .. }
}
Trait Implementations§
source§impl Clone for ScriptCall
impl Clone for ScriptCall
source§fn clone(&self) -> ScriptCall
fn clone(&self) -> ScriptCall
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 ScriptCall
impl Debug for ScriptCall
source§impl PartialEq<ScriptCall> for ScriptCall
impl PartialEq<ScriptCall> for ScriptCall
source§fn eq(&self, other: &ScriptCall) -> bool
fn eq(&self, other: &ScriptCall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ScriptCall> for ScriptCall
impl PartialOrd<ScriptCall> for ScriptCall
source§fn partial_cmp(&self, other: &ScriptCall) -> Option<Ordering>
fn partial_cmp(&self, other: &ScriptCall) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more