pub struct WriteSetChangeWriteModule {
pub address: String,
pub state_key_hash: String,
pub data: Box<MoveModuleBytecode>,
pub type: Type,
}Fields§
§address: StringA hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x. For example, address 0x0000000000000000000000000000000000000000000000000000000000000001 is represented as 0x1.
state_key_hash: StringState key hash
data: Box<MoveModuleBytecode>§type: TypeImplementations§
Source§impl WriteSetChangeWriteModule
impl WriteSetChangeWriteModule
pub fn new( address: String, state_key_hash: String, data: MoveModuleBytecode, type: Type, ) -> WriteSetChangeWriteModule
Trait Implementations§
Source§impl Clone for WriteSetChangeWriteModule
impl Clone for WriteSetChangeWriteModule
Source§fn clone(&self) -> WriteSetChangeWriteModule
fn clone(&self) -> WriteSetChangeWriteModule
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 WriteSetChangeWriteModule
impl Debug for WriteSetChangeWriteModule
Source§impl Default for WriteSetChangeWriteModule
impl Default for WriteSetChangeWriteModule
Source§fn default() -> WriteSetChangeWriteModule
fn default() -> WriteSetChangeWriteModule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteSetChangeWriteModule
impl<'de> Deserialize<'de> for WriteSetChangeWriteModule
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 WriteSetChangeWriteModule
impl PartialEq for WriteSetChangeWriteModule
Source§fn eq(&self, other: &WriteSetChangeWriteModule) -> bool
fn eq(&self, other: &WriteSetChangeWriteModule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteSetChangeWriteModule
Auto Trait Implementations§
impl Freeze for WriteSetChangeWriteModule
impl RefUnwindSafe for WriteSetChangeWriteModule
impl Send for WriteSetChangeWriteModule
impl Sync for WriteSetChangeWriteModule
impl Unpin for WriteSetChangeWriteModule
impl UnsafeUnpin for WriteSetChangeWriteModule
impl UnwindSafe for WriteSetChangeWriteModule
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