pub struct MoveScriptBytecode {
pub bytecode: String,
pub abi: Option<Box<MoveFunction>>,
}Expand description
MoveScriptBytecode : Move script bytecode
Fields§
§bytecode: StringAll bytes (Vec0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.
abi: Option<Box<MoveFunction>>Implementations§
Source§impl MoveScriptBytecode
impl MoveScriptBytecode
Sourcepub fn new(bytecode: String) -> MoveScriptBytecode
pub fn new(bytecode: String) -> MoveScriptBytecode
Move script bytecode
Trait Implementations§
Source§impl Clone for MoveScriptBytecode
impl Clone for MoveScriptBytecode
Source§fn clone(&self) -> MoveScriptBytecode
fn clone(&self) -> MoveScriptBytecode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MoveScriptBytecode
impl Debug for MoveScriptBytecode
Source§impl Default for MoveScriptBytecode
impl Default for MoveScriptBytecode
Source§fn default() -> MoveScriptBytecode
fn default() -> MoveScriptBytecode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveScriptBytecode
impl<'de> Deserialize<'de> for MoveScriptBytecode
Source§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
Source§impl PartialEq for MoveScriptBytecode
impl PartialEq for MoveScriptBytecode
Source§fn eq(&self, other: &MoveScriptBytecode) -> bool
fn eq(&self, other: &MoveScriptBytecode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MoveScriptBytecode
impl Serialize for MoveScriptBytecode
impl StructuralPartialEq for MoveScriptBytecode
Auto Trait Implementations§
impl Freeze for MoveScriptBytecode
impl RefUnwindSafe for MoveScriptBytecode
impl Send for MoveScriptBytecode
impl Sync for MoveScriptBytecode
impl Unpin for MoveScriptBytecode
impl UnsafeUnpin for MoveScriptBytecode
impl UnwindSafe for MoveScriptBytecode
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