pub struct MoveModuleBytecode {
pub bytecode: String,
pub abi: Option<Box<MoveModule>>,
}Expand description
MoveModuleBytecode : Move module bytecode along with it’s ABI
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<MoveModule>>Implementations§
Source§impl MoveModuleBytecode
impl MoveModuleBytecode
Sourcepub fn new(bytecode: String) -> MoveModuleBytecode
pub fn new(bytecode: String) -> MoveModuleBytecode
Move module bytecode along with it’s ABI
Trait Implementations§
Source§impl Clone for MoveModuleBytecode
impl Clone for MoveModuleBytecode
Source§fn clone(&self) -> MoveModuleBytecode
fn clone(&self) -> MoveModuleBytecode
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 MoveModuleBytecode
impl Debug for MoveModuleBytecode
Source§impl Default for MoveModuleBytecode
impl Default for MoveModuleBytecode
Source§fn default() -> MoveModuleBytecode
fn default() -> MoveModuleBytecode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveModuleBytecode
impl<'de> Deserialize<'de> for MoveModuleBytecode
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 MoveModuleBytecode
impl PartialEq for MoveModuleBytecode
Source§fn eq(&self, other: &MoveModuleBytecode) -> bool
fn eq(&self, other: &MoveModuleBytecode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MoveModuleBytecode
impl Serialize for MoveModuleBytecode
impl StructuralPartialEq for MoveModuleBytecode
Auto Trait Implementations§
impl Freeze for MoveModuleBytecode
impl RefUnwindSafe for MoveModuleBytecode
impl Send for MoveModuleBytecode
impl Sync for MoveModuleBytecode
impl Unpin for MoveModuleBytecode
impl UnsafeUnpin for MoveModuleBytecode
impl UnwindSafe for MoveModuleBytecode
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